Thanks for your response,

This is what I have in my LDAP directory :

# [EMAIL PROTECTED], example.com, top
dn: [EMAIL PROTECTED],o=example.com,o=top
objectClass: MyMailAccount
cn: Benoit
mailbox: /var/mail/example.com/benoitb
userPassword: *********
mail: [EMAIL PROTECTED]

Actually, I think the problem is that courier-mta don't look in the LDAP
directory when the domain is not in locals.
(I verified this with "tethereal -i lo")


----- Original Message -----
From: "Oleg Kobyakovskiy" <[EMAIL PROTECTED]>
To: "Benoit Blanchon" <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 2:49 AM
Subject: Re: [courier-users] courier-mta + LDAP


> Hello,
>
> Do you have an account '[EMAIL PROTECTED]' ? Or 'benoitb' is the local
> machine account? If you put an example.com to hosteddomains it does not
> look for account 'benoitb' it looks for account '[EMAIL PROTECTED]'
> (with domain name). if you need to work with account 'benoitb' the you
> have to put example.com to locals file.
>
> Good luck.
>
> > Hi,
> >
> > I'm using LDAP authentification for courier-imap and courier-mta.
> > It works fine when all my domains are listed in /etc/courier/locals.
> > But when I move all my domains to hosteddomains, this happens :
> >
> > courieresmtpd: started,ip=[::ffff:213.228.0.169]
> > courierd: newmsg,id=0000B907.3E25CC14.00006B49
> > courierd:
> >
started,id=0000B907.3E25CC14.00006B49,from=<[EMAIL PROTECTED]>,mod
> > ule=esmtp,host=example.com,addr=<[EMAIL PROTECTED]>
> > courierd: Waiting.  shutdown time=none, wakeup time=Wed Jan 15 22:03:04
> > 2003, queuedelivering=8, inprogress=1
> > courieresmtp:
> >
id=0000B907.3E25CC14.00006B49,from=<[EMAIL PROTECTED]>,addr=<benoi
> > [EMAIL PROTECTED]> : Operation now in progress
> > courieresmtp:
> >
id=0000B907.3E25CC14.00006B49,from=<[EMAIL PROTECTED]>,addr=<benoi
> > [EMAIL PROTECTED]>,status: deferred
> > courierd: completed,id=0000B907.3E25CC14.00006B49
> > courierd: Waiting.  shutdown time=Wed Jan 15 23:00:32 2003, wakeup
> > time=Wed
> > Jan 15 22:03:04 2003, queuedelivering=8, inprogress=0
> >
> > Whereas, when example.com is in /etc/courier/locals, the mail is
correctly
> > delivered.
> > I seems that courier just ignore my hosteddomains, although I called
> > makehosteddomains.
> >
> >
> >
> > Any help would be really appreciated
> > Thanks
> >
> >
> >
> >
>
>
> --
> nic-hdl oku11



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to