remove spam before forwarding

From: Euroka (no email)
Date: Wed Mar 19 2008 - 07:04:54 EDT

  • Next message: Bhagwant Singh: "regsrding new mail.log"

    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 gets
    forwarded to an exchange server at

    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=<>,[], delay=0, status=deferred
    (host[] 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

    * ^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

  • Next message: Bhagwant Singh: "regsrding new mail.log"

    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs

    Powered By FreeBSD   Powered By FreeBSD