[Dovecot] default_mail_env %d problem

Den Zinevitch den_z at bk.ru
Thu Aug 3 23:55:21 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: Thu, 03 Aug 2006 23:47:05 +0300
Subject: Re: [Dovecot] default_mail_env %d problem

> 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 ?



More information about the dovecot mailing list