Postfix lmtp seg fault
I cannot get postfix to deliver mail via lmtp to cyrus-imap. Here are the
relevant configuration chunks I added:
cyrus.conf:
lmtpcyr cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=1
master.cf
lmtpcyr unix - - n - - lmtp
main.cf:
mailbox_transport = lmtpcyr:unix:/var/run/cyrus/socket/lmtp
Both cyrus-imap and postfix have access to /var/run/cyrus/socket/lmtp. No
problem there.
In the end I turned on debugging for lmtp in master.cf and added a debug
command with gdb in main.cf. This is (a small part) of what I get:
-- snip --
Loaded symbols for /lib/libnss_files.so.2
0x40214718 in waitpid () from /lib/libc.so.6
(gdb) Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x4005c121 in match_hostaddr () from /usr/lib/libpostfix-util.so.1
(gdb) #0 0x4005c121 in match_hostaddr () from /usr/lib/libpostfix-util.so.1
#1 0x4005b78e in match_list_match () from /usr/lib/libpostfix-util.so.1
#2 0x4002c886 in debug_peer_check () from /usr/lib/libpostfix-global.so.1
#3 0x0804c7bf in ?? ()
#4 0x0805a515 in ?? ()
-- snip --
I have no clue as to what is happening. I guess compiling from source is
one option if I figure out how to convince apt-get to play nice without
MTA package...
Adi
Reply to: