Geting mail quota exceeded with plenty of space
I have a user that is getting mail quota exceeded:
Feb 9 15:00:21 z9m9z dovecot: lda(dm@htt-consult.com): Error: sieve: msgid=38308773.1704736628308773ywdm@htt-consult.com853430: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full)
Yet the quota is set for 1000Mb and the current reported use is 277Mb.
There are only 28 messages in the in box and 842 in the spam.
Where might the problem becoming from?
The server is Redsleeve 6 (Centos6 on arm). I am running a combination of postfix/dovecot/roundcubemail with a mysql virtual domain database maintained with postfix.admin
Further checkings shows another user also getting "Quota exceeded". This user has only 127Mb toward his quota. Only these two users have this problem. So far. Both are infrequent mail checkers.
On 02/09/2015 03:14 PM, Robert Moskowitz wrote:
I have a user that is getting mail quota exceeded:
Feb 9 15:00:21 z9m9z dovecot: lda(dm@htt-consult.com): Error: sieve: msgid=38308773.1704736628308773ywdm@htt-consult.com853430: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full)
Yet the quota is set for 1000Mb and the current reported use is 277Mb.
There are only 28 messages in the in box and 842 in the spam.
Where might the problem becoming from?
The server is Redsleeve 6 (Centos6 on arm). I am running a combination of postfix/dovecot/roundcubemail with a mysql virtual domain database maintained with postfix.admin
Further checkings shows another user also getting "Quota exceeded". This user has only 127Mb toward his quota. Only these two users have this problem. So far. Both are infrequent mail checkers.
It might be the quota for number of messages :
Check with "doveadm quota get -u user@domain.example" If there is a limit for number of messages.
Regards,
CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
On 02/09/2015 03:37 PM, Bertrand Caplet wrote:
Further checkings shows another user also getting "Quota exceeded". This user has only 127Mb toward his quota. Only these two users have this problem. So far. Both are infrequent mail checkers. It might be the quota for number of messages :
Could be. dm has over 9k of trashed messages. but..
Check with "doveadm quota get -u user@domain.example" If there is a limit for number of messages.
doveadm(root): Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota
doveadm(root): Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota
Show me your doveconf -n without your passwords.
-- CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
On 02/09/2015 03:51 PM, Bertrand Caplet wrote:
doveadm(root): Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota Show me your doveconf -n without your passwords.
I looked and no passwords in my doveconf...
# 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 3.4.61.sun7i+ armv7l Red Sleeve Enterprise Linux release 6 (Leap) ext4 auth_mechanisms = plain login dict { quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf } first_valid_gid = 12 first_valid_uid = 101 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes lmtp_save_to_detail_mailbox = yes mail_location = maildir:/home/vmail/%d/%n managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { args = /etc/dovecot/dovecot-mysql.conf driver = sql } plugin { acl = vfile:/etc/dovecot/acls quota = dict:user::proxy::quotadict sieve = ~/dovecot.sieve sieve_dir = ~/sieve sieve_global_dir = /home/sieve/ sieve_global_path = /home/sieve/globalfilter.sieve sieve_max_script_size = 1M trash = /etc/dovecot/trash.conf } protocols = imap pop3 lmtp sieve service anvil-auth-penalty { name = anvil } service auth-worker { name = auth-worker } service { unix_listener { group = postfix mode = 0666 user = postfix path = /var/spool/postfix/private/auth } unix_listener { group = mail mode = 0666 user = vmail path = auth-userdb } name = auth } service config { name = config } service { unix_listener { group = mail mode = 0666 user = vmail path = dict } name = dict } service login/proxy-notify { name = director } service dns-client { name = dns_client } service doveadm-server { name = doveadm } service { inet_listener { port = 143 name = imap } inet_listener { port = 993 ssl = yes name = imaps } name = imap-login } service login/imap { vsz_limit = 256 M name = imap } service lmtp { name = lmtp } service { inet_listener { port = 4190 name = sieve } process_min_avail = 0 service_count = 1 vsz_limit = 64 M name = managesieve-login } service login/sieve { name = managesieve } service { inet_listener { port = 110 name = pop3 } inet_listener { port = 995 ssl = yes name = pop3s } name = pop3-login } service login/pop3 { name = pop3 } service login/ssl-params { name = ssl-params } ssl_cert =
On 02/09/2015 03:37 PM, Bertrand Caplet wrote:
Further checkings shows another user also getting "Quota exceeded". This user has only 127Mb toward his quota. Only these two users have this problem. So far. Both are infrequent mail checkers. It might be the quota for number of messages :
that was it. Emptied trash and mail flowing. How is the message # quota managed? I never encountered it before.
But don't have time today to dig into it. conference call coming up.
Check with "doveadm quota get -u user@domain.example" If there is a limit for number of messages.
Regards,
that was it. Emptied trash and mail flowing. How is the message # quota managed? I never encountered it before.
But don't have time today to dig into it. conference call coming up.
You might have messages quota configured somewhere. And for :
doveadm(root): Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota
See http://wiki2.dovecot.org/Quota/Configuration you might haven't enabled quota plugin somewhere.
-- CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
On 02/09/2015 04:04 PM, Bertrand Caplet wrote:
that was it. Emptied trash and mail flowing. How is the message # quota managed? I never encountered it before.
But don't have time today to dig into it. conference call coming up. You might have messages quota configured somewhere. And for : doveadm(root): Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota See http://wiki2.dovecot.org/Quota/Configuration you might haven't enabled quota plugin somewhere.
/etc/dovecot/dovecot-dict-quota.conf
connect = host=localhost dbname=postfix user=postfix password=******* map { pattern = priv/quota/storage table = quota2 username_field = username value_field = bytes } map { pattern = priv/quota/messages table = quota2 username_field = username value_field = messages }
/etc/dovecot/dovecot-mysql.conf
driver = mysql connect = host=localhost dbname=postfix user=postfix password=******* default_pass_scheme = MD5-CRYPT password_query = SELECT username as user, password, concat('/home/vmail/', maildir) as userdb_home, concat('maildir:/home/vmail/', maildir) as userdb_mail, 101 as userdb_uid, 12 as userdb_gid FROM mailbox WHERE username = '%u' AND active = '1' user_query = SELECT concat('/home/vmail/', maildir) as home, concat('maildir:/home/vmail/', maildir) as mail, 101 AS uid, 12 AS gid, CONCAT('*:messages=10000:bytes=', quota) as quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
Well there it is, clear as day. messages=10000
Guess I can increase that. I suspect I will have to restart dovecot....
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Just modify and do dovecot reload. It'll ne alright
CONCAT('*:messages=10000:bytes=', quota) as quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
Well there it is, clear as day. messages=10000
Guess I can increase that. I suspect I will have to restart dovecot....
CHUNKZ.NET - dodgy DIYer and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9 -----BEGIN PGP SIGNATURE----- Version: APG v1.1.1
iQJKBAEBCgA0BQJU2V0kLRxCZXJ0cmFuZCBDYXBsZXQgPGJlcnRyYW5kLmNhcGxl dEBjaHVua3oubmV0PgAKCRAe2jXc/zlb2dfpD/41HrL10VzjkH2xJlcdUiCHdkTb xwqh5eW7aINE501JUGdtRc58EVoNgSbXUCI7HYCWj83GFKWYvXXmDsenw/ARqrWU 4MBhxHDPYGbpdlCyVrtzjkaq192WyZgL8IJWERfc8Wu3s8K0j1xGGgS9q/dYh03i MqRiooamRB6uQ6owFjrO0MFG5HYYrGsyjKb61cvsY2kXbyAjzI+ztk2w6Dbfmfne WM02FlwjWBxeVaCJHJ9bqUPwuJaGJ+Bqby2UPv7tSP2/EButFoCIGXUnX8WXqgmG MBh5QqEVfWTwWAIyAvSfNsXfopH2FJVgd0Ng1tfN8oCJQDQoFktQCriQPrEpXnOi LKhKyLBiz4oiIn3icovn3AEjSqQTR5Q0cewwp18iJSDYa+7tMlsecincf6qd0ZFE sfqCklkxfNVxBxKRgtaJIBCGWR9kx9VNU/g/5PjLfgzuewc1ku+24kBZYms0ZhIK wqrkYLsy30aA/GXr8TPM42FFFCWwFDbDDeRpj8wS7t+p5fc5sUUMjzAILMyECueD sMqrtIFm0dw7cbnsSTIzbD9MjbffvVMSvw3PA6WasWJgFEKjRoLS4S7U36svb9V1 triQybAqkIMTSk5fzeJXD0pv1gwW/1DLcUvSfHTHhFexkOxoVk7boLQ4lOU4tAlu TOX+wuqJGIPHxF46yA== =3kSh -----END PGP SIGNATURE-----
participants (2)
-
Bertrand Caplet
-
Robert Moskowitz