OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: 19991231 and transport map

19991231 and transport map


Subject: 19991231 and transport map
From: Giulio Orsero (giulioopobox.com)
Date: Sun Jan 02 2000 - 07:38:05 CST


linux 2.0.33, local dns, smtp is defer transport (dialup).

1) I have added in master.cf
lansmtp unix - - n - - smtp
smtp is deferred, lansmtp is not.
2) transport map
myhost lansmtp:[ip.address.of.myhost]

====Before 19991231:
I could send mail to usermyhost and mail would be delivered
immediately.

====After 19991231:
All settings are the same, but now postfix does a dns lookup for myhost
Jan 2 13:49:51 thehost postfix/smtp[1972]: lookup myhost type 15 flags
0
...
...
and delivers mail only after the dns timeout.

Note that I can do
nslookup myhost
just fine. But maybe the MX for myhost is not set correctly, but this
shouldn't be a problem since I use transport map.

I know you'll tell me:
A) "use disable_dns_lookup".
If I use that parameter mail for myhost is sent immediately.
But I cannot use it because, as before 19991231, if:
1) disable_dns_lookup is set
2) there is mail deferred for the internet
3) anyone does "sendmail -q" when the link is down
then all mail in the spool is bounced.

B) your local dns is broken
It's possible, but then why before 19991231 it worked?

I read the release notes but couldn't find a reason for this new
behavior. Suggestions?

Thanks.

-- 
giulioopobox.com



This archive was generated by hypermail 2b27 : Sun Jan 02 2000 - 08:03:04 CST