Hi,
I've searched the archive of mailing list but did not find anything about this issue.
dovecot 1.0alpha5, using mbox format and MySQL DB of users
When user is trying to login via POP3 and there is no corresponding mailbox for it dovecot creates a directory instead of mbox file.
In this time log looks like
Feb 10 10:39:36 orion dovecot: auth-worker(default): sql(ivan.sid@my.com.ua,192.168.3.9): query: SELECT password
FROM users
WHERE login = 'ivan.sid@my.com.ua'
Feb 10 10:39:36 orion dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=192.168.5.23 rip=192.168.3.9 resp=AGl2YW4uaXZhbm9mZkBmY2JhbmsuY29tLnVhADE=
Feb 10 10:39:36 orion dovecot: auth(default): client out: OK 1 user=ivan.sid@my.com.ua
Feb 10 10:39:36 orion dovecot: auth-worker(default): sql(ivan.sid@my.com.ua,192.168.3.9): SELECT "mbox:/var/mail/virtual/my.com.ua/ivan.sid:INBOX=/var/mail/virtual/my.com.ua/ivan.sid:INDEX=MEMORY" AS mail
, 'mailnull' AS uid
, 'mail' AS gid
FROM users WHERE login = 'ivan.sid@my.com.ua'
Feb 10 10:39:36 orion dovecot: auth(default): master in: REQUEST 101 98738 1
Feb 10 10:39:36 orion dovecot: auth(default): master out: USER 101 ivan.sid@my.com.ua mail=mbox:/var/mail/virtual/my.com.ua/ivan.sid:INBOX=/var/mail/virtual/my.com.ua/ivan.sid:INDEX=MEMORY uid=26 gid=6
Feb 10 10:39:36 orion dovecot: pop3(ivan.sid@my.com.ua): Effective uid=26, gid=6
Feb 10 10:39:37 orion dovecot: pop3(ivan.sid@my.com.ua): mbox: data=/var/mail/virtual/my.com.ua/ivan.sid:INBOX=/var/mail/virtual/my.com.ua/ivan.sid:INDEX=MEMORY
Feb 10 10:39:37 orion dovecot: pop3(ivan.sid@my.com.ua): mbox: root=/var/mail/virtual/my.com.ua/ivan.sid, index=, inbox=/var/mail/virtual/my.com.ua/ivan.sid
Feb 10 10:39:37 orion dovecot: pop3(ivan.sid@my.com.ua): open() failed with mbox file /var/mail/virtual/fcbank.com.ua/ivan.sid: Is a directory
Feb 10 10:39:37 orion dovecot: pop3(ivan.sid@my.com.ua): Mailbox init failed top=0/0, retr=0/ del=0/0, size=0
Feb 10 10:39:37 orion dovecot: pop3-login: Login: user=ivan.sid@my.com.ua, method=PLAIN, rip=192.168.3.9, lip=192.168.5.23
Please help me with this issue! Thanks in advance, Alexander
-- Kind Regards, Alexander Shikoff minotaur@crete.org.ua