imap-login segfaults when using post-login

Teemu Huovila teemu.huovila at
Wed Nov 26 11:16:46 UTC 2014

I hope you already found the issue on your own, but here are some pointers, just in case.

On 11/12/2014 07:01 PM, Nico Rittner wrote:
> imap-login: Fatal: master: service(imap-login): child 574 killed with signal 11 (core dumps disabled)
> imap[5523]: segfault at 14 ip b7556276 sp bfc1c940 error 4 in[b7529000+d4000]   
> these are the relevant sections i added:
> service imap-login {
>    executable = imap post-login
> }
The service executing the post-login should be imap, not imap-login. Please see

> service post-login {
>    executable = script-login /path/to/exec
> }
> i also used /bin/true as /path/to/exec to exclude
> the used exec itself as the reason. same result.
Testing with /bin/true will not have the expected results. As its last action,  the post-login script needs to call exec on its
argv. In sh this would be done with 'exec "$@"'. Again, I refer you to the wiki for examples.

Teemu Huovila

More information about the dovecot mailing list