On 03/04/11 22:04, Alex wrote:
Hi all,

I've just installed a new server using fedora14 with spamassassin,
amavisd, postfix, and dovecot. I've configured it the same to the best
of my ability as an existing server currently in production that I
would like to replace with this new system. This is a significant
upgrade from the current system, so all software versions are
different.

How can I either use the existing system or emails stored on the
current system to test the new system before putting it into
production?

I'd like to make sure that amavis and spamassassin are configured
properly before switching the two systems and learning I've configured
something wrong and avoid it rejecting mail, marking it incorrectly,
or other possible configuration problems.

Any ideas greatly appreciated.
Thanks,
Alex



You can inject messages into postfix like so:

sendmail -i recipient < message.txt

both ham and spam, and observe (/var/log/maillog) if they are processed as expected. That should test your Postfix/Amavisd/SpamAssassin/Dovecot chain. Amavisd provides sample spam messages if you don't have any.



Reply via email to