handling mail with ispconfig

Discussion in 'Installation/Configuration' started by carlitos05, Aug 5, 2008.

  1. carlitos05

    carlitos05 New Member

    Hi all,

    I am very new to ispconfig (before i used plesk)

    The problem is :

    When i add email accounts to a site, ispconfig adds the complete site with hostname to
    /etc/postfix/local-hostnames and /etc/postfix/virtusertable

    if i add domein.tld on domain and www on hostname , i can find www.domein.tld in
    /etc/postfix/local-hostnames and /etc/postfix/virtusertable
    and i just want the hostname in those files.

    tnxs in advance!
    How can i change this ?
  2. Hans

    Hans Moderator ISPConfig Developer

    That behaviour is normal if you use ISPConfig and should not be changed.
    Make sure that you these hosts and domain names for each site:

    host: www
    domain: example.com

    On the co-domain tab of that same site:

    host: (leave this empty)
    domain: example.com
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    If you dont want www.domain.com in this file, set mailserver to external in the website settings and add the co-domain that Hans described above.

Share This Page