On Sep 28, 2006, at 12:25 PM, Gufo wrote:
this is my first mail here, please correct if is not the right place to post this kind of informations.
The best way to get this to the right person would be to open a bug in trac, assign it to the port maintainer, and attach your patches.
The current port of postfix doesn't work well, so I did some work trying to make it ok:
Attached are: - a simple patch to postfix-script so it can correctly recognise folders permissions - a patch to the portfile which: * add cyrus support (this must be done explicitely in 2.3.X) * try to compile postfix against _system_ openssl and _macports'_ sasl2
We try to use macports provided libraries whenever possible. (see http://trac.macports.org/projects/macports/wiki/FAQ - "Why is MacPorts using its own libraries?")
* bump postfix version to 2.3.4
There's one unresolved issue, no matter if I explicitly compile it against system or macports version of openssl, I have this warning:
------ postfix/smtp[24927]: warning: run-time library vs. compile-time header version mismatch: OpenSSL 0.9.8 may not be compatible with OpenSSL 0.9.7 ------
Which means it compiles against system version of openssl and uses macports' one at run time.
It means it found one version of the openssl headers and is linked to a different version of the library ... that's bad and is probably why you are having tls issues.
As a result I can't start a tls connection with any mailserver.
After installation 2 files must be deleted (I don't know which is the best way to do this in the Portfile):
/opt/local/var//spool/postfix/maildrop/.turd_postfix /opt/local/var//spool/postfix/public/.turd_postfix
You can't really delete those files on install, but they are an old holdover from before we had destroot.keepdirs , so you can probably change the portfile to no longer generate them. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+