I'm trying to setup two SME servers to 'handle' mail.
The first is on a public IP (DMZ) and will accept the mail for the domain, process it (SPAM and AV) and pass it on to the second mail server for delivery to the user Maildir.
The scanning on the first box is via spam assassin and clamav.
I assumed that the simplest way to achieve this is to adjust the /etc/amavis-ng/amavis.conf to deliver to SMTP instead of the default Qmail. (eg: output address = 192.168.1.254; output port = 25)
I have tried several changes but can't get past the first box accepting delivery to itself (Qmail spool and Maildir - instead of forwarding it to the second box via smtp).
Has anyone set up anything similar? or have any thoughts/suggestions on this?
Thanks
Klaus