[Dovecot] Telnet access creates new maildir folders

Seasoul seasoul at gmail.com
Thu Dec 30 14:14:59 EET 2010


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 user1 at 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+DBgfWX-p at mail.gmail.com<AANLkTin8PNUb-CnzyYtRX4jCecM11qzxQq2%2BDBgfWX-p at mail.gmail.com>
>
postfix/qmgr[28610]: 4E2EA70324: from=<test at gmail.com>, size=5119, nrcpt=1
(queue active)
postfix/virtual[2947]: 4E2EA70324: to=<user1 at 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 <tss at 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.
>
>


More information about the dovecot mailing list