$ dovecot --version 1.1.13 $ grep ^mail_location /usr/local/etc/dovecot.conf mail_location = maildir:~vpopmail/domains/%d/%u/Maildir/ $ i use SquirrelMail as a client to IMAP in, but when I login, I dont see any emails in my INBOX I even tried pop3 same story $ telnet localhost pop3 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. USER XXXXXX at XXX.XXX +OK PASS XXXXXX +OK Logged in. UIDL +OK . QUIT +OK Logging out. Connection closed by foreign host. $ -- http://alexus.org/
On Tue, 2009-04-07 at 17:36 -0400, alexus wrote:> $ dovecot --version > 1.1.13 > $ grep ^mail_location /usr/local/etc/dovecot.conf > mail_location = maildir:~vpopmail/domains/%d/%u/Maildir/I guess ~vpopmail/ might work, but I'd rather not use it. At the very least it slows down startup since it needs to look up where vpopmail's home directory is. Anyway set mail_debug=yes and look at the logs. It'll say where Dovecot is really looking at for the mail. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090407/13e2eaaa/attachment-0002.bin>
Timo Sirainen wrote:> On Tue, 2009-04-07 at 17:36 -0400, alexus wrote:>> mail_location = maildir:~vpopmail/domains/%d/%u/Maildir/You can't count on that!!! IF there are over 100 domains, domain number 101 will be ~vpopmail/domains/1/%d... and domain number 201 will be ~vpopmail/domains/2/%d... Same for domains with over 100 users. If you have deleted domains, or lost the file that controls directory hashing, things can really get weird. The only safe way to locate domains and/or users with vpopmail is to ask vpopmail where they are located. Rick Widmer previous vpopmail developer