March 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

March 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Install Postfix on Solaris 11

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

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>