fsoyer
11th January 2008, 11:04
Hi all,
I found a little problem soon between co-domain aliases and postfix.
Since the thread here (http://www.howtoforge.com/forums/showthread.php?t=15511&highlight=local-host-names) don't give any solution, I tried some things and here is what I found and my request.
The problem :
on a main domain (www.domain.tld), which has an external mail server, the mails send from ISPConfig don't go out, because the domain name (domain.tld) is listed in /etc/postfix/local-host-names.
The problem is, that a co-domain was created (intranet.domain.tld) (not an alias, another site with same domain name). If I go in the "alias" tab of this co-domain, I find an alias automatically created, where the host name is not set to "intranet" by default, but is blank.
So this unwanted alias forces Postfix to put "domain.tld" in local-host-names, and mails to this domain are always kept locally.
Choosing "External Mailserver" on both main and co-domain don't resolve that : the domain name is always added by Postfix (even if manually deleted in local-host-names) each time you push the save button.
So a request to ISPConfig team : is it possible to set the host name of the alias tab of a co-domain to the host name of the main tab ? It will be more logical, no ?
Thank you.
Regards,
F.
I found a little problem soon between co-domain aliases and postfix.
Since the thread here (http://www.howtoforge.com/forums/showthread.php?t=15511&highlight=local-host-names) don't give any solution, I tried some things and here is what I found and my request.
The problem :
on a main domain (www.domain.tld), which has an external mail server, the mails send from ISPConfig don't go out, because the domain name (domain.tld) is listed in /etc/postfix/local-host-names.
The problem is, that a co-domain was created (intranet.domain.tld) (not an alias, another site with same domain name). If I go in the "alias" tab of this co-domain, I find an alias automatically created, where the host name is not set to "intranet" by default, but is blank.
So this unwanted alias forces Postfix to put "domain.tld" in local-host-names, and mails to this domain are always kept locally.
Choosing "External Mailserver" on both main and co-domain don't resolve that : the domain name is always added by Postfix (even if manually deleted in local-host-names) each time you push the save button.
So a request to ISPConfig team : is it possible to set the host name of the alias tab of a co-domain to the host name of the main tab ? It will be more logical, no ?
Thank you.
Regards,
F.