[Dovecot] Override quota rules based on mail's content

Timo Sirainen tss at iki.fi
Thu Sep 10 22:59:52 EEST 2009


well, you could also do:

/etc/dovecot-noquota.conf:

!include /etc/dovecot.conf
mail_plugins = 

With v1.2+ you could do it a bit more cleanly by overriding quota
instead of mail_plugins:

plugin {
  quota = maildir:User quota:noenforcing
}

On Thu, 2009-09-10 at 12:53 -0700, Marty Anstey wrote:
> While we're on this subject,
> Having to maintain two copies of the config file isn't a very elegant
> solution. Is there a possiblity of perhaps introducing a flag to deliver
> to instruct it to ignore quote rules?
> 
> > On Thu, 2009-09-10 at 13:13 +0200, Andreas Calvo Gómez wrote:
> >   
> >> But I need the mails that come from the local domain to bypass the quota
> >> rule and be delivered to the users' inbox.
> >> Is there any way to do that?
> >>     
> >
> > Create a copy of dovecot.conf that doesn't use quota and use it with
> > deliver -c /etc/dovecot-noquota.conf
> >
> >   
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090910/e077da33/attachment.bin 


More information about the dovecot mailing list