[Dovecot] doveadm-lda - segfault

Kamil Jońca kjonca at o2.pl
Tue Dec 11 23:05:33 EET 2012


Pascal Volk <user+dovecot at localhost.localdomain.org> writes:

> On 12/11/2012 11:18 AM Kamil Jońca wrote:
>>  When I try to 
>> 
>> dovecot-lda < message.txt
>> 
>> (for sieve refiltering) I got segmentation fault.
>> Does it is bug in lda, or message does not keep standards?
>> KJ
>
> I've saved your example message and delivered it twice (Dovecot 2.1.11
> and 2.0.21). I'm unable to reproduce the crash.
>
> Please read http://dovecot.org/bugreport.html and provide the necessary
> details.

dovecot -n
--8<---------------cut here---------------start------------->8---
# 2.1.12 (f13f2725882e): /etc/dovecot/dovecot.conf
# OS: Linux 3.6.7+1 x86_64 Debian wheezy/sid 
auth_debug = yes
auth_mechanisms = plain digest-md5 cram-md5 login
auth_username_format = %n
auth_verbose = yes
log_path = /var/log/dovecot
namespace {
  hidden = no
  inbox = yes
  list = yes
  location = maildir:~/Mail/0:LAYOUT=fs:INBOX=~/Mail/0/INBOX
  prefix = 
  separator = /
  subscriptions = yes
  type = private
}
passdb {
  args = scheme=PLAIN /etc/security/dovecot.pwd
  driver = passwd-file
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change save
  mail_log_fields = uid box msgid size from flags
  sieve = ~/.dovecot.sieve
  sieve_execute_bin_dir = %h/sieve/bin
  sieve_execute_exec_timeout = 86400s
  sieve_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute +vnd.dovecot.filter
  sieve_filter_bin_dir = %h/sieve/bin
  sieve_filter_exec_timeout = 86400s
  sieve_pipe_bin_dir = %h/sieve/bin
  sieve_pipe_exec_timeout = 86400s
  sieve_plugins = sieve_extprograms
}
protocols = " imap lmtp"
service auth {
  user = root
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = " sieve"
}
protocol lda {
  deliver_log_format = msgid=%m: %$
  log_path = ~/log/deliver.log
  mail_plugins = " sieve"
  postmaster_address = root at localhost
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins = zlib imap_zlib  mail_log notify acl
}
--8<---------------cut here---------------end--------------->8---

Dovecot taken from deb http://xi.rename-it.nl/debian/ testing-auto/dovecot-2.1 main
+ manually compiled sieve exptrograms plugin.

Maybe its worth noticing that 
adding line 

--8<---------------cut here---------------start------------->8---
Return-path: <a at b.c>
--8<---------------cut here---------------end--------------->8---
to example message makes dovecot-lda working.

-- 
http://modnebzdury.wordpress.com/2009/10/01/niewiarygodny-list-prof-majewskiej-wprowadzenie/
You can no more win a war than you can win an earthquake.
		-- Jeannette Rankin




More information about the dovecot mailing list