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

Stas SUSHKOV stas at nerd.ro
Sun Mar 29 21:30:24 EEST 2009


On Sun, 2009-03-29 at 14:20 -0400, Sahil Tandon wrote:
> On Sun, 29 Mar 2009, Stas SUSHKOV wrote:
> > 
> > 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.

I tried several arguments like ${user}, ${sasl_user} and etc, but all I
could get it:
---
Mar 29 21:25:54 student postfix/pipe[4285]: 82D52F53A0:
to=<c00l2sv at student.utcluj.ro>, relay=dovecot, delay=0.18,
delays=0.09/0/0/0.09, dsn=4.3.0, status=deferred (temporary failure)
---

I believe I have to set up libnss-ldap
(https://help.ubuntu.com/community/LDAPClientAuthentication) in order to
get the users on the server. I can't find any other solutions :(

> 
-- 
() Campania Panglicii în ASCII
/\ http://stas.nerd.ro/ascii/



More information about the dovecot mailing list