This article describes how to use MailScanner to add a disclaimer message to outgoing mails in Postfix. Make sure MailScanner is integrated into Postfix and tested to be working.

Inline Signature1. Edit the file /etc/MailScanner/reports/en/inline.sig.txt and /etc/MailScanner/reports/en/inline.sig.html and replace it with your own message.
MailScanner Config2. Edit the file /etc/MailScanner/MailScanner.conf and update the line below.
Sign Clean Messages = /etc/MailScanner/rules/signing.rules
3. Create the file /etc/MailScanner/rules/signing.rules and add the lines below.
From:      *@acme.local  yes
FromOrTo:  default       no
Replace acme.local with your own domain name.
CentOS 5 Service Configuration4. Restart the MailScanner service. Learn how to restart services.
SquirrelMail Message5. You should now see your disclaimer message on outbound emails.

Visit the forum to ask for help or to give a comment.

Posted on 5/16/2010 and last updated on 5/16/2010
Filed under MailScanner , Postfix