On 15 Feb 2012, at 7:57, jeffrey j donovan wrote:

On Feb 14, 2012, at 10:57 PM, Bill Cole wrote:

On 14 Feb 2012, at 17:35, Bradley Giesbrecht wrote:

On Feb 14, 2012, at 6:45 AM, jeffrey j donovan wrote:

greetings

I have a couple of PPC 10.5 machines running as authenticated smtp relays. I upgraded postfix to 2.9.0 using macports.

I am running into a warning when I run postfix check.

/opt/local/sbin/postconf: warning: /opt/local/etc/postfix/main.cf: unused parameter: smtpd_use_pw_server=yes /opt/local/sbin/postconf: warning: /opt/local/etc/postfix/main.cf: unused parameter: smtpd_pw_server_security_options=login,cram-md5 /opt/local/sbin/postconf: warning: /opt/local/etc/postfix/main.cf: unused parameter: enable_server_options=yes


these options were to access my local password server for authentication. Is there an alternate command ? how do I get my users to authenticated without creating another password database ?

thanks for any insight
-j

To see what Apple is doing look here at postfix-174.2:
http://opensource.apple.com/release/mac-os-x-1058/

Also useful if anyone wants to try building a more current Apple-customized version of postfix on older MacOS versions:

Hi Bill,
do you have any instructions on how to do that ? I have a bunch of 10.5.8 machines running postfix 2.4 and I need to update them.

I have not done so myself, as I long ago switched my older Macs running MTA's to standard Postfix (i.e. roughly what MacPorts provides) and use Dovecot SASL's PAM support to work with real system users. Building from Apple's source may be something of a challenge since they don't really document the build environment required, specific dependencies for the various projects like Postfix, or OS version compatibilities. It could be that all of the newer versions on that site are only compatible with the MacOS versions they were released with, and making them build and function on a Leopard machine may require a serious backporting effort or be essentially impossible without re-implementing their changes for Lion in Leopard-compatible ways. On the other hand, getting up to the latest Apple version of Postfix as shipped on Lion may be as simple as a couple of 'make' commands. If you are not already comfortable doing build debugging, I would recommend not putting much effort into this beyond seeing if it "Just Works".

The tarballs include a Makefile that appears to include a normal set of targets that patch the source, build with Mac-aware options, and install in Mac-specific places with auxiliary stuff like launchd files and default configs. So a first try (on a Mac with the developer tools installed and which you have a good backup for, of course) would be:

1. Download and unpack the tarball for the version you want to try (the latest is 229.3, based on Postfix 2.8.3) 2. Open a Terminal winow and either launch a root shell or preface everything below with 'sudo' (which will ask you for your password the first time... I expect you know that routine) 3. Use cd to switch into the directory that was unpacked from the tarball (i.e. 'postfix-229.3' if you got 229.3) 4. Run 'make build' which will patch the source and attempt to build postfix. This may well fail the first time. 5. This is the point of decision: if 'make build' fails the first time, you can either give up or dive into the build debugging/backporting process. I can't walk you through that (particularly on this list) and I don't advise doing it at all if you are not already somewhat familiar with software porting. The risk of trying that is that you can waste a lot of time trying to fix whatever does not work and get nowhere. In my experience, the critical skill in this sort of hacking has been recognizing when I'm out of my depth or putting in more time than the real value of the solution. 6. If (4) Just Works, run 'make install' to install the fresh Postfix under /usr/local or edit the Makefile to change DSTROOT to '/' if you want to clobber the existing Postfix. If you install in /usr/local you will need to manually replace the existing Postfix launchd file in /System/Library/LaunchDaemons with a link to the new one into /usr/local/System/Library/LaunchDaemons


Reply via email to