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.
cancel
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.

Example.

my program sends out a mail message with the from being tim@ttksg.com

When I recieve the message it has the "from" as tim@ttksg.com@rp5400.nlt.com

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.

Thanks,
Tim
1 REPLY
Jose Mosquera
Honored Contributor

Re: removing domain from sendmail

Hi,

Please edit your /etc/mail/sendmail.cf and force your domain name:
Change default example definition,
#Dj$w.Foo.COM
by:
Dj ttksg.com (a space separating)

Try an email and tell me if been enough.

Rgds.