procmail
[Top] [All Lists]

Re: deferral: procmail:_Couldn't_create_"/var/spool/mail/j.smith"/

2002-08-03 08:45:07
On 2002-08-04 00:39:53, zenn wrote:
i'm on 3.22, do I need to edit the config.h to add qmail's maildir
support ?

I am sorry, but I do not know anything about qmail.  However, if you
pass mail to procmail, it can deliver to maildir for you, irregardless
of what your MDA is capable of.

regardless of weather i called the maildir correctly in the
/etc/procmailrc the error message claims it tried to deliver it to
"/var/spool/mail/j.smith"

Well, the format for maildir delivery in procmail is $dir/ with the
trailing '/' being significant.

what i want to do (and obviously dont know how) if forward the tagged
spam to a local .qmail-alias that forwards to an external account...

spamc is your filter, and your second rule dumps the mail in the
mailbox called "coughtspam".  If that is the alias you wanted to forward
the mail to, you should prefix it with a "!".


my /etc/promailrc
:0fw
| spamc -c -f

:0:
* ^X-Spam-Status: Yes
!coughtspam


my /var/qmail/rc
qmail-start "|preline procmail"

ok, still no luck...
    delivery 4: success:
procmail:_Lock_failure_on_"/var/spool/mail/j.smith.lock"/did_0+0+1/

does procmail understand qmail ./Maildir/ ?
by looking at the error, it's always trying to deliver to mbox stlye
mailbox's like sendmail..
is ther any way to change that so it delivers to ./Maildir/ ?


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail