[Dovecot] doveadm-lda - segfault

Timo Sirainen tss at iki.fi
Tue Dec 18 21:47:52 EET 2012


On Tue, 2012-12-11 at 23:15 +0100, Kamil Jońca wrote:
> #0  0x00007f99d591fe6f in mail_storage_try_copy (mail=0x198dbb0, _ctx=0x7fff8914fc28) at mail-copy.c:56
> 56	mail-copy.c: No such file or directory.

raw-storage's envelope_sender is NULL. Fixed Dovecot to make sure NULL
isn't returned: http://hg.dovecot.org/dovecot-2.1/rev/579984fdb6e5

But I think Pigeonhole also shouldn't set it to NULL.
sieve-message.c:sieve_message_get_sender() apparently returns NULL if it
can't find anything. Elsewhere this is used when nothing else is there:

#define DEFAULT_ENVELOPE_SENDER "MAILER-DAEMON"





More information about the dovecot mailing list