[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: so simple, I'm baffled and embarassed to ask - LDAP user mail delivery
- From: Craig White <craigwhite azapple com>
- To: "Discussion of Red Hat Enterprise Linux 3 (Taroon)" <taroon-list redhat com>
- Subject: Re: so simple, I'm baffled and embarassed to ask - LDAP user mail delivery
- Date: Wed, 08 Dec 2004 21:32:44 -0700
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 srv1 root]# grep craig /etc/passwd
> > [root srv1 root]# getent passwd|grep craig
> > craig:x:501:100:Craig:/home/storage/users/craig:/bin/false
> > [root srv1 root]# mail craig
> > Subject: test
> > test
> > .
> > Cc:
> > [root srv1 root]# tail /var/log/maillog
> > Dec 7 22:48:27 srv1 sendmail[20240]: iB85mR4u020240:
> > <craig localhost localdomain>... 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]