[Dovecot] default_mail_env %d problem

Den Zinevitch den_z at bk.ru
Fri Aug 4 00:26:22 EEST 2006


-----Original Message-----
From: Timo Sirainen <tss at iki.fi>
To: Den Zinevitch <den_z at bk.ru>,Dovecot Mailing List <dovecot at dovecot.org>
Date: Fri, 04 Aug 2006 00:16:48 +0300
Subject: Re: [Dovecot] default_mail_env %d problem

> On Fri, 2006-08-04 at 00:55 +0400, Den Zinevitch wrote:
> > > On Fri, 2006-08-04 at 00:37 +0400, Den Zinevitch wrote:
> > > > Hi all.
> > > > I`ve got such problem:
> > > > default_mail_env = mbox:%h/mail/:INBOX=/var/mail/domain.net.ua/%n  -  it works.
> > > > But when I say:
> > > > default_mail_env = mbox:%h/mail/:INBOX=/var/mail/%d/%n - it not.
> > > > Log:
> > > > Aug  3 22:51:19 serv dovecot: POP3(user): mbox: data=/home/user/mail/:INBOX=/var/mail//user
> > > > Aug  3 22:51:19 serv dovecot: POP3(user): mbox: root=/home/user/mail, index=/home/user/mail, inbox=/var/mail//user
> > > > Aug  3 22:51:19 serv dovecot: pop3-login: Login: user=<user>, method=PLAIN, rip=xx.xx.xx.x, lip=xxx.xxx.xxx.xxx
> > > > Aug  3 22:51:19 serv dovecot: POP3(user): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
> > > 
> > > That means that the user didn't log in as user at domain.net.ua, or that
> > > you're stripping away the domain part. Are you using SQL passdb or
> > > something else?
> > > 
> > > 
> > > ATTACHMENT: application/pgp-signature (signature.asc)
> > > 
> > No SQL. Just simple auth from /etc/master.passwd. I have default config.
> > User logs in, because in first case, when I say folder directly (  default_mail_env = mbox:%h/mail/:INBOX=/var/mail/domain.net.ua/%n ) - it works.
> > What may be the reason of stripping away the domain part ?
> 
> Well, that really sounds to me like the user doesn't ever give the
> @domain part at all. If you think that it is sent, set auth_debug=yes
> and look at the logs. Since you're using passwd as passdb, there's
> nothing that should be stripping the domain.
> 
> 
> ATTACHMENT: application/pgp-signature (signature.asc)
>
Yes. You are right. I`ve enabled auth_debug, and I see no domain in logs.
Mabe I missed something in documentation...? Or its mail client problem ? 


More information about the dovecot mailing list