[Dovecot] lda with sieve crash

Michal Hlavinka mhlavink at redhat.com
Fri Jul 16 17:31:32 EEST 2010


Hi,

my colleague found a crash in dovecot, while he was experimenting with 
configuration for using dovecot with fetchmail. Backtrace can be found here: 
http://pastebin.com/XQZqYBpH
Let me know if you need any other info.

Michal

# doveconf -n
# 20100716 (26936bdd3801+): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32
auth_debug = yes
auth_verbose = yes
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:~/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap 
fileinto reject envelope encoded-character vacation subaddress comparator-
i;ascii-numeric relational regex imap4flags copy include variables body 
enotify environment mailbox date spamtest spamtestplus virustest
mbox_write_locks = fcntl
namespace {
  hidden = no
  inbox = yes
  list = yes
  location = maildir:~/Maildir
  prefix = INBOX.
  separator = .
  subscriptions = yes
  type = private
}
passdb {
  driver = pam
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
verbose_ssl = yes
protocol lmtp {
  mail_plugins = sieve
}
protocol lda {
  info_log_path = /var/log/dovecot-deliver.log
  log_path = /var/log/dovecot-deliver-errors.log
  mail_plugins = sieve
}

--------------------------
.dovecot.sieve:

require ["fileinto", "regex"];
if header :contains "X-BeenThere" "bugzilla at redhat.com" {
  fileinto "redhat.bugzilla";
} elsif header :contains "List-Id" "scm-commits.lists.fedoraproject.org" {
  fileinto "fedora.fedora-extras-commits";
} elsif header :contains "List-Id" "package-review.lists.fedoraproject.org" {
  fileinto "fedora.fedora-package-review";
} elsif header :contains "List-Id" "devel.lists.fedoraproject.org" {
  fileinto "fedora.fedora-devel-list";
} elsif header :contains "List-Id" "brno-list.redhat.com" {
  fileinto "redhat.brno-list";
} elsif header :regex "Subject" "^Cron <jkastner@" {
  fileinto "cron";
} else {
  # The rest goes into INBOX
  # default is "implicit keep", we do it explicitly here
  keep;
}
-------------------------------


More information about the dovecot mailing list