Hits : 3840

In 5min dovecot with local users


Dovecot


http://dovecot.org


top


Installation


wget -c http://www.dovecot.org/releases/1.2/dovecot-1.2.1.tar.gz
tar zxvf dovecot-1.2.1.tar.gz
cd dovecot-1.2.1
 
./configure
make
make install

top


Useradd


useradd dovecot -g mail

top


Configuration


cp dovecot-example.conf dovecot.conf

Edit dovecot.conf and change this values:


disable_plaintext_auth = no
ssl = no
mail_location = maildir:/var/spool/mail/%u:INBOX=/var/spool/mail/%u/.INBOX


top


Check


To check dovecot for Non Default Configuration


dovecot -n

To see the Full Configuration:


dovecot -a

top


Run 


dovecot

top


Test


[ebal@myhome:~]¤ telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready.
 
1 login ebal test
 
1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH] Logged in
^]  
 
telnet> clo Connection closed.

top