[Dovecot] Sendmail and deliver LDA exits with EX_TEMPFAIL on overquota

Sotiris Tsimbonis tsimbonis at forthnet.gr
Mon Oct 20 15:29:27 EEST 2008


On 10/20/2008 01:11 PM, Sotiris Tsimbonis wrote:
> 
> The problem is, that with Maildir it can be very costly to calculate the 
> actual mail usage on every mail delivery attempt..
> 
> If I could somehow access dovecot's maildirsize, where the size is 
> already calculated and updated on delivery and retrieval, things would 
> be better..

After reading http://wiki.dovecot.org/Quota/Maildir and the standard 
Maildir++ specification, it's quite easy to get maildirsize after all..

See http://stsimb.irc.gr/2008/10/20/milter-quota-for-maildir/

So now I can bounce messages using a milter at smtp level :)

Sot.


More information about the dovecot mailing list