> Take a look at : > http://wiki.dovecot.org/Quota/1.1 > > M.A.
sorry I don't know what you mean on this site. The wiki link is for dovecot 1.1 also - and with 1.1.18 there is no problem. I need a way to use quota only with the maildirsize file without the dovecot quota_limit fallback. Timo, is it correct that this feature is not in 1.2.4 anymore? > > > myleetl...@gmx.de wrote: > > Hi, thank you for the hint > > > > > >> It seems to be working for me: > >> > >> Using V 1.2.4 > >> ------------------------------- > >> plugin: > >> quota: maildir:User quota > >> quota_rule: *:storage=2G > >> ------------------------------- > >> > > > > I've tried with > > > > quota = maildir:User quota > > quota_rule = ?:storage=1K > > > > and mail was rejected. but without the quota_rule it doesnt work. > > The Quota/Maildir docu says: > > > > -> > > If you don't configure any quota limits in Dovecot (quota=maildir with > no other settings), Dovecot takes the limits from the header. If the file > does not exist, quota isn't enforced. > > <- > > > > I think v1.2 change this behaviour and without limit it does not work > anymore. My idea was not to use a quota_rule because then all mailboxes > > need to reindex I think. And I don't know what happens to the nfs server > with 1M Mailboxes. So i wanted to enable quota slowly with the maildirsize > file. > > > > > > > > > >> Mysql conf: > >> ------------------------------------ > >> user_query = SELECT 5000 AS uid,5000 AS gid,'/vmail/%d/%n' as home, \ > >> concat('*:storage= ', virtual_users.quota_kb) AS > >> quota_rule \ > >> from virtual_users LEFT JOIN virtual_domains ON > >> virtual_users.domain_id=virtual_domains.id \ > >> where virtual_users.user='%n' and > virtual_domains.name='%d' > >> ------------------------------------------ > >> > >> Postfix Conf: > >> ----------------------------------- > >> dovecot unix - n n - - pipe > >> flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -e -d > >> ${recipient} > >> ------------------------------------ > >> > >> When sending a message that goes beyond quota: > >> PostFix says: > >> status=bounced (permission denied. Command output: Quota exceeded > >> (mailbox for user is full) ) > >> > >> > >> Regards, > >> > >> M.A. > >> > >> > >> > >> > >> > >> myleetl...@gmx.de wrote: > >> > >>> Hi, > >>> > >>> > >>> > >>>> I'm using deliver for storing new mails (nfs). > >>>> Since v.1.2 deliver does not reject mails if over quota (maildir > >>>> > >> quota). > >> > >>>> test with v. 1.1.18: > >>>> # HOME=/tmp/maildir/ /path/dovecot-1.1.18/libexec/dovecot/deliver -e > -c > >>>> /path/dovecot-1.1.18/etc/dovecot.conf > >>>> # Quota exceeded (mailbox for user is full) > >>>> > >>>> test with v. 1.2.4: > >>>> # HOME=/tmp/maildir/ /path/dovecot-1.2.4/libexec/dovecot/deliver -e > -c > >>>> /path/dovecot-1.2.4/etc/dovecot.conf > >>>> -> mail is saved to INBOX > >>>> > >>>> > >>> [..] > >>> > >>> is no one using maildir quota here? Who can say me if this is a bug or > >>> > >> not? > >> > >>> As a workaround, is it posible to use deliver 1.1.18 and imap/pop3 > 1.2.4 > >>> > >> without problems? (i think i have to rewrite some sieve 1.2 rules) > >> > >>> > >>> > > > > > -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser