freebsdrocks.net was started originally as nospam.mine.nu.
Please make sure your ports system is up-to-date.
If you are using IPv4 and not IPv6 you can disable the IPv6 checkmark from any port by running the following command:
# echo 'OPTIONS_UNSET=IPV6' >> /etc/make.conf
# cd /usr/ports/ftp/curl
# make install clean
Options for ca_root_nss 3.11.9_2
[X] ETCSYMLINK Add symlink to /etc/ssl/cert.pem
Perl 5.30
# cd /usr/ports/lang/perl5.30
# make install clean
# cd /usr/ports/shells/bash
# make install clean
# cd /usr/ports/devel/gmake
# make install clean
# cd /usr/ports/archivers/unzip
# make install clean
# cd /usr/ports/ftp/wget
# make install clean
# cd /usr/ports/dns/bind-tools
# make install clean
groff
# cd /usr/ports/textproc/groff
# make install clean
We need to install ucspi-ssl so qmail will accept smtp connections with ssl. We can do that like so:
# cd /usr/ports/sysutils/ucspi-ssl
# make install clean
Apache 2.4 or better with SSL and PHP 7.0 (SSL is HIGHLY recommended)
Mysql Server 5.6 or Higher
Certbot
If you would like to create a queuing server please check out the following link:
How to create a queing server
A few of John Simpson's scripts use a link to perl which doesn't exist on FreeBSD so we need to create a symlink to it as follows:
# cd /usr/bin
# ln -s /usr/local/bin/perl perl
# killall sendmail
# mv /usr/sbin/sendmail /usr/sbin/sendmail.old
# chmod 0 /usr/sbin/sendmail.old
NOTE: If you are running FreeBSD 12 CURRENT please use the following line:
sendmail_enable="NONE"
# echo "sendmail_enable=NONE" >> /etc/rc.conf
# echo "sendmail_submit_enable=NO" >> /etc/rc.conf
# echo "sendmail_outbound_enable=NO" >> /etc/rc.conf
# echo "sendmail_msp_queue_enable=NO" >> /etc/rc.conf
# echo "NO_SENDMAIL=yes" >> /etc/make.conf
# echo "NO_MAILWRAPPER=yes" >> /etc/make.conf
# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
# ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
# 150.clean-hoststat
daily_clean_hoststat_enable="NO" # Purge sendmail host