Opened 18 years ago

Closed 18 years ago

#10679 closed defect (fixed)

UPDATE: Postfix-2.3.2 -> 2.3.6 and fix tls and sasl variants

Reported by: canela@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: postfix tls mail Cc: sbranzo@…, markd@…
Port:

Description

Postfix have some problem with tls support. Compiling the "tld" variants of postfix leads to some warning about prebindings:

[....] /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x3b000 size = 0x4000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with LINKEDIT segment (address = 0x14000 size = 0x39000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x3f000 size = 0x11000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = 0x101000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x3f000 size = 0x11000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with LINKEDIT segment (address = 0x14000 size = 0x39000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x101000) of /opt/local/lib/libcrypto.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = 0x13000) of /opt/local/lib/libsasl2.2.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x101000) of /opt/local/lib/libcrypto.0.9.8.dylib overlaps with DATA segment (address = 0x13000 size = 0x1000) of /opt/local/lib/libsasl2.2.dylib [....]

I don't know if they're correlated to this warning issued while starting up:

smtp[7365]: warning: run-time library vs. compile-time header version mismatch: OpenSSL 0.9.8 may not be compatible with OpenSSL 0.9.7

While trying to send an email to a TLS-enabled external mail server this problem arose:

postfix/smtp[7365]: TLS connection established to smtp.XXX.XXX: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) postfix/smtp[7365]: ED948E163A: to=<XXX@…>, relay=smtp.XXX.XXX[208.99.XXX.XXX]:587, delay=266121, delays=266098/0.5/23/0, dsn=4.4.2, status=deferred (lost connection with smtp.XXX.XXX[208.99.XXX.XXX] while performing the EHLO handshake)

The same external mail server using postfix from fink works great.

Gufo

Attachments (1)

postfix.diff (1.6 KB) - added by markd@… 18 years ago.
Portfile diff 2.3.6 update

Download all attachments as: .zip

Change History (7)

comment:1 Changed 18 years ago by canela@…

TYPO: The variant is tls not tld, sorry.

comment:2 Changed 18 years ago by markd@…

Summary: Postfix openssl issueBUG: Postfix openssl issue /w tls variant

comment:3 Changed 18 years ago by danielluke (Daniel J. Luke)

prebinding warnings aren't a problem.

It looks like the start up warning is a problem (it appears that it has been compiled and linked against different openssl versions, probably the system version and the Macports one).

Changed 18 years ago by markd@…

Attachment: postfix.diff added

Portfile diff 2.3.6 update

comment:4 Changed 18 years ago by markd@…

Cc: sbranzo@… markd@… added

Added sbranzo's patch. The .turd files can be removed in the post-activate phase. It is an ugly way to do it since MacPorts will still show it as registered, but I did that for a port of mine for lack a better way. Do you want to try that and update the patch?

comment:5 Changed 18 years ago by markd@…

Summary: BUG: Postfix openssl issue /w tls variantUPDATE: Postfix-2.3.2 -> 2.3.6 and fix tls and sasl variants

comment:6 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

Committed, thanks!

Note: See TracTickets for help on using tickets.