[Dovecot] dovecot 2.0b3 crash with lmtp and DNS based proxy

Oliver Eales jester at arcor.de
Fri Feb 26 18:32:56 EET 2010

i am trying to proxy a LMTP connection with version 2.0b3
Currently i have the problem when trying to use a named based proxy for
LMTP the process doesn't resolve the hostname and crashes:

Feb 26 16:53:26 auth: Debug: ldap(vodafonemail56 at vodafone.de,::1): pass
search: base=ou=mailboxes,ou=vfag,c=de,o=vodafone scope=subtree
filter=(&(objectClass=uco)(mail=vodafonemail56 at vodafone.de))
Feb 26 16:53:26 auth: Debug: ldap(vodafonemail56 at vodafone.de,::1):
result: userpassword(password)=<hidden> proxy(proxy)=1
Feb 26 16:53:26 auth: Debug: master out: PASS   1       proxy  
Feb 26 16:53:26 lmtp(17929): Debug: auth input: proxy
Feb 26 16:53:26 lmtp(17929): Error: lmtp client: kangaroo.arcor-so.net
is not a valid IP
Feb 26 16:53:30 lmtp(17929): Info: Disconnect from ::1: Client quit
Feb 26 16:53:30 master: Error: service(lmtp): child 17929 killed with
signal 11 (core dumped)

Program terminated with signal 11, Segmentation fault.
#0  0x00000000004081fe in lmtp_proxy_try_finish (proxy=0x633898) at
193             if (lmtp_proxy_send_data_replies(proxy) &&
(gdb) bt full
#0  0x00000000004081fe in lmtp_proxy_try_finish (proxy=0x633898) at
No locals.
#1  0x0000000000409bb3 in lmtp_client_deinit (_client=<value optimized
out>) at lmtp-client.c:137
        client = (struct lmtp_client *) 0x633db8
#2  0x00000000004089c8 in lmtp_proxy_deinit (_proxy=<value optimized
out>) at lmtp-proxy.c:86
        proxy = (struct lmtp_proxy *) 0x633898
#3  0x000000000040602e in client_destroy (client=0x6191c8, prefix=<value
optimized out>, reason=<value optimized out>)
    at client.c:255
No locals.
#4  0x00000000004067d3 in cmd_quit (client=0xb, args=<value optimized
out>) at commands.c:407
No locals.
#5  0x000000000040669b in client_input_handle (client=0x6191c8) at
        _data_stack_cur_id = 3
        output = (struct ostream *) 0x619b80
        line = 0x631461 "quit"
        ret = <value optimized out>
#6  0x00007f3217c9b8db in io_loop_handler_run (ioloop=<value optimized
out>) at ioloop-epoll.c:208
        ctx = (struct ioloop_handler_context *) 0x6177b0
        event = (const struct epoll_event *) 0x617820
        list = (struct io_list *) 0x619c60
        io = (struct io_file *) 0x619c20
        tv = {tv_sec = 59, tv_usec = 976185}
        t_id = 2
        msecs = <value optimized out>
        ret = 1
        call = <value optimized out>
#7  0x00007f3217c9aa48 in io_loop_run (ioloop=0x6175a0) at ioloop.c:350
No locals.
#8  0x00007f3217c8ae03 in master_service_run (service=0x617480,
callback=0x6) at master-service.c:478
No locals.
#9  0x0000000000405b92 in main (argc=1, argv=0x617370) at main.c:92
---Type <return> to continue, or q <return> to quit---
        set_roots = {0x40bd00, 0x40b980, 0x0}
        service_flags = <value optimized out>
        storage_service_flags = 675
        c = <value optimized out>

Oliver Eales

More information about the dovecot mailing list