- Create a VM.
- Download the latest FreeBSD as an .iso image.
- Add a CD device to the VM, and point it to the image.
- VNC into the VM and reboot.
- Follow the installation instructions to create a working FreeBSD system on the VM.
- Log into the VM with ssh.
- Install (via pkg) bash, emacs-nox11, mutt, postfix, sudo, openntpd.
- Change the shell: chsh -s /usr/local/bin/bash.
- Set up sudoers in /usr/local/etc/sudoers. Enable the wheel group.
- Ensure that the login account in in group wheel.
- Set the EDITOR to /usr/local/bin/emacs.
- Set the PAGER to /usr/bin/less.
- Set /etc/resolv.conf to use 8.8.8.8 and 75.75.75.75.
- Stop sendmail (service sendmail stop).
- Disable sendmail and enable postfix.
- Start postfix (service postfix start).
- Set up the SMTP server in .muttrc, ie.,
set smtp_url="smtp://username:password@mail.helical.com:587"
set sendmail="/usr/local/sbin/sendmail -oi"
Be sure to use port 587. -
Send a test message with mutt.