i set mail_location = mbox:/var/spool/mail/%u and protocols = pop3s pop3 why he trys to create and use imap format?` in log are May 25 18:52:25 mail dovecot: pop3-login: Login: user=<richard>, method=PLAIN, rip=80.xx.xx.xx, lip=xx.xx.24.29, TLS May 25 18:52:26 mail dovecot: POP3(richard): open(/var/spool/mail/richard/inbo x, O_CREAT) failed: Not a directory May 25 18:52:26 mail dovecot: POP3(richard): mkdir_parents(/var/spool/mail/richard/.imap/INBOX) failed: Not a directory May 25 18:52:26 mail dovecot: POP3(richard): stat() failed with mbox file /var/ spool/mail/richard/inbox: Not a directory May 25 18:52:26 mail dovecot: POP3(richard): Couldn't init INBOX: Internal erro r occurred. Refer to server log for more information. [2007-05-25 18:52:25] May 25 18:52:26 mail dovecot: POP3(richard): Mailbox init failed top=0/0, retr0/0, del=0/0, size=0 friendly regards and thx
sc2 at gmx.at wrote:> i set mail_location = mbox:/var/spool/mail/%u > and protocols = pop3s pop3 > why he trys to create and use imap format?`Platform? OS Version? Dovecot version? Dovecot -n output? -- Best regards, Charles
hello and thx a.) Linux b.) Redhat (Version unknown) c.) protocols: pops pop3s ssl_listen: *:995 ssl_cert_file: /etc/mail/certs/wildcard/cert.pem ssl_key_file: /etc/mail/certs/wildcard/nopass.key disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/pop3-login mail_location: mbox:/var/spool/mail/%u mail_executable: /usr/local/libexec/dovecot/pop3 mail_plugin_dir: /usr/local/lib/dovecot/pop3 pop3_uidl_format: %08Xu%08Xv auth default: passdb: driver: shadow args: /etc/shadow userdb: driver: passwd ----- Original Message ----- From: "Charles Marcus" <CMarcus at Media-Brokers.com> To: <dovecot at dovecot.org> Sent: Friday, May 25, 2007 8:16 PM Subject: Re: [Dovecot] question mailbox format> sc2 at gmx.at wrote: >> i set mail_location = mbox:/var/spool/mail/%u >> and protocols = pop3s pop3 >> why he trys to create and use imap format?` > > Platform? > OS Version? > Dovecot version? > Dovecot -n output? > > -- > > Best regards, > > Charles >
sc2 at gmx.at wrote: > i set mail_location = mbox:/var/spool/mail/%u > and protocols = pop3s pop3 > why he trys to create and use imap format?` Your Dovecot is trying to make index files. Index files are also used by pop3 for better performance. And your mail_location configuration seems incorrect. The path after "mbox:" is where to create imap mailboxes and Dovecot's index files. Proper position for "/var/spool/mail/%u" is after "INBOX=" keyword. For further information, read this. http://wiki.dovecot.org/MailLocation -- // -------------------------------------------------------------- // MAEDA, Go <maeda-g at secom-sanin.co.jp>
ok after playing a while now it works , but i have one problem open.. a.) now he makes for pop3 index files in /var/indexes/%u/imap/index etc... you said that is correct too if i only use pop3 ? b.) i have as INBOX file /var/spool/mail/%u set, when somebody logs in, and the mailbox exist he gets the email (from mbox file), but when the mbox does not exist he makes a directory, instead of a file like /var/spool/mail/%u. The problem is when a new mail comes and the mbox file does not exist, the mail is saved to the directory as msg and not as mbox file any ideas? Btw im using version 1.0.0 thx