Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Wording fixups, including reversed sentence.

...

Wiki Markup
This simple setup will cause address rewriting both before and after the content filter. For most configurations this is not only unnecessary, but will cause duplicate mail to be delivered in configurations with virtual aliases of the form a \-> a,b will cause duplicate mail to be delivered. Virtual rewriting must be turned off either before or after the content filter. How this is done is, again, documented in thePostfix's \[http://www.postfix.org/FILTER_README.html FILTER_README file\] of your Postfixdoc.

Amavis configuration

Amavis is just used for spam detection, not virus protection. See the options below.

...

We only want spam protection and no virus scanning, so this will disable virus scanning for all
your domains.

  • $mailfrom_notify_spamadmin . . .
    Change
    "spam.police@$mydomain"; to "postmaster@domain1.com";

...

Here, remove the leading # symbol. (And make sure you have an emailbox a mailbox for this address on a destination server -
This is where you will review quarantined emails, and will forward on any "false positives" to the proper recipientrecipients.)
*Alternative:* Instead of delivering the spam to an emailbox a mailbox on the internal server, drop it into a folder right on the spamfilter. To do that, comment out the "spam_quarantine_to" line above that references the email address, and instead select and indicate a folder name for the value "spam_quarantine_to". (Read the comments in this area of amavisd.conf for more info.)

...