By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,713 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,713 IT Pros & Developers. It's quick & easy.

How to change server where mail is relayed to (Linux)?

P: 310
Recently my company has changed the Exchange server which handles company emails, meaning the exchange server has a new IP address.

Now I no longer can get sendmail to work on any of my Linux machines. I can see that the mails are successfully queued for delivery, but the log messages shows that the "relay=" attribute is still pointing at the old exchange server IP address.

As far as I remember, I never had to specifically set any of this up before, I don't think I ever specified the exchange server IP address, it just worked.

Can anyone please explain to me how I can adjust settings so that my sendmail points to the correct exchange server?


Steve, Denmark
May 8 '08 #1
Share this Question
Share on Google+
1 Reply

P: 144
in the config file of sendmail (usually /etc/sendmail/) there should be a line where you can specify the relay server. I think if you set the correct ip behind that (or hostname) you should be able to relay your mail correctly

hope this works for you
May 9 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.