Postfix Packages for Solaris 10 (sparc and x86) (with SMF support):

This Postfix package depends only on packages which are shipped with Solaris and it's to replace Solaris' Sendmail with Postfix. Please uninstall SUNWsndmr and SUNWsndmu before you install Postfix.
The package was compiled with Sun Studio 12 and it supports OpenSSL and LDAP (native Solaris libraries).

This package will automaticaly add the required Postfix user and group to the system and register the SMF manifest. Please feel free to contact me for suggestions or bug reports: ihsan@dogan.ch.

These packages have been only tested on Solaris 10. I haven't tested them on any later release (like Solaris 11). I also don't have any plans to build native packages for Solaris 11. The package might work with Solaris 11, but use it at your own risk.
These are also the last Postfix packages I'm going to provide for Solaris 10 and will no longer build and any new Postfix packages.

Howto install:
This package is to replace Sendmail on Solaris 10, so you have to uninstall Sendmail first:
# svcadm disable sendmail
# pkgrm SUNWsndmu
# pkgrm SUNWsndmr

After Sendmail is uninstalled, choose bellow the appropriate package for your system:
Install Postfix version 2.11.4 for Solaris 10 sparc
# pkgadd -d http://ihsan.dogan.ch/postfix/downloads/CNDpostfix-2.11.4,REV=160830-SunOS5.10-sparc.pkg CNDpostfix

Install Postfix version 2.11.4 for Solaris 10 x86
# pkgadd -d http://ihsan.dogan.ch/postfix/downloads/CNDpostfix-2.11.4,REV=160830-SunOS5.10-i386.pkg CNDpostfix

Please have a look a the Postfix documentation.

Postfix 2.11.4 revision 160830 for Solaris 10 sparc
Postfix 2.11.4 revision 160830 for Solaris 10 x86

Additional information:

Uninstall the package and then follow the installation instructions above:
# pkgrm CNDpostfix

Keeping up to date:
Follow me on Twitter

Building your own package:

The package which is provided here, is very generic. If you need a specific functionallity, you may want to build your own package. Please use the Postfix documentation to find out the right options to create the makefiles.

First set the linker options:
$ LD_OPTIONS="-L/opt/SUNWspro/lib -R/usr/sfw/lib -L/usr/sfw/lib" ; export LD_OPTIONS

Set the PATH variable:
$ PATH="/usr/bin:/usr/sfw/bin:/usr/ccs/bin" ; export PATH

Generate the makefiles
$ make makefiles CCARGS="-DUSE_TLS -DHAS_LDAP -lssl -lcrypto -lldap \
-I/usr/sfw/include -I/usr/sfw/include/openssl" AUXLIBS="-R/usr/sfw -L/usr/sfw"

Build Postfix
$ make

To build the package, just execute makePostfixPkg.sh in the Postfix source directory.
$ makePostfixPkg.sh


makePostfixPkg version 0.4.0; a script to create a Postfix package.

Powered by FreeBSD
Valid XHTML 1.1! Valid CSS!