Hi folks, in a corporate network there is exim4 4.63-17 + courier-imap 4.1.1.20060828 background on debian etch, manage all of them with vexim2.2, problem is the maildirsize file on serverside user's Maildir, if i modify the user's quota number in vexim frontend, the maildirsize content was deleted (aka previously written lines), so user get the Quota exceeded message (this is exim4 router specification) in the MUA,
################## # Router section # ################## maildir_overquota: driver = redirect domains = +local_domains local_parts = lsearch;/etc/exim4/maildir_quota_exceeded data = :fail:Mailbox quota exceeded allow_fail ##################### # Transport section # ##################### virtual_delivery: quota = ${lookup mysql{select users.quota from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.domain_id = domains.domain_id}{${value}M}} quota_is_inclusive = false quota_size_regex = ,S=(\d+) maildir_tag = ,S=$message_size maildir_use_size_file = true quota_warn_threshold = 75% quota_warn_message = etc ... ########################## # maildir_quota_exceeded # ########################## This file was generated by a php written script looking for each user's maildirsize file, calculate if it is overquota and put username to this file. so it is good to ask here, thanx any suggestions, Adam ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap