[Dovecot] expire plugin + --exec-mail in 1.2.6 version

Timo Sirainen tss at iki.fi
Thu Nov 5 19:52:08 EET 2009


On Sat, 2009-10-31 at 10:42 +0200, Nikita Koshikov wrote:
> The patch helped with quotas, but it raises new error - "segmentation error"

gdb backtrace would be helpful. But how to actually get it could be a
bit difficult, since I guess kernel thinks expire-tool is a setuid
program.

There are two ways I guess:

a) Apply attached diff1 and see if core dump gets written. Once you get
a core, use "gdb expire-tool core", "bt full".

b) If not, apply diff2 and start expire-tool. Then look up its pid and
run "gdb -p <pid>", "cont", wait for crash, "bt full".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff1
Type: text/x-patch
Size: 443 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20091105/b8f7f458/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff2
Type: text/x-patch
Size: 339 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20091105/b8f7f458/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091105/b8f7f458/attachment-0002.bin 


More information about the dovecot mailing list