drnoelkelly
November 23rd, 2005, 07:31 PM
Hi,
I have a Suse 9.1 server and a new Ubuntu 5.10 server. These are both SMTP relays.
The Suse machine has been running for a couple of years no problem using the /etc/mail/access file to control relaying. eg:
joe@good.com RELAY
ray@good.com RELAY
good.com 550 Sorry please call us on 123 for help
Using this same config on the new Ubuntu server I get a 'relaying denied' error for joe/ray.
If I change the ubuntu server's access.db to use this:
good.com RELAY
then it relays no problem BUT it relays everyhting for this domain (which I don't want - I get all the junk addressed to old/non-existant users).
I prove the access.db is up to date and being read like this:
echo '/map access joey@good.com' | sendmail -bt
which gives me:
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: access (joe@good.com) returns RELAY (0)
Does anyone have any ideas why the Ubuntu sendmail access setup seems to be different? Or why it does not follow the material at sendmail.org for the access.db usage? I have compared the config on both machines and to me they look identical.
MAny thanks for any insight,
Cheers
Noel
I have a Suse 9.1 server and a new Ubuntu 5.10 server. These are both SMTP relays.
The Suse machine has been running for a couple of years no problem using the /etc/mail/access file to control relaying. eg:
joe@good.com RELAY
ray@good.com RELAY
good.com 550 Sorry please call us on 123 for help
Using this same config on the new Ubuntu server I get a 'relaying denied' error for joe/ray.
If I change the ubuntu server's access.db to use this:
good.com RELAY
then it relays no problem BUT it relays everyhting for this domain (which I don't want - I get all the junk addressed to old/non-existant users).
I prove the access.db is up to date and being read like this:
echo '/map access joey@good.com' | sendmail -bt
which gives me:
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: access (joe@good.com) returns RELAY (0)
Does anyone have any ideas why the Ubuntu sendmail access setup seems to be different? Or why it does not follow the material at sendmail.org for the access.db usage? I have compared the config on both machines and to me they look identical.
MAny thanks for any insight,
Cheers
Noel