Showing results for 
Search instead for 
Did you mean: 

Sendmail Server

Regular Advisor

Sendmail Server

Hi All..

How can I know the name of my sendmail server????
I have attached below outputs.

# more
# cat /etc/rc.config.d/mailservs
# sendmail -bs
# sendmail -v

Please advice.
Honored Contributor

Re: Sendmail Server

Based on the prompt visible in your attachment, and the outputs of "sendmail -bs" and "sendmail -v", the name of your sendmail server is currently

Did you mean to ask "What should I put into SENDMAIL_SERVER_NAME= on /etc/rc.config.d/mailservs?"

If you also have SENDMAIL_SERVER=1, you should normally leave SENDMAIL_SERVER_NAME empty.

If your goal is to make this machine rely on a central mail server somewhere in your site, _ask the email systems administrator of your site_.

After you know the name of the mail server you should use at your site, you have two options.

When an email is sent from this system (de01src2), do you want the From: address of it look like



b) ?
(assuming that is your real public domain name)

In case a), you should leave the SENDMAIL_SERVER_NAME empty and put the name of the central mail server to on the "DS" line. In other words change so that

# "Smart" relay host (may be null)


# "Smart" relay host (may be null)

In case b), set and restart sendmail. In this case, the administrator of the central mail server may have to configure something too. (For example, if the usernames at de01src2 don't exactly match the mail usernames used at the central mail server, the central server needs to do some aliasing/remapping to correct the addresses.)