ihsan.dogan.ch
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.

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

Uncompress the file with bunzip2 and then install the package with pkgadd:
# bunzip2 CNDpostfix-2.4.6,REV=080102-SunOS5.10-sparc.pkg.bz2
# pkgadd -d CNDpostfix-2.4.6,REV=080102-SunOS5.10-sparc.pkg CNDpostfix

Now you can change /etc/postfix/main.cf according to your needs and start Postfix with:
# svcadm enable svc:/network/postfix:default

Please have a look a the Postfix documentation.

Downloads:
Postfix 2.6.5, revision 090830 for Solaris 10 sparc
Postfix 2.6.5, revision 090830 for Solaris 10 x86

Postfix 2.6.2, revision 090607 for OpenSolaris 2009.06 x86 NEW! (experimental)

Additional information:

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

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:

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

Powered by Solaris UltraSPARC Driven
Valid XHTML 1.1! Valid CSS!