Richard
upgrading Postfix is one of the easiest in it’s kind, thanks to the excellent Makefile creation done by Wietse Venema (the author of Postfix). The update will even add the latest options to your current config with the default values.
Here are the steps to follow when you are upgrading Postfix. This is only useful if you followed my original installation instructions for Postfix.
To upgrade your current Postfix installation you download the latest version of Postfix and follow the normal installation instructions including the ‘sudo make install‘. Make sure you use the same ‘make’ statement as you used earlier otherwise you might change locations of items. If you don’t remember it, here are the shortcuts to the different install versions:
- Installing Postfix on Tiger
- Installing Postfix on Leopard in 32 bits
- Installing Postfix on Leopard in 64 bits
The new version will activate when you stop and start Postifx. You can use the following commands to properly restart it:
sudo postfix start
To test if everything works correctly check the logfile in ‘/var/log/mail.log‘ if postfix has been started and try to send a mail to and from an external mail service like gmail.
If something has gone wrong and you want to revert to your previous version you can go to the source directory of the previous Postfix release you had installed and execute a ‘sudo make install‘ from there and restart Postfix again. All should be well again.



Comments
11:48 pm
Getting the error below when executing ‘sudo make install’ for postfix. I recompiled pearl just to be sure there wasn’t a change but still get the error. I saw it addressed a couple times on 2.5 but didn’t notice a reason. I’m using an intel on tiger.
/usr/bin/ld: Undefined symbols:
_sasl_set_path
collect2: ld returned 1 exit status
make: *** [smtpd] Error 1
make: *** [update] Error 1
6:33 am
Dennis, did you install and recompile SASL according to the documentation? http://diymacserver.com/installing-the-mailserver/the-basic-mailserver/building-sasl/
6:10 pm
I hadn’t but I did now. Did a make clean and ran postfix configure and install again. I get the same error
/usr/bin/ld: Undefined symbols:
_sasl_set_path
collect2: ld returned 1 exit status
make: *** [smtpd] Error 1
make: *** [update] Error 1
7:54 pm
As per your suggestion, I rolled back to cyrus-sasl-2.1.18 and postfix compiled OK.
Thank you!
6:31 pm
I’m getting the very same error message trying to upgrade Postfix from 2.4.10 to 2.6.3