31 Dec
2010
31 Dec
'10
5:55 a.m.
Hi,
Now running Dovecot 2.0.8 and still having the same issue: Postfix sends emails to /var/mail/vmail/username (username is user@domain.com) but Dovecot looks for email in /var/mail/vmail/user How to alignt he two ?
Dovecot -n gives:
auth_debug = yes auth_verbose = yes first_valid_gid = 0 last_valid_gid = 12000 mail_debug = yes mail_location = maildir:/var/mail/vmail/%u/ managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap pop3 ssl_cert =
When I try to login to dovecot via telnet, here's what the log records:
dovecot: pop3-login: Login: user=<user>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=20333, secured dovecot: pop3(oren): Debug: Effective uid=1000, gid=0, home=/ dovecot: pop3(oren): Debug: maildir++: root=/var/mail/vmail/user, index=, control=, inbox=/var/mail/vmail/user dovecot: pop3(oren): Debug: Namespace : Permission lookup failed from /var/mail/vmail/user dovecot: pop3(oren): Debug: Namespace : Using permissions from /var/mail/vmail/user: mode=0700 gid=-1 dovecot: pop3(oren): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
But in Dovecot documentation, it says that the variable %u is the "full username (e.g. user@domain) ". So mail_location should indeed send Dovecot to /var/mail/vmail/user@domain.com, shouldn't it ? So why is Dovecot looking at /var/mail/vmail/user instead ?
I'm lost...