Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail - mail1.messagelabs.com

SOLVED
Go to solution
Kevin O'Donovan
Regular Advisor

sendmail - mail1.messagelabs.com

Hi,

I'm trying to setup sendmail on a machine to pass emails onto an email server (both machines HPUX). Only when I try to test it using

/usr/sbin/sendmail -v
it comes up with

Connecting to mail4.messagelabs.com. via esmtp...

I did an nslookup and thats there, but not in /etc/* or /etc/mail/*

Anyone any idea where it might be picking this up from??

thanks in advance, Kevin.
3 REPLIES
Ron Cornwell
Trusted Contributor
Solution

Re: sendmail - mail1.messagelabs.com

You can view more detail about what is happening in /var/adm/syslog/mail.log. Sendmail setup is done in the file /etc/mail/sendmail.cf . To specify where you want to forward mail from your server update the line that starts out DS. DS is your "Smart Relay". After setting this you will have to restart sendmail /sbin/init.d/sendmail stop and /sbin/init.d/sendmail start. If this does not help please add more info.
Lou Zirko_1
Frequent Advisor

Re: sendmail - mail1.messagelabs.com

There are 2 places to look. The first would be as an MX record on your dns server and the second would be as a relay host configured in your sendmail.cf file. It is the DS macro.

Lou Zirko
Uday_S_Ankolekar
Honored Contributor

Re: sendmail - mail1.messagelabs.com

Hi,

Sendmail files are mainly in /etc/mail directory.
You can check more information on /var/adm/syslog/mail.log for more error details.

Also check these files.
/etc/resolve.conf and /etc/nsswitch.conf for proper DNS setup. Also check MX entry in DNS setup.
And in sendmail.cf file point DS entry to look for your smtp mail server.
you can check your smtp mail set up by telnet 25 option. telnet 25

Goodluck
-USA..

Good Luck..