spamassassin-users December 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Spamassassin Moves Mailbox

Re: Spamassassin Moves Mailbox

From: jdow <jdow_at_nospam>
Date: Wed Dec 21 2011 - 05:39:07 GMT
To: users@spamassassin.apache.org

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: postmaster@badguy.badplace.bad
/dev/null

:0
/$HOME/mail/inbox

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.

{^_^}