[Dovecot] Imap Quota Exceeded - But Still Receiving Emails?

Palatine Web Support support at palatineweb.com
Thu Jan 26 14:09:09 EET 2012


On 2012-01-25 17:01, Daniel L. Miller wrote:
> On 1/25/2012 2:01 AM, Palatine Web Support wrote:
>> On 2012-01-25 05:38, Daniel L. Miller wrote:
>>> On 1/24/2012 8:35 AM, Palatine Web Support wrote:
>>>>
>>>> Here is my dovecot config:
>>>>
>>>> plugin {
>>>>   quota = maildir:User Quota
>>>>   quota_rule2 = Trash:storage=+100M
>>>> }
>>> [..]
>>>>
>>>> So it picks up my set quota of 3MB but dovecot is not rejecting 
>>>> emails if I am over my quota.
>>>>
>>>> Can anyone help?
>>>>
>>> Is the quota plugin being loaded?  What is the output of:
>>>
>>> doveconf | grep -B 2 plug
>>
>> The modules are being loaded. From the log file with debugging 
>> enabled:
>>
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Loading modules 
>> from directory: /usr/lib/dovecot/modules/imap
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Module loaded: 
>> /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Module loaded: 
>> /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Effective uid=150, 
>> gid=8, home=/var/vmail/xxx.com/support
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Quota root: 
>> name=User Quota backend=dirsize args=
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Quota rule: 
>> root=User Quota mailbox=* bytes=3145728 messages=0
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Quota rule: 
>> root=User Quota mailbox=Trash bytes=104857600 messages=0
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): maildir: 
>> data=/var/vmail/xxx.com/support
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): maildir++: 
>> root=/var/vmail/xxx.com/support, index=, control=, 
>> inbox=/var/vmail/xxx.com/support
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Namespace : Using 
>> permissions from /var/vmail/xxx.com/support: mode=0700 gid=-1
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Disconnected: 
>> Logged out bytes=82/573
>> Jan 25 09:59:58 mail dovecot: IMAP(xxx at xxx.com): Disconnected: 
>> Logged out bytes=269/8243
>>
>
> I don't know if it makes any difference, but in your config file, try
> changing:
> plugin {
>   quota = maildir:User Quota
>
> to
>
> plugin {
>   quota = maildir:User quota
>
> (lowercase the "quota")


The quota is working fine now. The problem was I had my transport agent 
set to virtual when it should have been set to dovecot.

Thanks.



More information about the dovecot mailing list