Porting Postfix 2.4.5

markd at macports.org markd at macports.org
Wed Oct 17 22:56:44 PDT 2007


>In my spare time I've been working on getting Postfix 2.4.5 working with
>MacPorts, as well as getting TLS and SASL to work correctly (OpenSSL
>deps using system libraries instead of the ported version, leading to
>0.9.7 vs 0.9.8 mismatch).
>
>The below portfile *works* correctly (with thanks to Mark Duling to
>helping me get this far!)-- the issue is that while I'm rather
>comfortable with Postifx, I'm quite certain I don't know enough about
>the MacPorts system to make it work in the proscribed manner.  For
>instance, it isn't set up to use variants and whatnot, but the make
>arguments get passed correctly and it uses the proper dependencies.
>
>Can anyone lend a hand towards helping me polish this so that it can be
>published?
>
>The issues I see at the moment:
>
>jay-chandlers-computer:/opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/postfix
>
>jay$ sudo postfix start
>postfix/postfix-script: warning: not owned by root:
>/opt/local/var/spool/postfix
>postfix/postfix-script: warning: not owned by group postdrop:
>/opt/local/var/spool/postfix/public
>postfix/postfix-script: warning: not owned by group postdrop:
>/opt/local/var/spool/postfix/maildrop
>postfix/postfix-script: warning: not owned by group postdrop:
>/opt/local/sbin/postqueue
>postfix/postfix-script: warning: not owned by group postdrop:
>/opt/local/sbin/postdrop
>postfix/postfix-script: warning: not set-gid or not owner+group+world
>executable: /opt/local/sbin/postqueue
>postfix/postfix-script: warning: not set-gid or not owner+group+world
>executable: /opt/local/sbin/postdrop
>postfix/postfix-script: starting the Postfix mail system
>
>That's simple enough to fix-- should just be a chown, I figure.

I committed your update to 2.4.5.  Please test it.
>
>Oct 14 11:57:25 jay-chandlers-computer postfix/master[29706]: daemon
>started -- version 2.4.5, configuration /etc/postfix
>The fact that it's pulling from /etc/postfix for its configuration is
>somewhat more puzzling.

The patchfiles were ommitted from your update and some of them needed to
be carried over from 2.3.8.  I did that.

Mark



More information about the macports-users mailing list