[Dovecot] dovecot: auth(default): ldap(...): Authenticated user not found

Sahil Tandon sahil at tandon.net
Sun Mar 29 21:20:28 EEST 2009


On Sun, 29 Mar 2009, Stas SUSHKOV wrote:

> On Sun, 2009-03-29 at 11:39 -0400, Sahil Tandon wrote:
> > On Sun, 29 Mar 2009, Stas SUSHKOV wrote:
> 
> > > 
> > > ***Authenticated user not found!!!***
> > 
> > In your log, notice the 'user' in a successful IMAP login:
> > 
> > > dovecot: imap-login: Login: user=<c00l2sv>, method=PLAIN, rip=193.226.6.226, lip=193.226.5.152, TLS
> > 
> > Later, when you pipe the mail to dovecot for delivery:
> > 
> > > dovecot: auth(default): ldap(c00l2sv at student.utcluj.ro): Authenticated user not found
> > 
> > You need to modify the arguments in your call to deliver in Postfix's
> > master.cf.  The master socket should be looking for 'c00l2sv' instead of
> > 'c00l2sv at student.utcluj.ro'.  See:
> > http://www.postfix.org/pipe.8.html (under "argv=command")
> > http://wiki.dovecot.org/LDA (under "Parameters")
> 
> I got it now. That makes sense.
> So I followed the wiki:
> http://wiki.dovecot.org/LDA#Without_a_lookup
> 
> and simply cut the "-d {recipient}" from the pipe.

In your setup, I do not see where the user's home directory is looked up
before the mail is passed off to deliver, so you probably should not do this.

> ---
> # delivery through dovecot
> dovecot   unix  -       n       n       -       -       pipe
>   flags=DRhu user=mail:mail argv=/usr/lib/dovecot/deliver -f ${sender}
> ---

Instead, try appending -d ${user} to the above set of arguments.

-- 
Sahil Tandon <sahil at tandon.net>


More information about the dovecot mailing list