ciphermethod.com

Postfix/Dovecot Install

by on Feb.23, 2012, under Linux, Red Hat

Install Postfix:
yum install postfix (RedHat)
apt-get install postfix (Debian)

Add Domains to Accept Mail For:
vi /etc/postfix/main.cf
set
mydestination = localhost.localdomain, localhost, domain.com, host

Tell Postfix to use Maildir instead of mbox format:
postconf -e "home_mailbox = Maildir/"
postconf -e "mailbox_command ="

Set MAIL variable in /etc/profile:
export MAIL=$HOME/Maildir

Restart Postfix:
service postfix restart

Mail local user and confirm mail is delivered.

Install Dovecot:
apt-get install dovecot-common dovecot-imapd dovecot-pop3d

No comments for this entry yet...

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

But Wait, There's More!

A few highly recommended friends...