Re: Transitioning from 2.5.5 to 2.10.5

2015-03-22 Thread Steve Matzura
On Sat, 21 Mar 2015 20:24:17 +, you wrote: >On Sat, Mar 21, 2015 at 02:53:12PM -0400, Steve Matzura wrote: > >> I am usually fairly good at this, but some of the organizational and >> configuration symbol-name differences between Postfix 2.5.5 and 2.10.5 >> are, well, way out there! :-) I tho

Re: Transitioning from 2.5.5 to 2.10.5

2015-03-22 Thread Peter
On 03/22/2015 08:19 PM, Steve Matzura wrote: > Thanks Peter. Very instructive. I'm on Red Hat Fedora 21, which came > out this week, which, now that you tell me Postfix version 3 is out, > surprises me that the upgrade didn't take that into account and give > it to me. The Fedora project is conserv

Re: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Łukasz Wąsikowski
W dniu 2015-03-22 o 07:18, Viktor Dukhovni pisze: > On Sun, Mar 22, 2015 at 12:21:21AM +, Viktor Dukhovni wrote: > >> On Sat, Mar 21, 2015 at 08:00:55PM -0400, Wietse Venema wrote: >> >>> >>> /usr/local/bin/openssl s_client -no_ssl2 -cipher aNULL -connect >>> localhost:25 -starttls smtp >>>

Re: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Wietse Venema
Viktor Dukhovni: > On Sat, Mar 21, 2015 at 08:00:55PM -0400, Wietse Venema wrote: > > > > > /usr/local/bin/openssl s_client -no_ssl2 -cipher aNULL -connect > > localhost:25 -starttls smtp > > WARNING: can't open config file: /usr/local/openssl/openssl.cnf > > CONNECTED(0003) > > 3438176:

Re: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Wietse Venema
Wietse Venema: > Postfix links the system libz because MYSQL_README requires it: > > Postfix pre 3.0: > > make -f Makefile.init makefiles \ > 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \ > 'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm' > > So the next step is to remove the m

PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Wietse Venema
Summary: the Postfix SMTP server crashes with signal 11 on FreeBSD 10.1-RELEASE when some library (below, the MySQL client) links zlib at build time, and OpenSSL from ports tries to load zlib lazily at runtime (zlib-dynamic is enabled by default). To reproduce: see the thread "Postfix / OpenSSL si

Re: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Viktor Dukhovni
On Sun, Mar 22, 2015 at 09:07:22AM -0400, Wietse Venema wrote: > BTW mysql does not link in its own libz. Postfix links the > system libz because MYSQL_README requires it: What I was alluding to is that the sources for the mysql-client (MySQL 5.6) package include zlib 1.2.3 sources which are comp

Re: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Wietse Venema
Viktor Dukhovni: > On Sun, Mar 22, 2015 at 09:07:22AM -0400, Wietse Venema wrote: > > > BTW mysql does not link in its own libz. Postfix links the > > system libz because MYSQL_README requires it: > > What I was alluding to is that the sources for the mysql-client > (MySQL 5.6) package include zl

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Wietse Venema
Wietse Venema: > Summary: the Postfix SMTP server crashes with signal 11 on FreeBSD > 10.1-RELEASE when some library (below, the MySQL client) links zlib > at build time, and OpenSSL from ports tries to load zlib lazily at > runtime (zlib-dynamic is enabled by default). > > To reproduce: see the t

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Matthias Andree
Am 22.03.2015 um 20:46 schrieb Wietse Venema: > Ignore the patch. The crashes are the result of a name conflict > with the non-system zlib implementation that is bundled with MySQL. > The fix is to build mysql with the system zlib implementation. The strange thing is, on my system the mysqlclient

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Viktor Dukhovni
On Sun, Mar 22, 2015 at 09:34:12PM +0100, Matthias Andree wrote: > The strange thing is, on my system the mysqlclient library appears to > include system zlib (10.1-RELEASE amd64): > > $ pkg which /usr/local/lib/mysql/libmysqlclient.so.18 > /usr/local/lib/mysql/libmysqlclient.so.18 was installed

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Wietse Venema
Matthias Andree: [ Charset windows-1252 converted... ] > Am 22.03.2015 um 20:46 schrieb Wietse Venema: > > > Ignore the patch. The crashes are the result of a name conflict > > with the non-system zlib implementation that is bundled with MySQL. > > The fix is to build mysql with the system zlib im

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Matthias Andree
Am 22.03.2015 um 22:00 schrieb Viktor Dukhovni: > On Sun, Mar 22, 2015 at 09:34:12PM +0100, Matthias Andree wrote: > >> The strange thing is, on my system the mysqlclient library appears to >> include system zlib (10.1-RELEASE amd64): >> >> $ pkg which /usr/local/lib/mysql/libmysqlclient.so.18 >>

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Viktor Dukhovni
On Sun, Mar 22, 2015 at 11:25:19PM +0100, Matthias Andree wrote: > > Try, "nm -D". I get: > > > > $ nm /usr/local/lib/mysql/libmysqlclient.so.18 | egrep 'deflate' > > 000ece80 T deflate > > 000ee2c0 T deflateBound > > 000ee510 T deflateCopy > > 000

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Matthias Andree
Am 22.03.2015 um 23:25 schrieb Matthias Andree: > Nothing else relating to zlib or libz. Full poudriere 3.1.1 build log > uploaded to > http://people.freebsd.org/~mandree/mysql55-client-5.5.42.log.xz > > There is some local /etc/make.conf stuff in the build but nothing > obviously related to zlib

Re: PATCH: Postfix / OpenSSL signal 11 on delivery from ebay

2015-03-22 Thread Matthias Andree
Am 22.03.2015 um 23:33 schrieb Viktor Dukhovni: > Indeed external referefences would have been "U" rather "T". So your > build is different. The machine OP gave me access to had the 5.6 MySQL > client. The builds may well be different. > > The MySQL documentation: > > > https://dev.mysql.