[Dovecot] over quota issue

PA razor at meganet.net
Tue Dec 21 23:40:12 EET 2010


I have a situation where if a user is over quota and sending through postfix
I get an error, now this error only happens if the user is over quota,
otherwise it works with no problem. However if sending using
/usr/local/libexec/dovecot/dovecot-lda it works every time even if
overquota, any ideas? I just can't seem to figure this one out.

 

TIA, Paul

 

 

Using mail command

 

Dec 21 11:44:53 testip5 dovecot: lda(user2 at virttest1.meganet.net): Panic:
stream doesn't support seeking backwards

Dec 21 11:44:53 testip5 dovecot: lda(user2 at virttest1.meganet.net): Error:
Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0 [0xe660c0] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_syslog_fatal_handler+0x34)
[0xe66164] -> /usr/local/lib/dovecot/libdovecot.so.0 [0xe65704] ->
/usr/local/lib/dovecot/libdovecot.so.0 [0xe6f600] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x68) [0xe6cb68] ->
/usr/local/lib/dovecot/libdovecot.so.0 [0xe6fda8] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read+0x7a) [0xe6cc3a] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x2b) [0xe6ceab]
-> /usr/local/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x87)
[0xe504a7] -> /usr/local/lib/dovecot/libdovecot.so.0 [0xe51d5e] ->
/usr/local/lib/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x43)
[0xe51543] ->
/usr/local/lib/dovecot/libdovecot.so.0(message_parser_parse_header+0x2f)
[0xe5175f] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(index_mail_parse_headers+0x10
1) [0x14bb51] -> /usr/local

Dec 21 11:44:53 testip5 postfix/pipe[20848]: D1F46958166:
to=<user2 at virttest1.meganet.net>, relay=dovecot, delay=0.03,
delays=0.01/0/0/0.02, dsn=4.3.0, status=deferred (Command died with signal
6: "/usr/local/libexec/dovecot/dovecot-lda")

 

Or 

 

Dec 21 11:44:35 testip5 dovecot: dict: mysql: Connected to localhost
(dovecotquota)

Dec 21 11:44:35 testip5 dovecot: lda(user2 at virttest1.meganet.net): Panic:
stream doesn't support seeking backwards

Dec 21 11:44:35 testip5 dovecot: lda(user2 at virttest1.meganet.net): Error:
Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0 [0xc230c0] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_syslog_fatal_handler+0x34)
[0xc23164] -> /usr/local/lib/dovecot/libdovecot.so.0 [0xc22704] ->
/usr/local/lib/dovecot/libdovecot.so.0 [0xc2c600] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_seek+0x68) [0xc29b68] ->
/usr/local/lib/dovecot/libdovecot.so.0 [0xc2cda8] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read+0x7a) [0xc29c3a] ->
/usr/local/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x2b) [0xc29eab]
-> /usr/local/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x87)
[0xc0d4a7] -> /usr/local/lib/dovecot/libdovecot.so.0 [0xc0ed5e] ->
/usr/local/lib/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x43)
[0xc0e543] ->
/usr/local/lib/dovecot/libdovecot.so.0(message_parser_parse_header+0x2f)
[0xc0e75f] ->
/usr/local/lib/dovecot/libdovecot-storage.so.0(index_mail_parse_headers+0x10
1) [0x1afb51] -> /usr/local

Dec 21 11:44:35 testip5 postfix/pipe[20848]: A2739958163:
to=<user2 at virttest1.meganet.net>, relay=dovecot, delay=0.07,
delays=0.03/0.01/0/0.03, dsn=4.3.0, status=deferred (Command died with
signal 6: "/usr/local/libexec/dovecot/dovecot-lda")

 

 

Using dovecot-lda to send

 

Dec 21 11:48:23 testip5 dovecot: dict: mysql: Connected to localhost
(dovecotquota)

Dec 21 11:48:23 testip5 dovecot: lda(user2 at virttest1.meganet.net):
msgid=unspecified: save failed to INBOX: Quota exceed, please email support
for further assistance.

Dec 21 11:48:23 testip5 dovecot: lda(user2 at virttest1.meganet.net):
msgid=unspecified: rejected: Quota exceed, please email support for further
assistance.

 

 

Postfix master: 

# Dovecot LDA

dovecot   unix  -       n       n       -       -       pipe

flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/dovecot-lda -f
${sender} -a ${recipient} -d ${user}@${nexthop}

 

dovecot --version

2.0.8



More information about the dovecot mailing list