[Dovecot] dovecot overquota and delete message
Hi all,
i use dovecot-1.1_rc1 with postfix and maildrop as deliver. The problem is where user gets overquota, at this point he is unable to delete message in pop3 as imap.
dovecot.conf has:
plugin { quota = maildir } protocol imap { mail_plugins = quota imap_quota } protocol pop3 { mail_plugins = quota }
I change it to
plugin { quota = maildir:ignore=Trash }
and
plugin { quota = maildir:storage=100240:ignore=Trash }
but the problem persist.
I have to del manually maildirsize file to get the user back to delete.
Any suggestion ?
tnx
s
On Fri, 2008-03-07 at 01:29 +0100, sa wrote:
i use dovecot-1.1_rc1 with postfix and maildrop as deliver. The problem is where user gets overquota, at this point he is unable to delete message in pop3 as imap.
There should be no problems deleting the mail from POP3.
plugin { quota = maildir:ignore=Trash }
There is no :ignore=Trash option in v1.1 anymore. See quota rules in http://wiki.dovecot.org/Quota/New
ok for pop3,
i change to:
plugin { quota = maildir quota_rule2 = Trash:storage=100M }
problem persist in imap connections
tnx
s
-----Original Message----- From: dovecot-bounces+sa=chiedere.info@dovecot.org [mailto:dovecot- bounces+sa=chiedere.info@dovecot.org] On Behalf Of Timo Sirainen Sent: venerdì 7 marzo 2008 1.37 To: sa Cc: dovecot@dovecot.org Subject: Re: [Dovecot] dovecot overquota and delete message
On Fri, 2008-03-07 at 01:29 +0100, sa wrote:
i use dovecot-1.1_rc1 with postfix and maildrop as deliver. The problem is where user gets overquota, at this point he is unable to delete message in pop3 as imap.
There should be no problems deleting the mail from POP3.
plugin { quota = maildir:ignore=Trash }
There is no :ignore=Trash option in v1.1 anymore. See quota rules in http://wiki.dovecot.org/Quota/New
On Fri, 2008-03-07 at 01:46 +0100, sa wrote:
ok for pop3,
i change to:
plugin { quota = maildir quota_rule2 = Trash:storage=100M }
problem persist in imap connections
The above doesn't actually do anything because you didn't specify quota_rule:
quota = maildir quota_rule = *:storage=100M quota_rule2 = Trash:storage=100M
ok, it's work but it forces a standard quota to all and I have mysql backend.
I change it to :
plugin { quota = maildir quota_rule = *:storage=100M quota_rule2 = Trash:storage=100M user_query = select concat('*:bytes=', quota) as quota_rule from mailbox where userid = '%u' }
but the user got the standard 100M ... how can I specify mysql backend correctly ?
tnx
s
-----Original Message----- From: Timo Sirainen [mailto:tss@iki.fi] Sent: venerdì 7 marzo 2008 1.52 To: sa Cc: 'Dovecot Mailing List' Subject: Re: [Dovecot] dovecot overquota and delete message
On Fri, 2008-03-07 at 01:46 +0100, sa wrote:
ok for pop3,
i change to:
plugin { quota = maildir quota_rule2 = Trash:storage=100M }
problem persist in imap connections
The above doesn't actually do anything because you didn't specify quota_rule:
quota = maildir quota_rule = *:storage=100M quota_rule2 = Trash:storage=100M
On Fri, 2008-03-07 at 02:14 +0100, sa wrote:
ok, it's work but it forces a standard quota to all and I have mysql backend.
I change it to :
plugin { quota = maildir quota_rule = *:storage=100M quota_rule2 = Trash:storage=100M user_query = select concat('*:bytes=', quota) as quota_rule from mailbox where userid = '%u'
user_query in plugin {} section does nothing. It needs to be in your dovecot-sql.conf (or wherever your userdb sql points to).
:/
in my dovecot.sql i have user_query for auth, so I cannot duplicate it.
how I can configure It at all ?
s
-----Original Message----- From: dovecot-bounces+sa=chiedere.info@dovecot.org [mailto:dovecot- bounces+sa=chiedere.info@dovecot.org] On Behalf Of Timo Sirainen Sent: venerdì 7 marzo 2008 2.16 To: sa Cc: 'Dovecot Mailing List' Subject: Re: [Dovecot] dovecot overquota and delete message
On Fri, 2008-03-07 at 02:14 +0100, sa wrote:
ok, it's work but it forces a standard quota to all and I have mysql backend.
I change it to :
plugin { quota = maildir quota_rule = *:storage=100M quota_rule2 = Trash:storage=100M user_query = select concat('*:bytes=', quota) as quota_rule from mailbox where userid = '%u'
user_query in plugin {} section does nothing. It needs to be in your dovecot-sql.conf (or wherever your userdb sql points to).
participants (2)
-
sa
-
Timo Sirainen