Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For receiving emails and hosting it is recommend to use a dedicated mail server. Non-profits or small businesses should consider the using Google Apps which is free.

Install Postfix

Postfix is free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. It is intended as a fast, easier-to-administer, and secure alternative to the widely-used Sendmail MTA.

Code Block
languagebash
sudo apt-get install postfix

 

Configuring Postfix

 

Basics of Postfix

Default installations of Postfix stores all messages in an mbox file. To see what directory it is using use the command,

...

The newer maildir format is now recommened so follow the next section to change to maildir.

Setup Mail Delivery Account

The overall consensus is to use the maildir format with a mail directory being used for each user.

main.cf

Backup /etc/postfix/main.cf in case something goes wrong. All the subsequent commands modify main.cf,

...

Code Block
languagebash
sudo postconf -e "inet_interfaces = loopback-only" # receive no mail from the network, and do not deliver any mail locally

 

Reverse DNS

Warning

TBC - This should explain why we would want reverse dns.

Reverse DNS unless delegated is managed by the ISP provider. Generally this means whoever manages the IP address of your server.

Setup spf Records

Warning

TBC - This section should be filled out with a general discussion of what spf is for and how to configure within Rackspace or your registrar.

Test

Here is how to send a test email.

...

Tip

If you do not see your receive your test email, try looking in your spam folder.

References

https://help.ubuntu.com/10.04/serverguide/C/postfix.html - How to setup postfix

...