I'm trying to set up dovecot and I'm running into a few problems. I just want to use IMAP for one user, everyone else gets POP3 from the existing (working server). $MAIL is set to /var/spool/mail/gavin_imap In my /var/spool/mail directory I now have a problem: -rw------- 1 gavin_im mail 1392 Oct 14 22:28 gavin_imap -rw------- 1 gavin_im popusers 0 Oct 14 21:54 gavin_imap When I try to get my mail, I guess it's checking the wrong file as I can't download anything. I also can't delete the file (which I find confusing as I am root): [root at chicken mail]# rm gavin_imap rm: cannot remove `gavin_imap': No such file or directory I actually have the same problem with the dovecot log file. I have this in my config: info_log_path = /tmp/dovecot -rw------- 1 root root 4436 Oct 14 22:40 dovecot [root at chicken tmp]# cat dovecot cat: dovecot: No such file or directory I don't get any obvious errors if I telnet in: [root at chicken tmp]# telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK dovecot ready. 1 LOGIN gavin_imap <pass> 1 OK Logged in. 1 SELECT Inbox * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. * 0 EXISTS * 0 RECENT * OK [UIDVALIDITY 1066184985] UIDs valid * OK [UIDNEXT 1] Predicted next UID 1 OK [READ-WRITE] Select completed. 1 LOGOUT * BYE Logging out 1 OK Logout completed. Connection closed by foreign host. This is confusing the hell out of me. Is there anything obvious that I've screwed up? Thanks! Gavin.
On Tuesday, October 14, 2003, at 10:44 PM, Gavin Estey wrote:> I'm trying to set up dovecot and I'm running into a few problems. >I've finally solved the "odd filename" issue. If I run: $ find . -name "dovecot*" -print0 | xargs -0 cat I get to see the file. Is there some bug where dovecot has got a space or a NULL or something stuck on the filename? An "ls -Q" seems to confirm this: $ ls -Q dovecot* "dovecot " $ ls -Q /var/spool/mail/gavin_imap* "/var/spool/mail/gavin_imap" "/var/spool/mail/gavin_imap " Hope this helps. Gavin.
On Wed, 2003-10-15 at 05:44, Gavin Estey wrote:> I'm trying to set up dovecot and I'm running into a few problems. > > I just want to use IMAP for one user, everyone else gets POP3 from the > existing (working server). > > $MAIL is set to /var/spool/mail/gavin_imapYou mean default_mail_env setting in config file too?> In my /var/spool/mail directory I now have a problem: > > -rw------- 1 gavin_im mail 1392 Oct 14 22:28 gavin_imap > -rw------- 1 gavin_im popusers 0 Oct 14 21:54 gavin_imapHow are there two gavin_imap files? They probably have spaces or something after the name? You probably added space at the end of default_mail_env in config file which is causing the problems?> info_log_path = /tmp/dovecot > > -rw------- 1 root root 4436 Oct 14 22:40 dovecot > > [root at chicken tmp]# cat dovecot > cat: dovecot: No such file or directoryMaybe the same space problem? BTW. Next version will ignore the spaces automatically.
Maybe Matching Threads
- Local lmtp proxy on backend server
- Userdb userdb_mail=, error Mailbox list driver maildir++: maildir_name not supported by this driver
- Userdb userdb_mail=, error Mailbox list driver maildir++: maildir_name not supported by this driver
- Userdb userdb_mail=, error Mailbox list driver maildir++: maildir_name not supported by this driver
- INBOX as mbox, other mailboxes as maildir