Hi, When I try to get pop access via telnet, this is what the log records:
dovecot: pop3-login: Login: user=<user1>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: POP3(user1): Effective uid=***, gid=*** dovecot: POP3(user1): maildir: data=/var/mail/vmail//user1 dovecot: POP3(user1): maildir: root=/var/mail/vmail//user1, index=/var/mail/vmail//user1, control=, inbox= dovecot: POP3(user1): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 When I send an email to us...@domain.com from a gmail account, this is the log record: postfix/smtpd[2941]: connect from mail-qw0-f51.google.com[*.*.*.*] postfix/smtpd[2941]: 4E2EA70324: client=mail-qw0-f51.google.com[*.*.*.*] postfix/cleanup[2946]: 4E2EA70324: message-id=< aanlktin8pnub-cnzyytrx4jcecm11qzxqq2+dbgfw...@mail.gmail.com<aanlktin8pnub-cnzyytrx4jcecm11qzxqq2%2bdbgfw...@mail.gmail.com> > postfix/qmgr[28610]: 4E2EA70324: from=<t...@gmail.com>, size=5119, nrcpt=1 (queue active) postfix/virtual[2947]: 4E2EA70324: to=<us...@domain.com>, relay=virtual, delay=0.51, delays=0.44/0.02/0/0.05, dsn=2.0.0, status=sent (delivered to maildir) postfix/qmgr[28610]: 4E2EA70324: removed postfix/smtpd[2941]: disconnect from mail-qw0-f51.google.com[*.*.*.*] So should I understand that postfix takes care of dispatching incoming emails and Dovecot retrieves them, and that Dovecot isn't looking in the folder where postfix is delivering emails ? I don;t understand why Dovecot looks into /var/mail/vmail//user1 when my dovecot.conf says to look into /var/mail/vmail/%d/%u : any idea how to make Dovecot look in the same folder Postfix delivers emails to ? Oh and just out of curiosity, why is there a double "//" in the maildir path used by dovecot ? Thanks a lot for all the help so far :) Cheers On Thu, Dec 30, 2010 at 5:32 PM, Timo Sirainen <t...@iki.fi> wrote: > On Thu, 2010-12-30 at 12:20 +0800, Seasoul wrote: > > Hi, > > > > I'm a bit confused now, I though Dovecot was the MDA ? > > Only if you've configured it that way: http://wiki.dovecot.org/LDA > > > >> mail_location: maildir:/var/mail/vmail/%d/%u > > So Dovecot should see the domain.. Set mail_debug=yes to see where > exactly it's looking for the mails. > > > > mail_privileged_group: mail > > You don't need this setting. > > > >> passdb: > > >> driver: pam > > Do you really need pam here as well? If not, you should remove it and > userdb passwd. > >