-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 23 November 2003 16:58, Matthias F. Brandstetter wrote: > Hi all, > > I have the following configuration: > > Internet --> Linux firewall --> DNAT (25) --> MS Exchange server > > In words: All mails arriving on this domain are port forwarded via a Linux > iptables firewall to an Exchange server. Now I want to insert SpamAssassin > to this queue and thought of some kind of a SMTP mail proxy. > > I don't want to install a full mailserver, only a little tool which I can > use on the firewall to: > > 1.) receive the mail > 2.) queue it through SpamAssassin > 3.) forward filtered mail to the Exchange server > > nothing more. Do you know of such a tool? And if not and if I have to use a > full mailserver, which one should I use for that? Please remember, I > really want an easy setup here...
I do something like this. IPtables traps all outgoing SMTP traffic and redirects it to a local instance of qmail. It, along with qmail-scanner and f-prot/spamassassin check the message and relay it along. If anything was more than a no brainer it was the iptables setup ($IPT -t nat -A PREROUTING -i $LANIF -s ! ${ip} -p tcp --dport ${sprt} -j DNAT - --to-destination ${ip}:${dprt}) If you want all mail to be routed to a specific machine add :exchange.server in /var/qmail/control/smtproutes Or install webmin, it's qmail admin section is really good. - -- Mike Williams -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/wO3KInuLMrk7bIwRAu2AAJkBzrVIfR92ceGJ4ONxVs1fiz8oOQCfQwJ9 U4k+YnxZI8IwfjA7c6gisL4= =Z9on -----END PGP SIGNATURE----- -- [EMAIL PROTECTED] mailing list