[Dovecot] How to prevent delivery to mailboxes over quota at SMTP-time

Ralf Hildebrandt r at sys4.de
Fri Apr 12 16:40:18 EEST 2013


* Thomas Leuxner <dovecot at dovecot.org>:
> * Ralf Hildebrandt <r at sys4.de> 2013.04.11 23:00:
> 
> > http://sys4.de/en/blog/2013/04/08/postfix-dovecot-mailbox-quota/
> 
> Hi Ralf,
> 
> played around with it a bit. There is another thread here which indicates people couldn't get it to work. With the latest and greatest it seems to have some query issue:
> 
> [...]
> Apr 12 09:22:04 spectre postfix/smtpd[18355]: warning: access table inet:127.0.0.1:10027 entry  has empty value
> [...]

Try testing it manually, like this:

# telnet localhost 12340
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
request=smtpd_access_policy
sender=sentto-19572345-3526-1365773584-mateusz.xxxxx=charite.de at returns.groups.yahoo.com
recipient=mateusz.xxxxx at charite.de
size=100

action=552 5.2.2 Quota exceeded (mailbox for user is full)


-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich



More information about the dovecot mailing list