Dearest list,
just now I migrated a pine user to dovecot. Nothing special so far, but
then I saw this in my syslog and the user reported, that he got this
error message:
MAIL FOLDER "INBOX" CLOSED DUE TO ACCESS ERROR
Obviously this problem is related to his local filter rules:
If commented out everything works like a charm. The corresponding
filter rule looks for a "From"-Line in the email header but the filter
string itself is empty. I know this filter rule does not make a lot of
sense, but nevertheless it shouldn't crash the imap process. If there
is any additional information you need please ask.
--- snip ---
Nov 16 11:25:07 imap-mgt dovecot: imap(username): Panic: file
istream-header-filter.c: line 520 (i_stream_create_header_filter):
assertion failed: (ret < 0)
Nov 16 11:25:07 imap-mgt dovecot: imap(username): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x3e81b) [0x7f82a3bc381b] ->
/usr/lib/dovecot/libdovecot.so.0(+0x3e876) [0x7f82a3bc3876] ->
/usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7f82a3b9dacf] -> /usr/lib/do
vecot/libdovecot.so.0(i_stream_create_header_filter+0x27b)
[0x7f82a3babf9b] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_mail_get_header_stream+0x154)
[0x7f82a3e4cf04] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x530)
[0x7f82a3e4e7
e0] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x20)
[0x7f82a3e36630] -> dovecot/imap() [0x416284] ->
dovecot/imap(imap_search_start+0x106) [0x4166f6] ->
dovecot/imap(cmd_search+0xc5) [0x40d535] -> dovecot/imap() [0x41032d] ->
dovecot/imap()
[0x41040d] -> dovecot/imap(client_handle_input+0x135) [0x410635] ->
dovecot/imap(client_input+0x5f) [0x410f5f] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xb5)
[0x7f82a3bcf205] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x18)
[0x7f82a3bce338] -> /usr/lib
/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f82a3bbd0e3] ->
dovecot/imap(main+0x2d1) [0x418f91] ->
/lib/libc.so.6(__libc_start_main+0xfd) [0x7f82a3436c4d] ->
dovecot/imap() [0x408c39]
Nov 16 11:25:07 imap-mgt dovecot: master: Error: service(imap): child
23925 killed with signal 6 (core not dumped)
--- snip ---
doveconf -n:
# 2.0.7 (3aced5ececd7): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.6 xfs
auth_gssapi_hostname = imap.mpifr-bonn.mpg.de
auth_mechanisms = plain login gssapi
auth_verbose = yes
listen = 134.104.18.77
mail_gid = 40000
mail_location = mdbox:/var/mail/%Ln
mail_uid = 40000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date
namespace {
inbox = yes
location prefix separator = .
}
passdb {
args = /etc/dovecot/dovecot-ldap-passdb.conf.ext
driver = ldap
}
plugin {
sieve = ~/.dovecot.sieve
sieve_after = /home/global-after.sieve
sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service auth {
unix_listener auth-userdb {
group = vmail
}
}
service lmtp {
inet_listener lmtp {
address = 134.104.18.77
port = 24
}
}
service managesieve-login {
inet_listener sieve {
address = 134.104.18.77
port = 4190
}
}
ssl = required
ssl_cert = </etc/ssl/certs/imap-server.pem
ssl_key = </etc/ssl/private/imap-server.key
userdb {
args = /etc/dovecot/dovecot-ldap-userdb.conf.ext
driver = ldap
}
protocol lmtp {
mail_plugins = " sieve"
}
protocol imap {
ssl_cert = </etc/ssl/certs/imap-server.pem
ssl_key = </etc/ssl/private/imap-server.key
}
protocol pop3 {
ssl_cert = </etc/ssl/certs/pop3-server.pem
ssl_key = </etc/ssl/private/imap-server.key
}
--
MAX-PLANCK-INSTITUT fuer Radioastronomie
Jan Behrend - Rechenzentrum
----------------------------------------
Auf dem Huegel 69, D-53121 Bonn
Tel: +49 (228) 525 359, Fax: +49 (228) 525 229
jbehrend at mpifr-bonn.mpg.de http://www.mpifr-bonn.mpg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5855 bytes
Desc: S/MIME Cryptographic Signature
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20101116/f312f500/attachment-0002.bin>