Postfix setup
Configuring Postfix to use Mail Avenger

To use the Mail Avenger SMTP daemon with Postfix, you simply need to comment out the following line in /etc/postfix/master.cf:

smtp     inet n      -      -      -      -      smtp
Then just run /usr/local/sbin/asmtpd at system startup.

To use avenger.local as your local delivery agent with Postfix, you must add or modify the following settings in /etc/postfix/main.cf:

recipient_delimiter = +
prepend_delivered_header = forward, file
mailbox_command = /usr/local/libexec/avenger.local
                  -D "$RECIPIENT" -d "$LOCAL"
To use procmail as your fallback delivery agent instead of the default mail.local, change the last line to:
mailbox_command = /usr/local/libexec/avenger.local
                  --fallback /usr/bin/procmail
                  -D "$RECIPIENT" -d "$LOCAL"

Thanks to Michael Kaminsky for this information.

<<< Back to Tips page