  | |  Re: so simple,
I 'm baffled and embarassed to ask - LDAP user mail delivery | Re: so simple,
I 'm baffled and embarassed to ask - LDAP user mail delivery 2004-12-08 - By Nalin Dahyabhai
Back On Tue, Dec 07, 2004 at 10:56:29PM -0700, Craig White wrote: > I can't send mail on local machine to ldap user - I am doing this on > another Taroon system and it worked out of the box. > > This to me says it all... > [root@(protected) root]# grep craig /etc/passwd > [root@(protected) root]# getent passwd|grep craig > craig:x:501:100:Craig:/home/storage/users/craig:/bin/false > [root@(protected) root]# mail craig > Subject: test > test > . > Cc: > [root@(protected) root]# tail /var/log/maillog > Dec 7 22:48:27 srv1 sendmail[20240]: iB85mR4u020240: > <craig@(protected)>... User unknown
Two things I'd usually check here. Has sendmail been restarted since nsswitch.conf was last modified? If not, and "ldap" wasn't listed as a source for user information when sendmail read the file (which IIRC it does only the first time it calls into glibc's NSS subsystem), then sendmail isn't checking your directory server for user information.
The next thing to check is that the UID under which sendmail is running can read the file, but I'm pretty sure that message came from a uid=0 process. In case it didn't, running "su -s /bin/bash smmsp", and retrying your query with getent will probably shed some light on things.
HTH,
Nalin
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |