  | |  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 Craig White
Back On Wed, 2004-12-08 at 15:59 -0500, Nalin Dahyabhai wrote: > 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. ---- as they say in the Guiness commercials - brilliant!
I knew it was so simple and I was baffled - If I'd only tried the Windows solution (restart) that would have solved it but of course, service sendmail restart was sufficient as you surmised.
Thanks for the blinding glimpse of the obvious that I couldn't see.
Craig
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |