Am 07.04.2013 19:58, schrieb Andreas Meyer:
Hello!
Timo Sirainen tss@iki.fi wrote:
On 7.4.2013, at 17.07, Andreas Meyer anmeyer@anup.de wrote:
Got a problem with the quota-status. I added it using the howto from Ralf Hildebrand at http://sys4.de/de/blog/2013/04/05/dovecot-quota-mit-postfix-abfragen/ .. I get this in the logfile of postfix: Apr 7 15:52:51 delta postfix/smtpd[19988]: warning: access table inet:127.0.0.1:12340 entry has empty value
I wonder if that really means that it's getting an empty value or if it's something else. I don't know why it would be getting an empty value. Do you see an anything in Dovecot's error log?
Apr 7 19:55:53 delta postfix/smtpd[23362]: connect from dovecot.org[193.210.130.67] Apr 7 19:55:53 delta postfix/smtpd[23362]: warning: access table inet:127.0.0.1:12340 entry has empty value Apr 7 19:55:53 delta postfix/smtpd[23362]: NOQUEUE: client=dovecot.org[193.210.130.67] Apr 7 19:55:54 delta postfix/smtpd[23234]: 727161B31260: client=localhost[127.0.0.1] Apr 7 19:55:54 delta postfix/cleanup[23369]: 727161B31260: message-id=F5021A00-0B9B-4D1F-8B1A-A133119488E8@iki.fi Apr 7 19:55:54 delta postfix/smtpd[23234]: disconnect from localhost[127.0.0.1] Apr 7 19:55:54 delta postfix/qmgr[22234]: 727161B31260: from=dovecot-bounces@dovecot.org, size=2764, nrcpt=1 (queue active) Apr 7 19:55:54 delta postfix/smtpd[23362]: disconnect from dovecot.org[193.210.130.67] Apr 7 19:55:54 delta postfix/pipe[23370]: 727161B31260: to=anmeyer@anup.de, relay=dovecot, delay=0.24, delays=0.07/0/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service) Apr 7 19:55:54 delta postfix/qmgr[22234]: 727161B31260: removed
I know there's a bug in 2.1.16 where it crashes if you try to ask quota status for a nonexistent user.. http://hg.dovecot.org/dovecot-2.1/rev/c6b4a639cae1 fixes that.
The user exists. This is what I find in the dovecot-lda-errors.log
Apr 07 19:48:13 lda(miles@anup.de): Error: sieve: msgid=20130407193818.62d8c328@itxnew.bitcorner.intern: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full) Apr 07 19:48:13 lda(miles@anup.de): Error: sieve: script /var/spool/vhosts/anup.de/miles/.dovecot.sieve failed with unsuccessful implicit keep (user logfile /var/spool/vhosts/anup.de/miles/.dov ecot.sieve.log may reveal additional details)
as i wrote, without quota_grace , which not exist in 2.1.16 lda or lmtp will bounce by overquota mailbox, so you mostly never reach a level where the quota policy server is needed however the existing policy code should work ( it did with my last small tests 2.1.15...), but for real testing you need upgrade 2.2
Nothing special in the dovecot.log Apr 07 19:47:15 imap-login: Info: Login: user=miles@anup.de, method=CRAM-MD5, rip=84.179.43.201, lip=213.239.207.165, mpid=23264, session=<X4kr6cjZcgBUsyvJ>
Andreas
Best Regards MfG Robert Schetterer
-- [*] 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