2008/3/18, McDonald, Dan <[EMAIL PROTECTED]>:
>
>
> On Tue, 2008-03-18 at 12:33 +0100, Euroka wrote:
>
> > How can I remove all incoming spam directely instead of first
> > processing it via procmail, so domain2 doesn't get all the spam
> > traffic that arrived first at domain1?
>
>
> Use a product designed for a forwarding MTA like amavisd-new.  It will
> quarantine the spam and viruses and forward on all of the ham.


Thanks for the suggestion Dan but it's just for a couple of accounts, most
accounts don't use or need forwarding.
Is there any other way to move all incoming spam directely  to /dev/null

Now I have a .procmailrc in each $HOME with the following

MAILDIR=$HOME/Mail
LOGFILE=$HOME/Mail/log
:0:
* ^X-Spam-Status: Yes

But this only deletes it locally, so the spam is not deleted if it's being
forwarded to another email address

Reply via email to