Debian 6.0
Sponsored Link

Install/Configure Dovecot2011/03/12

  Install Dovecot to Configure POP/IMAP Server. This example shows to configure to provide SASL function to Postfix.
root@mail:~#
aptitude -y install dovecot-common dovecot-pop3d dovecot-imapd


root@mail:~#
vi /etc/dovecot/dovecot.conf


# line 53: uncomment and change ( allow plain text auth )

disable_plaintext_auth =
no


# line 95: uncomment and change ( no SSL )

ssl =
no


# line 230: uncomment and add

mail_location =
maildir:~/Maildir


# line 893: add

mechanisms = plain
login


# line 1120: change like below

socket listen {
# uncomment

#master {

# Master socket provides access to userdb information. It's typically

# used to give Dovecot's local delivery agent access to userdb so it

# can find mailbox locations.

#path = /var/run/dovecot/auth-master

#mode = 0600

# Default user/group is the one who started dovecot-auth (root)

#user =

#group =

#}

client {
# uncomment

# The client socket is generally safe to export to everyone. Typical use

# is to export it to your SMTP server so it can do SMTP AUTH lookups

# using it.

path =
/var/spool/postfix/private/auth-client
 
# uncomment and change

mode = 0660
# uncomment

user = postfix
# add

group = postfix
# add

}
# uncomment

}
# uncomment


root@mail:~#
/etc/init.d/dovecot restart

Restarting IMAP/POP3 mail server: dovecotIf you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
.
Matched Content