PDA

View Full Version : handling mail with ispconfig


carlitos05
5th August 2008, 02:35
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

example:
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 ?

Hans
5th August 2008, 08:35
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

till
5th August 2008, 11:28
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.