Before going live, the system should be tested. The machine should be rebooted, and Amavisd and Postfix should be running. This can be tested with the ps
command:
$ ps -ef | grep amavisd amavis 27549 1 0 Jul18 ? 00:00:01 amavisd (master) amavis 27554 27549 0 Jul18 ? 00:00:00 amavisd (virgin child) amavis 27555 27549 0 Jul18 ? 00:00:00 amavisd (virgin child) $ ps -ef | grep postfix root 6657 1 0 Jul18 ? 00:00:00 /usr/lib/postfix/master postfix 29918 6657 0 00:37 ? 00:00:00 pickup -l -t fifo -u postfix 29919 6657 0 00:37 ? 00:00:00 qmgr -l -t fifo -u root 30989 10059 0 01:16 pts/11 00:00:00 grep postfix
The standard SpamAssassin test emails should be sent to a test user:
$ cd /spamassassin-distribution-dir $ mail [email protected] < sample-nonspam.txt $ mail [email protected] < sample-spam.txt
The ham email should be delivered to the appropriate user on the original email server, and the spam email should be discarded or sent to the email address that was used when Amavisd-new was...