HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   ISPConfig 3 postfix problem: mysql-virtual_mailbox_limit_maps.cf is missing (http://www.howtoforge.com/forums/showthread.php?t=52135)

-= AD =- 2nd April 2011 12:00

ISPConfig 3 postfix problem: mysql-virtual_mailbox_limit_maps.cf is missing
 
There is the following line in postfix main.cf file:

Code:

virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
But /etc/postfix/mysql-virtual_mailbox_limit_maps.cf file is missing on ISPconfig3 servers. Checked on Centos and several Ubuntu servers. Also, can't see any template for this file in "ispconfig3_install/install/tpl/" directory for the latest stable release.

I suppose the content of mysql-virtual_mailbox_limit_maps.cf template file should be the following:
Quote:

user = {mysql_server_ispconfig_user}
password = {mysql_server_ispconfig_password}
dbname = {mysql_server_database}
table = mail_user
select_field = quota
where_field = email
additional_conditions = and postfix = 'y' and server_id = 1
hosts = {mysql_server_ip}
I've tested this config file and postfix worked fine with it, it was rejecting emails for overquoted email boxes, etc.

Could you please check?

Regards
--
Alex

falko 3rd April 2011 20:28

I've added this to our bugtracker, so we will check that.

till 4th April 2011 09:02

The fix is to remove irtual_mailbox_limit_maps line in postfix main.cf and restart postfix. Quota is handled by the LDA (courier maildrop or dovecot deliver) in a ispconfig 3 setup. I've fixed that in SVN.

-= AD =- 4th April 2011 20:51

OK, will update my postfix config. Thanks!

Regards
--
Alex

djtremors 9th April 2011 03:32

Quote:

Originally Posted by till (Post 254578)
The fix is to remove irtual_mailbox_limit_maps line in postfix main.cf and restart postfix. Quota is handled by the LDA (courier maildrop or dovecot deliver) in a ispconfig 3 setup. I've fixed that in SVN.

What i've noticed is that dovecot has the maildirsize file and if you increase the quota, nothing resets the header sized value in that file and the user is still limited to the original size for some reason..


RETRACK that comment. left overs of courier..


All times are GMT +2. The time now is 16:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.