Page 1 of 1

Return Address is user@servername.hostname.org?

Posted: Wed May 17, 2006 10:40 am
by Chewie71
I recently made a change to the smtpd.cfg file in order to allow the internal network to send messages. Some users and applications were getting denied.

Anyway, since then I've noticed that for at least one user, when she sends a message her return address is now user@servername.hostname.org instead of the correct...user@hostname.org.

I'm at a loss for how allowing internal addresses to relay would have caused this to happen. Anyone know where I can go to fix this?

Thanks,
Matt

Posted: Wed May 17, 2006 12:28 pm
by ScalixSupport
Is servername.hostname.org in /etc/mail/local-host-names?

Cheers,

Sascha.

Posted: Wed May 17, 2006 1:37 pm
by Chewie71
Ah...yes...I just commented it out. I still have mail.hostname.org and www.hostname.org in there. Should I leave them out too and only put hostname.org in there?

Thanks,
Matt

Posted: Tue May 23, 2006 2:16 pm
by Chewie71
This problem is still occurring, even after taking server.hostname.org out of the local-host-names file. Anywhere else I can look?

Thanks,
Matt

Posted: Tue May 23, 2006 11:12 pm
by ScalixSupport
Hi Matt,

You likely have address masquerading enabled in sendmail. Edit your sendmail.cf file and search for masquerade. If find "DMservername.hostname.org" somewhere in the masquerading section, then that's why your addresses are being rewritten that way. You can change that to "DMhostname.org" or remove that line altogether, then restart sendmail.

Thanks,
Rachel

Posted: Wed May 24, 2006 8:41 am
by Chewie71
Looks like that worked. Thanks Rachel...

Matt