Alexander Shikoff
2006-Feb-10 08:54 UTC
[Dovecot] If mbox does not exist dovecot creates directory
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 at my.com.ua,192.168.3.9): query: SELECT `password` FROM `users` WHERE login = 'ivan.sid at 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=AGl2YW4uaXZhbm9mZkBmY2JhbmsuY29tLnVhADEFeb 10 10:39:36 orion dovecot: auth(default): client out: OK 1 user=ivan.sid at my.com.ua Feb 10 10:39:36 orion dovecot: auth-worker(default): sql(ivan.sid at 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 at 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 at 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 at my.com.ua): Effective uid=26, gid=6 Feb 10 10:39:37 orion dovecot: pop3(ivan.sid at 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 at 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 at 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 at 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 at 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 at crete.org.ua
Timo Sirainen
2006-Feb-10 15:09 UTC
[Dovecot] If mbox does not exist dovecot creates directory
On 10.2.2006 10:54, "Alexander Shikoff" <minotaur at crete.org.ua> wrote:> When user is trying to login via POP3 and there is no corresponding mailbox > for it dovecot creates a directory instead of mbox file. > > "mbox:/var/mail/virtual/my.com.ua/ivan.sid:INBOX=/var/mail/virtual/my.com.ua/i > van.sid:INDEX=MEMORY"Well, I'm actually wondering why it works at all. The first path is supposed to be a directory where to store other mailboxes than INBOX. If you don't want it, see the bottom of http://wiki.dovecot.org/MailLocation