Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

removing domain from sendmail

Timothy P. Jackson
Valued Contributor

removing domain from sendmail

I having an issues with sendmail. When I send a mail it ends up with two domain names.


my program sends out a mail message with the from being

When I recieve the message it has the "from" as

both are valid domains but I only want the first one to show up.

I have seen this and fixed this before but I am drawing a blank today.

Jose Mosquera
Honored Contributor

Re: removing domain from sendmail


Please edit your /etc/mail/ and force your domain name:
Change default example definition,
Dj (a space separating)

Try an email and tell me if been enough.