From: Euroka (no email)
Date: Wed Mar 19 2008 - 07:04:54 EDT
Hi all,
I have postfix (postfix-2.2.10-1.1.el4) with a couple of virtual hosts and a
/etc/postfix/virtual file with my users
.
some users prefer that mail from my postfix server mail.domain1.com gets
forwarded to an exchange server at mail.domain2.com
Now all users have a .procmailrc file in their home directory that moves al
tagged spam to /dev/null But users who also forward mail to domain2 still
get the full load of spam traffic to domain2.
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?
Biggest problem atm is that I see that all the spam traffic that gets
forwarded create too many connections and so things get into a loop...
Mar 18 14:52:14 SOKA2 postfix/smtp[23477]: 30B79A401A:
to=<>, orig_to=<>,
relay=mail2.domain2.be[193.181.138.107], delay=0, status=deferred
(host mail2.domain2.be[193.181.138.107] said: 452 Too many recipients
received this hour (in reply to RCPT TO command))
This is just for a couple of accounts, most accounts don't use or need
forwarding. somebody at the spamassassin list advised clamav-new for this
but 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, the idea is to remove it immediately
when it arrives on the first domain so it doesn't get forwarded to
somebody's email in /etc/postfix/virtual
|
|
|