[Dovecot] Quota exceeded - ignore setting

Fabian Lazarski f.lazarski at scan-plus.de
Thu Mar 6 19:59:26 EET 2008


Hello,

I have a problem if I use the 'ignore' setting in my dovecot.conf
A delete operation in the client means that
the mail is copied to Trash mailbox. If the user is already over quota
the delete operation will fail. Therefore I use the ignore setting,
which doesn`t count the quota at all for the given mailbox. But it 
doesn`t work. I got still a quoted exceeded failure in my client.
Here is the plugin part of my dovecot.conf (The trash folder was
renamed in Papierkorb on the mailserver):
plugin {
  quota = maildir:storage=0:ignore=Papierkorb
  acl = vfile:/etc/dovecot/acls
}
and the appropriate View definition:
 SELECT u.userid, 999 AS uid, 8 AS gid, rel_homedir(v.volume::text, 
u.userid::text) AS home, 
('maildir:storage='::text || u.quota::text) || ':ignore=Papierkorb'::text 
AS quota
   FROM mailuser u, user_volume v
  WHERE u.userid::text = v.userid::text;iate view definition:

here is a section of imap-info.log:
dovecot: 2008-03-06 18:30:55 Info: auth(default): master in: REQUEST 184  
3289    173
dovecot: 2008-03-06 18:30:55 Info: auth(default): 
sql(dg-SW3,172.27.60.237): SELECT * FROM dovecotuser WHERE userid = 
'dg-SW3';
dovecot: 2008-03-06 18:30:55 Info: auth(default): master out: USER 184 
dg-SW3  userid=dg-SW3        uid=999 gid=8   home=mail02/dg/SW3 
quota=maildir:storage=2097152:ignore=Papierkorb      master_user=master
dovecot: 2008-03-06 18:30:55 Info: imap-login: Login: user=<dg-SW3>, 
method=PLAIN, rip=172.27.x.y, lip=172.27.x.x
dovecot: 2008-03-06 18:30:55 Info: auth(default): client in: AUTH 174 
PLAIN   service=IMAP lip=172.27.x.x       rip=172.27.x.y resp=<hidden>
dovecot: 2008-03-06 18:30:55 Info: auth(default): 
passwd-file(master,172.27.x.y,master): lookup: user=master 
file=/etc/dovecot/dovecot-master.pwd
dovecot: 2008-03-06 18:30:55 Info: auth(default): 
passdb(master,172.27.x.y,master): Master user logging in as dg-SW3
dovecot: 2008-03-06 18:30:55 Info: auth(default): client out: OK 174 
user=dg-SW3

Used dovecot Version is 1.0.2

Can someone help? Is there another possiblity to except the quota for my 
papierkorb folder?

Bye
Fabian



-----------------------------------------------------------------
Sicherheit - Verfügbarkeit - Kontinuität
-----------------------------------------------------------------
IT-Service-Management von

ScanPlus GmbH 
Lise-Meitner-Strasse 5          Tel. +49 731 92013 152 
D-89081 Ulm, Germany            Fax. +49 731 92013 290
Web: http://www.scan-plus.de/   Mail: lazarski at scan-plus.de

Amtsgericht Ulm HRB 3220 
Geschäftsführung:                 Jürgen Hörmann, Andreas Werther
-----------------------------------------------------------------


More information about the dovecot mailing list