sendmail, aliases and NIS+
dirkw at rentec.com
Fri Mar 29 03:32:23 EST 2002
i think i ran into this, too. what i did: configure your Linux box to
be a "nullclient", so that the mailserver, which should be a "real"
NIS+ client does the alias expansion. confusing is that sendmail -bt -dx.y
reports to support NISPLUS.
On Thu, 28 Mar 2002, Carroll, Jim wrote:
> I'm just now noticing a peculiar problem.
> On a Solaris8 NIS+ client, sendmail appears to recognize/understand/resolve
> from the aliases (mail_aliases) table.
> On a Linux (2.4.7-10) NIS+ client, sendmail appears to have no such clue.
> Yes, the following entry is in the Linux nsswitch.conf file:
> aliases: files nisplus
> The test user (myself) doesn't exist in /etc/passwd (or /etc/shadow), but
> *does* exist in the NIS+ tables of same. And yet, when (as root) I do a
> simple "echo hello | mail jcarro10", it ends up dumping it to the local
> /var/spool/mail/jcarro10 file.
> Yes, the following entry exists in the NIS+ aliases table:
> jcarro10: jcarro10 at sprintspectrum.com
> Yes, if I do "echo hello | mail jcarro10 at sprintspectrum.com", the mail ends
> up going where I want it to.
> Sendmail just doesn't seem to be NIS+ aware.
> Suggestions where to start looking?
Dirk Wetter @ Renaissance Techn.
mailto:<dirkw at rentec dot com>
More information about the linux-nisplus