June 5, 2016 tim

In this brief tutorial I will cover a quick and simple method for mounting folders on your FreeBSD host machine to a jail. I am writing this because I remember having the need to do this for the first time and my google-foo returned a variety of posts with complex and overkill methods. I wanted to mount my host’s /var/music folder within a jail to setup Subsonic. In the host machines /etc folder exists a fstab file for each jail runing on the system.     Example: # cd /etc/ # ls fstab.timstunz_noip_me fstab.debarbora_com fstab.subsonic_org So to mount /var/music to…

June 5, 2016 tim

In this tutorial we will be replacing sendmail with ssmtp to use an AOL email account for sending outgoing email via SSL. You can also use these instructions to do the same with Gmail, Yahoo, or any other SMTP account. Reference: When performing this setup on my FreeBSD servers I have always used http://btt.red/b/2/0/freebsd-use-gmail-for-outgoing-mail for reference, however I am creating this tutorial to add additional steps that I find work best for my setups. Security: DO NOT USE your primary SMTP account with ssmtp, since the configuration requires storing the SMTP account password in plain text, you really want to…