Dovecot installations and configurations

Dovecot is an open source IMAP and POP3 email server for Linux/UNIX systems

Installing and configuring dovecot
__________________________________
yum -y install dovecot
vim /etc/dovecot.conf

disable_plaintext_auth = no
mail_location = maildir:%hMaildir
prefix = INBOX
inbox = yes
protocols = pop3 pop3s imap imaps

disable_plaintext_auth =no
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
pop3_uidl_format = %08Xu%08Xv
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
unix_listener /var/spool/postfix/private/auth {
mode = 0666

user = postfix
# add

group = postfix
# add

PAM based
————

}
/etc/rc.d/init.d/dovecot start
chkconfig dovecot on
NOTE:passdb auth for PAM and Virtual users
passdb pam {
  # use /etc/pam.d/imap and /etc/pam.d/pop3
  args = *
}

passdb pam {
  # use /etc/pam.d/mail
  args = mail
}
passdb pam {
  args = session=yes dovecot
}

Virtual user based
——————
mail_location = maildir:/home/%d/%n/Maildir
userdb passwd-file {
  args = /home/%d/etc/passwd
}
passdb passwd-file {
  args = /home/%d/etc/shadow
}

mail_location = maildir:~/Maildir
passdb pam {
}
userdb static {
  args = uid=vmail gid=vmail home=/var/mail/virtual/%d/%n
}

More read from
http://dovecot.org/ and
http://wiki.dovecot.org/MailServerOverview

 

Advertisements

Posted on February 25, 2012, in LInux Based, Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: