Set SMTP HostName

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

brianlj
Posts: 1
Joined: Mon Apr 14, 2008 3:26 pm

Set SMTP HostName

Post by brianlj »

Hi -
I've recently installed OpenEMM and everything looks to be going well.
The one question I have is how to set the outgoing SMTP hostname. Currently, when mail is sent and you examine the hostname in the header it is set to "vmx.openemm.org". I am concerned that some servers may bounce these messages since the hostname does not match the IP I am sending from.
Can someone tell me how to change the hostname from vmx.openemm.org to the URL I have created for my OpenEMM install?

Much appreciated!
Thanks,
Brian
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post by ud »

Sendmail uses the system hostname (or to be more concrete it uses the system hostname and tries to resolve it for its FQDN). To set the system hostname use the command hostname <hostname> (restart sendmail afterwards) or add it for permanent use in your system files (e.g. /etc/sysconfig/network on CentOS 5, the entry HOSTNAME). Reboot to make this change active.

-- ud
Post Reply