View Single Post
  #5  
Old 25th June 2010, 13:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,483
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

I guess I know what the problem is. the email accounts are not created by ispconfig on the master, thats why they get deleted only on the slaves. the problem is that postfix on the master has access to all records for all mail servers, so it accepts the emails for the slave as well end then creates a maildir for them. This happens as we had to modify the sql queries in the postfix files to add mirroring support.

To fix this, open the ....mysql...cf files in /etc/postfix (only on the master), each of the files contains a condition string like this:

additional_conditions = and type = 'client' and active = 'y'

at the end of the condition strings, you will have to add a condition that restricts the query to the master server ID, so that it looks like this:

additional_conditions = and type = 'client' and active = 'y' and server_id = 1

(I assume here that you master has the server_id 1, which sould be the case in almost all setups).

Then restart postfix.

Please file a bugreport for this.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 25th June 2010 at 15:08. Reason: typos
Reply With Quote