Gateway for all domain

Alessandro Lazzini alessandro.lazzini at CWNET.IT
Wed Jun 16 17:49:56 IST 2004


Hi all,
I would like make a email gateway total transparent for many smtp server.
my scenario is:
Internet-->ROUTER   - - - - - > SERVER1        (example 10.0.0.20)
                       | - - - - - - - - - > SERVER2        (example
10.0.0.21)
                       | - - - - - - - - - > SERVER3        (example
10.0.0.22)
                       | - - - - - - - - - > SERVER4        (example
10.0.0.23)
                       | - - - - - - - - - > MAILSCANNER (example 10.0.0.6)

My router redirect email traffic to mailscanner with iptables like this:
 iptables -t nat -A PREROUTING -p tcp -d 10.0.0.20/30 --dport 25 -i eth0 -j
DNAT --to-destination 10.0.0.6
 The problem of this scenario is update and know all domain for accept relay
in mailscanner gateway configuration.
Somebody know the way in sendmail configuration for relay all domain that
resolved his mx on ip address of smtp server?
Sorry for my bad english.

Regards,

A. Lazzini

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list