Install Postfix on Solaris 11
# Prepare compile environment
root@xxx:~/# cat /etc/release
Oracle Solaris 11.1 X86
root@xxx:~/# pkg install developer/gcc-45
root@xxx:~/# pkg install library/gnutls
# Disable sendmail
root@xxx:~/# svcadm disable svc:/network/smtp:sendmail
# get postfix from postfix sites
http://www.postfix.org/download.html
# Install postfix
root@xxx:~/# tar xf postfix-2.x.x.tar.gz
root@xxx:~/postfix-2.10.1# cd postfix-2.x.x
root@xxx:~/postfix-2.10.1# gmake clean
root@xxx:~/postfix-2.10.1# gmake makefiles MAKE=gmake CCARGS=’-DNO_NIS -DUSE_TLS -lssl -lcrypto’
root@xxx:~/postfix-2.10.1# gmake
root@xxx:~/postfix-2.10.1# gmake install
# start Postfix
root@xxx:~/postfix-2.10.1# postfix start
# Test postfix
root@xxx:~/postfix-2.10.1# postfix status
root@xxx:~/postfix-2.10.1# mail -s “Test email” your_name@your_domain.com
Recent Comments