SirCharles
Programmer
We recently changed thelocation of our GW relay servers. All email from my internal mail server (linux SLES8) is sent through the GW relay servers.
All messages get service unavailable error message, however from wrong server (ie. old ip). Our GW mail relay servers were moved, but the sendmail seems to still try and send to old ips for GW mail relay servers. I reset the ips in my server's /etc/hosts file, but relays still don't seem to go to the new ips.
Sendmail is still using a different ip for the relay than that specified in the hosts file.
We need to find how to get the sendmail daemon to relay to the new server -
ie. it's not using the entry in the hosts file to resolv to the correct relay server.
Specific error message from maillog:
May 25 09:36:39 fchportal sendmail[2633]: j4PFadf8002631: to=<
me@myorg.org >, ctladdr=< root@myserver.org > (0/0),
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120310,
relay=GWRELAY.org. [10.###.###.###], dsn=5.0.0, stat=Service unavailable
The 10.###.###.### is the ip of the old GW relay server.
How to get the sendmail daemon to send to the new GW relay?
Is this an internal, on my server, configuration?
Or does some kind of address translation need to occur on a conduit or router somewhere?
On one of my red hat boxes, all I had to do was change the ip address of the GW relay in my hosts file. This does not work with SLES8/sendmail.
Charlie
5/26/05
All messages get service unavailable error message, however from wrong server (ie. old ip). Our GW mail relay servers were moved, but the sendmail seems to still try and send to old ips for GW mail relay servers. I reset the ips in my server's /etc/hosts file, but relays still don't seem to go to the new ips.
Sendmail is still using a different ip for the relay than that specified in the hosts file.
We need to find how to get the sendmail daemon to relay to the new server -
ie. it's not using the entry in the hosts file to resolv to the correct relay server.
Specific error message from maillog:
May 25 09:36:39 fchportal sendmail[2633]: j4PFadf8002631: to=<
me@myorg.org >, ctladdr=< root@myserver.org > (0/0),
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120310,
relay=GWRELAY.org. [10.###.###.###], dsn=5.0.0, stat=Service unavailable
The 10.###.###.### is the ip of the old GW relay server.
How to get the sendmail daemon to send to the new GW relay?
Is this an internal, on my server, configuration?
Or does some kind of address translation need to occur on a conduit or router somewhere?
On one of my red hat boxes, all I had to do was change the ip address of the GW relay in my hosts file. This does not work with SLES8/sendmail.
Charlie
5/26/05