1. List
and Version of Packages:
postfix-2.6.6-2.el6.x86_64
dovecot-2.0-0.10.beta6.20100630.el6.x86_64
squirrelmail-1.4.6-1.norlug.noarch
2. Postfix
Installation and Configuration
yum install postfix
vim /etc/postfix/main.cf
Main.cf
file should be look like this
myhostname = mail.demoslice.com
mydomain = demoslice.com
inet_interfaces = all
mydestination = $myhostname,
localhost.$mydomain, localhost,
$mydomain
mynetworks = 10.10.10.0/24, 127.0.0.0/8
home_mailbox = Maildir/
At the end
of main.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
broken_sasl_auth_clients = yes
4. Dovecot
Installation and Configuration
yum
install dovecot
vim /etc/dovecot/dovecot.conf
Dovecot.conf should look like this
protocols
= imap pop3 lmtp
vim
/etc/dovecot/conf.d/10-mail.conf
mail_location
= maildir:~/Maildir
vim
/etc/dovecot/conf.d/10-master.conf
unix_listener
/var/spool/postfix/private/auth {
mode = 0666
user = postfix
group = postfix
vim /etc/dovecot/conf.d/10-auth.conf
auth_mechanisms = plain login
vim /etc/dovecot/conf.d/20-pop3.conf
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls
oe-ns-eoh
5. Installing
and Configuring Squirrelmail
yum
install squirrelmail
/usr/share/squireelmail/config/config.pl
Then enter D and enter dovecot
Now press 2 and enter domain name.
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.