on Sun, Dec 22, 2002 at 02:24:12PM +0000, bsamuels@beenthere-donethat.org.uk wrote:
xs@kittenz.org wrote:
it is hard to say. where does this error come from?
From the postfix log.
ah! for some reason postfix is trying to use dns instead of /etc/hosts.
adding "disable_dns_lookups = yes" to /etc/postfix/master.cf then reloading, i think, will fix this.
the down side is that all host lookups by postfix will avoid dns. but since you are using an smtp relay, this should not be a problem. if it is, then i think it should be possible to add a seperate intranet transport to the transport map that does not do dns lookups, but enable it for the rest.
I also have:
local_domains = localhost:mynetwork
What makes me think that the problem my be on machine1 is that if I try to send an email from machine1 (Exim) to a user on machine2 (Postfix), e.g. amanda@machine2.mynetwork, it fails. It actually sends it out to the Internet which, of course, fails. I don't know why it apparently ignores the local_domains setting.
it probably needs machine2.mynetwork too. but i think that only causes exim to think it is authoritative for machine2. you probably need something similar to postfix's transport map set up under exim.