This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
amber_build [2011/08/10 16:53] SLUUG Administration [Mailman] |
amber_build [2014/06/19 16:41] SLUUG Administration [Postfix/Amavisd-new/Spamassassin/ClamAV/Postgrey] |
||
---|---|---|---|
Line 270: | Line 270: | ||
virtual_transport = virtual | virtual_transport = virtual | ||
</code> | </code> | ||
+ | |||
+ | Also in /etc/postfix/main.cf, add or uncomment line "recipient_delimiter = +". This specifies the separator between user names and address extensions (user+foo). | ||
+ | |||
+ | Also in /etc/postfix/main.cf, add "disable_vrfy_command=yes". Disable VRFY....From Jeff's presentation. | ||
Now, edit the mapping files. **IMPORTANT: These files contain database passwords! They need to be root:postfix 640!** | Now, edit the mapping files. **IMPORTANT: These files contain database passwords! They need to be root:postfix 640!** | ||
Line 342: | Line 346: | ||
* Uncomment $MYHOME,$helpers_home,$lock_file,$pid_file | * Uncomment $MYHOME,$helpers_home,$lock_file,$pid_file | ||
* Uncomment the clamav block in amavisd.conf. Make sure the path to the socket is /var/run/clamav/clamd.sock (must match the LocalSocket setting in clamd.conf) | * Uncomment the clamav block in amavisd.conf. Make sure the path to the socket is /var/run/clamav/clamd.sock (must match the LocalSocket setting in clamd.conf) | ||
+ | * Change setting $sa_tag_level_deflt to -9999 instead of 2.0. This means the SpamAssassin score headers are added to all mail. | ||
+ | * Uncomment the sample $final_spam_destiny line and change the value from D_PASS to D_DISCARD. Due to the default changing from bounce to pass. | ||
+ | * Try to be a little more lenient on mail relayed by our users. Add "spam_kill_level_maps => [10.0]," to the "$policy_bank{'ORIGINATING'}" section. | ||
Append the following to /etc/postfix/master.cf: | Append the following to /etc/postfix/master.cf: |