xs@kittenz.org wrote:
What doesn't work is if I try to send an email from machine2 (Postfix)
out to the internet via machine1 (Exim). Is that likely to be a problem with the setup on machine2 or machine1?
it is hard to say. where does this error come from?
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.
xs@kittenz.org wrote:
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.
I'm now on Plan B.
I have dumped Exim having decided that, from my point of view, the documentation is generally unintelligable and installed Postfix on machine1 instead.
Most things now seem to work except for a few points.
At the moment I have Fetchmail pass the internet mail to Procmail for processing so that any of various addresses on my wife's mail is all put into the 'amanda' folder on machine1. I would like this now to go to the 'amanda' folder on machine2 but haven't managed to do this.
I would like all mail going out to the internet to have our own domain on it i.e. whoever@beenthere-donethat.org.uk but all local mail to have the local domain on it. At the moment all internal mail seems to be being sent to beenthere-donethat.org.uk which is not what I want.
I have looked through the Postfix documentation but don't understand enough of it yet to sort out these final problems.
But I do feel, at last, that I am slowly getting there.
Barry Samuels
Barry Samuels bsamuels@beenthere-donethat.org.uk wrote:
I have dumped Exim having decided that, from my point of view, the documentation is generally unintelligable and installed Postfix on
[...]
I have looked through the Postfix documentation but don't understand enough of it yet to sort out these final problems.
You sound as if you need an email terminology primer. Sadly, it seems that the ones I used when starting off 6 or 7 years ago have dropped off the network and I'm not terribly well placed to review them. I also had some gurus within shouting distance.
Can anyone recommend guides on the web? I'll take a look and praise/abuse the technical bits if no-one else does.
MJR