Pour installer postfix et nginx

# pkg install nginx postfix

Activer les services
# echo "nginx_enable=YES" >> /etc/rc.conf
# echo "postfix_enable=YES" >> /etc/rc.conf

Lancer les services
/usr/local/etc/rc.d/nginx start
/usr/local/etc/rc.d/postfix start

Activer pf au démarrage
# echo "pf_enable=YES" >> /etc/rc.conf

Démarrer pf :
# /etc/rc.d/pf start
ou
# pfctl -e
# pfctl -f /etc/pf.conf

Eteindre pf
/etc/rc.d/pf stop

Désactiver les messages dans la console

Commenter dans /etc/syslog.conf
#*.err;kern.warning;auth.notice;mail.crit               /dev/console

/etc/rc.d/syslogd restart