Postfix
How to do basic setup of the postfix mail server on your boxcar. This configuration will allow you to send mail from localhost on your boxcar. This is a good configuration if you are running an application that needs to send mail from your boxcar. More complex configs will be coming soon.
- ssh to your boxcar
sudo apt-get install postfix- The installation script will ask you some questions. First you are asked what kind of mail server you want to be, select “Internet Site”.
- It will then ask what “Mail name” to use. This is the domain from which mail will appear to originate. This should be the domain you are pointing at your boxcar not the hostname of the boxcar itself.
- Once this command completes you have a basic install of postfix running. Any further configuration will occur in /etc/postfix/main.cf It is fairly well commented if you need more customization.