Return address with sendmail says '<user>@localhost.localdomain'

0

I don't know why, but the return address of an email sent through sendmail using mailx says <user>@localhost.localdomain even though I have set LOCAL_DOMAIN to jwd.sytes.net. It works when I put 192.168.0.3 jwd.sytes.net as the first line of /etc/hosts, but then it isn't getting the real IP of jwd.sytes.net when someone types ping jwd.sytes.net. Does anyone have any idea of how to fix this?

BenjiWiebe

Posted 2013-10-18T21:14:50.280

Reputation: 7 672

Answers

-1

Have you tried to modify submit.mc (submit.cf) too?

AnFi

Posted 2013-10-18T21:14:50.280

Reputation: 771

2This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – Moses – 2013-10-21T03:15:00.490

It provides a suggestion - an answer in "it MAY help" mode. – AnFi – 2013-10-21T05:15:02.630

No, I haven't. How should I edit it? I looked at the file, and nothing jumped out at me as being what needed to be changed. – BenjiWiebe – 2013-10-21T12:19:42.547