Contents
wget -c http://dovecot.org/releases/1.0/dovecot-1.0.15.tar.gz tar zxfv dovecot-1.0.15.tar.gz cd dovecot ./configure --enable-header-install make make install
#!/bin/bash ./configure \ --with-notify=inotify \ --with-ioloop=epoll \ --with-mem-align=32 \ --disable-ipv6 \ --enable-header-install
wget -c http://dovecot.org/releases/sieve/dovecot-sieve-1.0.3.tar.gz tar zxfv dovecot-sieve-1.0.3.tar.gz cd dovecot-sieve-1.0.3 ./configure --with-dovecot=/usr/local/lib/dovecot make make install
username:password:uid:gid:(gecos):home:(shell):extra_fields
ebal:{PLAIN}test:1001:1001:Evaggelos Balaskas ebal2:{PLAIN}test:1001:1001:Evaggelos Balaskas
$ dovecotpw -p test -s MD5-CRYPT {MD5-CRYPT}$1$5LH9m/w2$PhkXZLzBzSEQu0pWLwuO./
ebal:{MD5-CRYPT}$1$5LH9m/w2$PhkXZLzBzSEQu0pWLwuO./:1001:1001:Evaggelos Balaskas ebal2:{MD5-CRYPT}$1$5LH9m/w2$PhkXZLzBzSEQu0pWLwuO./:1001:1001:Evaggelos Balaskas
ebal:{MD5-CRYPT}$1$5LH9m/w2$PhkXZLzBzSEQu0pWLwuO./:1001:1001:Evaggelos Balaskas allow_nets=127.0.0.1,10.10.10.0/24 ebal2:{MD5-CRYPT}$1$5LH9m/w2$PhkXZLzBzSEQu0pWLwuO./:1001:1001:Evaggelos Balaskas allow_nets=127.0.0.1,10.10.20.0/24
userdb_mail=maildir:~/Maildir
/usr/local/sbin/dovecot -n
/usr/local/sbin/dovecot
tail -f /var/log/dovecot*log
$ telnet localhost pop3 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Hi buddy, have an account ? user ebal +OK pass test +OK Logged in. ^]
$ telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK Hi buddy, have an account ? 1 login ebal test 1 OK Logged in. ^]
$ telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK Hi buddy, have an account ? 1 login ebal test 1 OK Logged in. 2 SELECT INBOX * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Label1 NonJunk $Forwarded $Label3 $Label2 $Label4 $Label5 Junk) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Label1 NonJunk $Forwarded $Label3 $Label2 $Label4 $Label5 Junk \*)] Flags permitted. * 8737 EXISTS * 0 RECENT * OK [UIDVALIDITY 1174418788] UIDs valid * OK [UIDNEXT 112330] Predicted next UID 2 OK [READ-WRITE] Select completed. 2 LIST "" * * LIST (\NoInferiors \UnMarked) "/" "draft" * LIST (\NoInferiors \UnMarked) "/" "Trash" * LIST (\NoInferiors \UnMarked) "/" "INBOX" 2 OK List completed.
[link2] http://wiki.dovecot.org/PasswordDatabase/ExtraFields/AllowNets