Hi. I am trying to setup dovecot running a pop3 service for external clients (and intend in future to setup an imap interface on localhost only for squirrelmail.)
Exim is delivering ok to local mailboxes, but I can't seem to get dovecot to serve them.
Configuration details:
All users run as the tst user, and authentication is done through postgresql.
...excerpt... mail_extra_groups = tst default_mail_env = mbox:INDEX=~/home/tst/Mail/:/home/tst/Mail/%u protocol pop3 { pop3_uidl_format = %08Xu%08Xv pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } ...excerpt...
Log details:
The log shows that docecot is looking at /home/tst/Mail/test
Feb 11 13:54:55 tst dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=POP3^Isecured^Ilip=217.147.82.200^Irip=83.146.33.145^Iresp=AHRlc3QAcXVhdWpv Feb 11 13:54:55 tst dovecot: auth(default): sql(test,83.146.33.145): query: SELECT passwd as password FROM users WHERE userid = 'test' AND active = 'Y' Feb 11 13:54:55 tst dovecot: auth(default): client out: OK^I1^Iuser=test Feb 11 13:54:55 tst dovecot: auth(default): master in: REQUEST^I1^I14586^I1 Feb 11 13:54:55 tst dovecot: auth(default): sql(test,83.146.33.145): SELECT '/home/tst/Mail/' || home AS home, uid, gid FROM users WHERE userid = 'test' AND active = 'Y' Feb 11 13:54:55 tst dovecot: auth(default): master out: USER^I1^Itest^Ihome=/home/tst/Mail/test^Iuid=1001^Igid=1001 Feb 11 13:54:55 tst dovecot: pop3-login: Login: user=<test>, method=PLAIN, rip=83.146.33.145, lip=217.147.82.200, TLS Feb 11 13:54:58 tst dovecot: pop3(test): Logout. top=0/0, retr=0/ del=0/0, size=0
tst:/home/tst/Mail# ls -lt | grep test -rw------- 1 tst tst 1017 Feb 11 13:41 test
--
Rory Campbell-Lange
rory@campbell-lange.net