Replacing the default FreeBSD system mailer Sendmail with Postfix using SMTP AUTH, acting as mail client
# pkg install postfix-sasl1
Would you like to activate Postfix in /etc/mail/mailer.conf [n]? y2
# service sendmail stop
| # compile iptables from source and install to /usr/local | |
| mkdir -p /tmp/iptables | |
| wget "http://www.netfilter.org/projects/iptables/files/iptables-1.4.21.tar.bz2" -qO- | tar --strip-components=1 -C /tmp/iptables -xvj | |
| cd /tmp/iptables | |
| ./configure | |
| make | |
| make install | |
| # set alternatives | |
| sudo alternatives --install /sbin/iptables iptables.x86_64 /usr/local/sbin/iptables 100 \ |