Postfix Packages for Solaris 10 (sparc and x86) and OpenSolaris 2009.06 (only 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.

I am currently working on a package for Solaris 11!

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.10.2 for Solaris 10 sparc
# pkgadd -d http://ihsan.dogan.ch/postfix/downloads/CNDpostfix-2.10.2,REV=130928-SunOS5.10-sparc.pkg CNDpostfix

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

Install Postfix version 2.9.8 for Solaris 10 sparc (legacy)
# pkgadd -d http://ihsan.dogan.ch/postfix/downloads/CNDpostfix-2.9.8,REV=130928-SunOS5.10-sparc.pkg CNDpostfix

Install Postfix Version 2.9.8 for Solaris 10 x86 (legacy)
# pkgadd -d http://ihsan.dogan.ch/postfix/downloads/CNDpostfix-2.9.8,REV=130928-SunOS5.10-i386.pkg CNDpostfix

Now you can edit the configuration files located at /etc/postfix according to your needs and start Postfix with:
# svcadm enable svc:/network/postfix:default

Please have a look a the Postfix documentation.

Postfix 2.10.2 revision 130928 for Solaris 10 sparc
Postfix 2.10.2 revision 130928 for Solaris 10 x86
Postfix 2.9.8, revision 130928 for Solaris 10 sparc
Postfix 2.9.8, revision 130928 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 Solaris UltraSPARC Driven
Valid XHTML 1.1! Valid CSS!