Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Often application need to deliver mail. It is also useful for alerts.

This article outlines how to send emails. For receiving emails and hosting we recommend a dedicated mail server or for non-profits or small businesses to setup their domain name with Google which is free.

Install and Configure 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.

sudo apt-get install postfix

Then select the following options,

  • Internet site
    krypton.com

Setup Mail Delivery Account

sudo addgroup --gid 3001 mailadmin
sudo useradd -d /home/mailadmin -m -g mailadmin -u 3001 -c "Mail Admin catch-all" -s /bin/false mailadmin

Configure and Restart

sudo postconf \-e 'home_mailbox = Maildir

If we want multiple domains, for example, earth.com, just add it to the list by editing /etc/postfix/main.cf and adding earth.com to the mydestination line.

Setup MX Records

This section should be filled out with a general discussion of what MX is for and how to configure within Rackspace.

References

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

http://www.linuxmail.info/mbox-maildir-mail-storage-formats/ - Deciding on Mbox vs Maildir

http://www.tummy.com/Products/vpostmaster/recipes/dovecotsasl.html - Syrus vs Dovecot

  • No labels