Ticket #1126 (closed malfunction: fixed)
do not add all domains into the MTA domains list
|Reported by:||greg@…||Owned by:|
|Priority:||major||Milestone:||ispCP ω 1.0 - RC5|
|Component:||Backend (Engine)||Version:||ispCP ω 1.0.0 - RC4|
|Severity:||Easy||Keywords:||postfix domains skip|
In my case, some domains have webhosting on ispCP, but mail hosting somewhere else. But ispCP add all his domains into the file /etc/postfix/ispcp/domains !
So if my customer plop.com have only his website on the ispCP server, any email sending from the server to *@plop.com are trying to be unsuccessfully delivered on the local machine. Foreign MX are not researched.
My solution is to add this check : if the email option is desactivated for a customer (email account = -1) so ispCP must skip his domain when generating the postfix domains list.