Showing results for 
Search instead for 
Did you mean: 

sendmail aderess

sendmail aderess

I have a unix server (11.00) call,
So when a send a mail, the reciever an the recievd mail sever see's

I want that both systeems see

I have try the -F option but the mail recievd mailserver see's

Jos de Ruiter
Honored Contributor

Re: sendmail aderess


Edit and put this line.


restart sendmail.



Innovations are made when conventions are broken

Re: sendmail aderess

I have add the line in, but nothing change, hier are the two line's

This is the one who already is in the file:

And i add line: at your request

Jos de Ruiter
Michael Steele_2
Honored Contributor

Re: sendmail aderess

DM is for "masquarade" and "Dj" is for sendmail domains.

This reads the FQDN from /etc/hosts.


Don't forget to:

/sbin.init.d/sendmail stop
/sbin/init.d/sendamil start

You may also have a problem with /etc/resolv.conf and how DNS and /etc/hosts appear. So test with 'nslookup' for the FQDN.

nslookup x.x.x.x
nslookup hostname

Default /etc/resolv.conf file exists in /usr/newconfig/etc.
Support Fatherhood - Stop Family Law
Kasper Haitsma
Trusted Contributor

Re: sendmail aderess

Hi Jozef,

The restarting of the sendmail after changing of is only needed for the receiving daemon. Sending takes immediate advantage of the changes, so you can leave the restart to after you are satisfied with your changes.

Good working name resolving is also crucial for sendmail. hp-ux sendmail will always try DNS first, when it is mentioned in /etc/resolv.conf for the hosts line.

Now to the 'root' of your question. In there is also a parameter CE 'Names that should be exposed, even if we masquerade'. You could remove root from this list (default, only root is there). However, what if someone wants to reply to the mail sent by If you have for example 3 unix machines, there are 3 potential recipients, where it should go. If you want it delivered on your central mailserver, you need a mail-user root, or an alias so that the responsable user will get these mail addressed for

Hope this helps

It depends
Berlene Herren
Honored Contributor

Re: sendmail aderess

Also, make sure there is no space between the DM and, and recycle sendmail.