This is my scenario:
---------------------------------------------------------(LAN) | | | DNS PROXY-SMTP(TIS) EXCHANGE SERVER 172.16.1.246 172.16.1.247 172.16.1.219
Netperm-table configuration
# Example smap rules: # ------------------- smap, smapd: userid 8 smap, smapd: directory /var/spool/smap smapd: executable /usr/local/fwtk/smapd smapd: logfile /var/log/smapd smapd: sendmail /usr/lib/sendmail smapd: baddir /var/spool/smap/bad smap: logfile /var/log/tismail smap: maxrecip 4000 smap: maxbytes 1048576 smap: timeout 3600
DNS configuration ---------------------
@ IN SOA sdns.iapser.linux. hostmaster.sdns.iapser.linux. ( 29122002 86400 3600 3600000
86400 )
IN NS sdns.iapser.linux. IN MX 5 ssmtp.iapser.linux.
localhost IN A 127.0.0.1
sdns IN A 172.16.1.246 IN MX 5 sdns.iapser.linux. dns IN CNAME sdns.iapser.linux.
ssmtp IN A 172.16.1.247
servige2 IN A 172.16.1.219 IN MX 5 servige2.iapser.linux. exchange IN CNAME servige2.iapser.linux.
www IN CNAME iapser.linux. ;
mail test ------------
mail.txt=
To: florenzon@ssmtp.iapser.linux ^^^^^^^^^^^^^^^^^^^^^ From: florenzon@sdns.iapser.linux Subject: Test
Mail test Problem: -------- SMAP its working, but sendmail not delivery mail to EXCHANGE SERVER, always delivery to locahost, anyone is the addressee's domain. It looks to me as if you send e-mail to someone whose account exists on a certain host (ssmtp.iapser.linux), and of course then the mail is delivered to
Hi, that host and not to another one (the Exchange server). Your zone file looks very confusing to me, some things seem not to be okay. And if you send test e-mails, you never should do that as root, because for this special user sendmail normally uses the FQDN after the @ sign and not just only the domain name. Bye Uli -- Ulrich Roth IMPACT Business & Technology Consulting GmbH Im Mediapark 8 / KölnTurm D-50670 Koeln Phone +49-221-93 70 80-29 Fax +49-221-93 70 80-15 E-Mail: roth@impact.de