Remove domain name from local-host-names

Discussion in 'General' started by cryptic, Jan 17, 2007.

  1. cryptic

    cryptic Member

    All of my servers are named sub.domain.com.

    I need an email account from one server to send email to another server with the same domain (both have different sub domains).

    My problem is that domain.com is listed in local-host-names on the server trying to send.

    How can I remove this on the ISPConfig end? Editing the local-host-names file on the server obviously isn't working.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Just set mailserver to external in the co-domain "domain.com".
     
  3. cryptic

    cryptic Member

    That isn't listed. It's the server name's domain, not the web site's domain.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you must rename your server in ISPConfig under management > server > settings and set the new hostname on the shell, so that the commands: "hostname" and "hostname -f" do not show this domain anymore. Also change the hostname in /etc/postfix/main.cf and if exists in /etc/mailname.
     

Share This Page