On Thu, Mar 19, 2015 at 10:10:13AM +0100, ?ukasz W?sikowski wrote: > postfix-2.11.4,1 with DOVECOT2, MYSQL, PCRE and TLS. > ... > Postfix config: http://pastebin.com/EimdRvyf > Postfix debug log: http://pastebin.com/imN0ud9X > GDB backtrace: http://pastebin.com/jDaJrqty
Please avoid pastebin in the future. There's a bug in your SSL library. It crashes in zlib's deflate() called via SSL_accept(). http://archives.neohapsis.com/archives/postfix/2014-02/thread.html#266 which leads to (again FreeBSD): http://archives.neohapsis.com/archives/postfix/2013-10/0444.html You can sweep the problem under the rug by disabling compression in OpenSSL. http://www.postfix.org/postconf.5.html#tls_ssl_options tls_ssl_options = NO_COMPRESSION But it sure looks like FreeBSD has some DLL-hell problems. (gdb) bt #0 0x0000000801863a8f in deflateSetDictionary () from /lib/libz.so.6 #1 0x0000000801866035 in deflateCopy () from /lib/libz.so.6 #2 0x0000000801864d52 in deflate () from /lib/libz.so.6 #3 0x0000000800f4c889 in zlib_stateful_compress_block (ctx=<value optimized out>, out=<value optimized out>, olen=17408, in=<value optimized out>, ilen=<value optimized out>) at c_zlib.c:207 #4 0x0000000800f4ba39 in COMP_compress_block (ctx=0x803063a80, out=0x803174000 "\024", olen=13556, in=0x34f40000 <Address 0x34f40000 out of bounds>, ilen=16) at comp_lib.c:46 #5 0x0000000800b97b9b in do_ssl3_write (s=0x803058d00, type=22, buf=0x803106000 "\024", len=16, create_empty_fragment=0) at s3_pkt.c:584 #6 0x0000000800b977c2 in ssl3_write_bytes (s=0x803058d00, type=22, buf_=0x803106000, len=<value optimized out>) at s3_pkt.c:646 #7 0x0000000800b994d9 in ssl3_do_write (s=0x803058d00, type=22) at s3_both.c:132 #8 0x0000000800b89206 in ssl3_accept (s=0x803058d00) at s3_srvr.c:792 #9 0x000000000042ed5c in tls_bio (fd=18, timeout=300, TLScontext=0x8030402d0, hsfunc=0x40676c <SSL_accept@plt>, rfunc=0, wfunc=0, buf=0x0, num=0) at tls_bio_ops.c:198 #10 0x000000000042c975 in tls_server_start (props=0x7fffffffd430) at tls_server.c:778 #11 0x0000000000409328 in smtpd_start_tls (state=0x7fffffffd608) at smtpd.c:4226 #12 0x000000000040b525 in starttls_cmd (state=0x7fffffffd608, argc=1, unused_argv=0x80303c800) at smtpd.c:4437 #13 0x0000000000408d51 in smtpd_proto (state=0x7fffffffd608) at smtpd.c:4854 #14 0x0000000000407203 in smtpd_service (stream=0x803036a90, service=0x7fffffffeef0 "smtpd", argv=0x7fffffffed40) at smtpd.c:4989 #15 0x000000000042b07f in single_server_wakeup (fd=18, attr=0x8030da860) at single_server.c:278 #16 0x000000000042ae6c in single_server_accept_pass (unused_event=1, context=0x6 <Address 0x6 out of bounds>) at single_server.c:361 #17 0x0000000000472138 in event_loop (delay=-1) at events.c:1182 #18 0x000000000042aa9a in single_server_main (argc=6, argv=0x7fffffffed10, service=0x406f30 <smtpd_service>) at single_server.c:772 #19 0x0000000000406f29 in main (argc=6, argv=0x7fffffffed10) at smtpd.c:5484 (gdb) quit Report this bug to the FreeBSD maintainers. -- Viktor.