Katja Wegner
2014-Jun-04 14:21 UTC
[Dovecot] IMAP copy fails because the mailbox size of user1 is exceeding the quota limit of user2??
Hi all,
I do have a mailbox-quota problem in dovecot 2.0.19 that is beond my
understanding.
Could someone pls. give me a hint.
- user1 max. mailbox quota is set to 1GB, the current mailbox size of user1 is
15MB
- user2 max. mailbox quota is set to 10MB, the current mailbox size of user1 is
10kB
- user1 shares the folder 'shared_folder' to user2 with all rights
(read, write ...)
- user2 has subscribed to 'shared_folder'
the problem:
- user2 tries to move a mail (20kB) to the shared folder via telnet: ".
copy 1:1 shared/user1/shared_folder"
- it fails with: "NO [OVERQUOTA] Quota exceeded (mailbox for user is
full)"
- copying the same mail to a local folder of user2 works without problems.
- After I raised the max. mailbox quota of user2 from 10MB to 16MB it was
possible to move the mail to the 'shared_folder' of user1.
It looks like the copy operation fails because the mailbox size of user1 is
exceeding the quota limit of user2!
Is this possible? Is this a bug? Do I have a configuration problem?
dovecot -n
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.5.0-51-generic x86_64 Ubuntu 12.04.4 LTS ext4
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
dict {
sqldomainquota = mysql:/etc/dovecot/dovecot-sql-domain.conf
sqluserquota = mysql:/etc/dovecot/dovecot-dict-sql-user.conf
}
first_valid_uid = 150
last_valid_uid = 150
mail_debug = yes
mail_gid = mail
mail_location = maildir:/var/vmail/%d/%n
mail_plugins = " quota quota acl"
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacati
on subaddress comparator-i;ascii-numeric relational regex imap4flags copy includ
e variables body enotify environment mailbox date ihave
namespace {
inbox = yes
location prefix separator = /
type = private
}
namespace {
list = children
location =
maildir:/var/vmail/mydomain.de/%%n:CONTROL=/var/vmail/mydomain.de/%n/
shared/%%n:INDEX=/var/vmail/mydomain.de/%n/shared/%%n
prefix = shared/%%n/
separator = /
subscriptions = yes
type = shared
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
acl = vfile
acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes.db
quota = dict:User quota::proxy::sqluserquota
quota_rule2 = shared:ignore
sieve = ~/_dovecot_sieve
sieve_dir = ~/sieve
}
postmaster_address = kontakt at mydomain.de
protocols = imap pop3 sieve
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener /var/spool/postfix/private/dovecot-auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-userdb {
group = mail
mode = 0600
user = vmail
}
}
service dict {
unix_listener dict {
mode = 0600
user = vmail
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MED
IUM
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
userdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
protocol imap {
imap_client_workarounds = delay-newmail
mail_max_userip_connections = 10
mail_plugins = " quota imap_quota imap_quota acl imap_acl"
}
protocol pop3 {
mail_max_userip_connections = 10
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
deliver_log_format = msgid=%m: %$
mail_plugins = acl
postmaster_address = postmaster
quota_full_tempfail = yes
rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
Steffen Kaiser
2014-Jun-05 11:28 UTC
Re: IMAP copy fails because the mailbox size of user1 is exceeding the quota limit of user2??
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 4 Jun 2014, Katja Wegner wrote:> Date: Wed, 4 Jun 2014 16:21:04 +0200 > From: Katja Wegner <katja.wegner92@web.de> > To: dovecot@dovecot.org > Subject: [Dovecot] IMAP copy fails because the mailbox size of user1 is > exceeding the quota limit of user2?? > > Hi all, > I do have a mailbox-quota problem in dovecot 2.0.19 that is beond my understanding. > Could someone pls. give me a hint. > > - user1 max. mailbox quota is set to 1GB, the current mailbox size of user1 is 15MB > - user2 max. mailbox quota is set to 10MB, the current mailbox size of user1 is 10kB > - user1 shares the folder 'shared_folder' to user2 with all rights (read, write ...) > - user2 has subscribed to 'shared_folder' > > the problem: > > - user2 tries to move a mail (20kB) to the shared folder via telnet: ". copy 1:1 shared/user1/shared_folder" > - it fails with: "NO [OVERQUOTA] Quota exceeded (mailbox for user is full)" > - copying the same mail to a local folder of user2 works without problems. > - After I raised the max. mailbox quota of user2 from 10MB to 16MB it was possible to move the mail to the 'shared_folder' of user1.See my message "quota using wrong limits in user shared mailboxes" from 13 Mar 2014 10:59:23. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU5BUSHz1H7kL/d9rAQKSZQf+I7e5kHxuxeEDA+doD5IIBcPtLA9y7Mso Xtky/+2iFU1A3j3TuhApYK7p9Pasuz8riQX+KM1ecdS73BIjcalfCgxVVZ5/I/55 /ycp9SlXdAA9qMsBFKH2pW9UQ2/MJ5Ddt1dpr8d4GgKk1AKjX/2oE4UbS/dZ8nI3 SzBZOVt336gH3mFwLTubAJYXFscxc6e02cavi7Jaovf4mucc0o+KSfXOgPV0W708 B+uHs1ZyzCbNDxtsmjuj2AZnbdhF8sdnRESQAU12suBIDbfEgFCH+74uWK+PICG/ Jxghgye5nS3GH2rHU4qftib8suNBKkMgR2Q+9KCbX3RHgUd5s3Dq8w==tQ0j -----END PGP SIGNATURE-----
Steffen Kaiser
2014-Jun-05 11:28 UTC
[Dovecot] IMAP copy fails because the mailbox size of user1 is exceeding the quota limit of user2??
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 4 Jun 2014, Katja Wegner wrote:> Date: Wed, 4 Jun 2014 16:21:04 +0200 > From: Katja Wegner <katja.wegner92 at web.de> > To: dovecot at dovecot.org > Subject: [Dovecot] IMAP copy fails because the mailbox size of user1 is > exceeding the quota limit of user2?? > > Hi all, > I do have a mailbox-quota problem in dovecot 2.0.19 that is beond my understanding. > Could someone pls. give me a hint. > > - user1 max. mailbox quota is set to 1GB, the current mailbox size of user1 is 15MB > - user2 max. mailbox quota is set to 10MB, the current mailbox size of user1 is 10kB > - user1 shares the folder 'shared_folder' to user2 with all rights (read, write ...) > - user2 has subscribed to 'shared_folder' > > the problem: > > - user2 tries to move a mail (20kB) to the shared folder via telnet: ". copy 1:1 shared/user1/shared_folder" > - it fails with: "NO [OVERQUOTA] Quota exceeded (mailbox for user is full)" > - copying the same mail to a local folder of user2 works without problems. > - After I raised the max. mailbox quota of user2 from 10MB to 16MB it was possible to move the mail to the 'shared_folder' of user1.See my message "quota using wrong limits in user shared mailboxes" from 13 Mar 2014 10:59:23. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU5BUSHz1H7kL/d9rAQKSZQf+I7e5kHxuxeEDA+doD5IIBcPtLA9y7Mso Xtky/+2iFU1A3j3TuhApYK7p9Pasuz8riQX+KM1ecdS73BIjcalfCgxVVZ5/I/55 /ycp9SlXdAA9qMsBFKH2pW9UQ2/MJ5Ddt1dpr8d4GgKk1AKjX/2oE4UbS/dZ8nI3 SzBZOVt336gH3mFwLTubAJYXFscxc6e02cavi7Jaovf4mucc0o+KSfXOgPV0W708 B+uHs1ZyzCbNDxtsmjuj2AZnbdhF8sdnRESQAU12suBIDbfEgFCH+74uWK+PICG/ Jxghgye5nS3GH2rHU4qftib8suNBKkMgR2Q+9KCbX3RHgUd5s3Dq8w==tQ0j -----END PGP SIGNATURE-----
Katja Wegner
2014-Jun-05 14:08 UTC
[Dovecot] IMAP copy fails because the mailbox size of user1 is exceeding the quota limit of user2??
> See my message "quota using wrong limits in user shared mailboxes" from 13 > Mar 2014 10:59:23.Thank's for your answer Steffen. So I can confirm that I've the same problem as you. Could you find a solution to that? I still hope that this is a simple configuration problem, as I can't imagine, that we've been the first to experience that strange behavior that for me, is part of the core functionality of dovecot.
Possibly Parallel Threads
- IMAP copy fails because the mailbox size of user1 is exceeding the quota limit of user2??
- PermitRoot without-password doesn't work if AllowUsers user1 user2 set, but root not included; Also some bug in auth.c (Me thinks)
- samba user1 -> samba user2 migrating - how?
- Idea for feature recursive ssh: "scp file user1@gateway:user2@server:"
- exop vs md5