Ticket #1126 (closed malfunction: fixed)

Opened 9 months ago

Last modified 8 months ago

do not add all domains into the MTA domains list

Reported by: greg@proxyconcept.net Assigned to:
Priority: major Milestone: ispCP ω 1.0.0 - RC5
Component: Backend (Engine) Version: ispCP ω 1.0.0 - RC4
Severity: Easy Keywords: postfix domains skip
Cc: greg@proxyconcept.net

Description

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.

Attachments

1126-dontaddalldomainsintothemtadomainslist.patch (1.0 kB) - added by greg@proxyconcept.net on 03/21/08 11:11:17.
patch to skip domains (and alias) when email accounts disactivated

Change History

03/21/08 11:11:17 changed by greg@proxyconcept.net

  • attachment 1126-dontaddalldomainsintothemtadomainslist.patch added.

patch to skip domains (and alias) when email accounts disactivated

03/21/08 14:37:43 changed by joximu

I like this improvement. I'll do some checks...

03/21/08 18:34:15 changed by rats

  • status changed from new to closed.
  • resolution set to fixed.

It cannot break anything but I don't know if it will work ... added in r1068


Add/Change #1126 (do not add all domains into the MTA domains list)




Action