|Main Archive Page > Month Archives > spamassassin-users archives|
On 2011/12/20 18:51, Kevin A. McGrail wrote:
>> My .procmailrc in my home directory has MAILDIR=/home/spool/mail :-)
> What about /etc/procmailrc?
> I would post the contents of both.
It makes a difference how procmail is called. It is a filter. It takes an
input and feeds it to the output. It would then be sendmail (or postfix or
whatever) that actually stuffs the mail into the mail folder where sendmail
thinks it should live.
This could be short circuited with these stanzas, for example.
* From: firstname.lastname@example.org
The 1st stanza discards obnoxious critters without recourse. They vanish
from the mail queue. The 2nd one sends all mail to /home/<user>/mail/inbox.