- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail and nisplus aliases in HP/UX 11.11 (11i)
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 08:47 AM
04-27-2001 08:47 AM
sendmail and nisplus aliases in HP/UX 11.11 (11i)
I'm testing the new HPUX release 11i I just received. Seems to work fine.
But I stumbled on a problem with sendmail. I have setup the box to be a NIS+ client. The NIS+ server is a Solaris box.
My problem is the following line in the log:
Apr 27 18:05:55 cmpteam5 sendmail[2254]: SAA02252: SYSERR(root): Switch map aliases: unknown member map aliases.nisplus
It appears a lot of times in the log.
Can anybody tell me why ? And what to do to make sendmail happy ?
TIA. Cheers,
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 11:32 AM
04-27-2001 11:32 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
The problem is seen due to missing "/etc/nsswitch.conf" or incorrectly configured "/etc/nsswitch.conf". Make sure the "/etc/nsswitch.conf" file has the line:-
aliases: nisplus files
Stop and start sendmail.
Hope this helps !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 10:52 PM
04-29-2001 10:52 PM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
I have the /etc/nsswitch.conf file, and it contains the line about aliases...
I'd love to have truss, or strace, on that machine... :)
Cheers,
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 11:30 PM
04-29-2001 11:30 PM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
niscat aliases.org_dir
you get something retured?
If you look under /var/nis/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 12:02 AM
04-30-2001 12:02 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
Do you mean to say the HP machines want the map named aliases(.org_dir) ?
If so, is there a way to change that ?
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 01:22 AM
04-30-2001 01:22 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
However, should you not be pointing your sendmail.cf at the correct aliases map? I think theres a line in there to point at a map rather than locally (I'm not a sendmail expert!) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 04:09 AM
04-30-2001 04:09 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
aliases: files
and the messages disappear...
I also did a
strings /usr/sbin/sendmail | grep nisplus
and this finds nothing...
Do I have to somehow patch my sendmail ? Is there a special NIS+ version ?
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 04:59 AM
04-30-2001 04:59 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
niscat cred.org_dir | grep
where client-name is the HP box. Normally, each client of a NIS+ domain must have a DES credential in the cred table - I guess its possible that your client can't see the aliases map if it doesn't have a credential in the domain. To add a DES cred for the client do a:
nisaddcred -p unix.
Where clientname is your client.
Might be worth checking the properties on the domain object too: niscat -o domain.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 05:06 AM
04-30-2001 05:06 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
niscat mail_aliases.org_dir
and get all the entries just fine.
Even the automounter is working flawlessly...
My only problem seems to be sendmail. I have checked the sendmail.cf on the Solaris boxes, and there is no special mention of the nisplus mail alias map. There is something in the (Solaris) binary, though, as strings show. That's why I think I might need another sendmail binary for the HP, but haven't seen one anywhere...
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 05:22 AM
04-30-2001 05:22 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
On the binary bit, if I do a strings on my /usr/sbin/sendmail on my 11.0 client I get :
aliases.nisplus nisplus -kalias -vexpansion -d mail_aliases.org_dir
mail_aliases.org_dir
I don't think theres a special version of sendmail for a NIS+ situation. Strikes me as a permissions problem on the map.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 06:08 AM
04-30-2001 06:08 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
The funny thing, when I compare with your strings output, is that I don't have those strings in my code. Here is all I get:
/usr/bin/strings /usr/sbin/sendmail |grep alias
aliases
rebuildaliases1
rebuildaliases2
groupwritablealiasfile
worldwritablealiasfile
linkedaliasfileinwritabledir
aliases
aliases.files
aliases.nis
aliases
mail.aliases
aliases
expanded by alias
expanded (to multi-recipient alias)
So I suspect I'll need to get a different sendmail. But I didn't see any on the distribution CD (yet...)
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 11:30 PM
04-30-2001 11:30 PM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 07:03 AM
05-03-2001 07:03 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
I use the sendmail that came bundled with HP/UX 11i (11.11). That's what it says:
220 cmpteam5.unil.ch ESMTP Sendmail 8.9.3/8.9.3; Thu, 3 May 2001 17:01:16 +0200
(MEST)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 09:15 AM
05-03-2001 09:15 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
I am not sure , if this will work , but can you try and modify the "/etc/mail/service.switch" file and change:-
aliases files
to
aliases nisplus files
Stop and restart sendmail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2001 03:39 AM
05-04-2001 03:39 AM
Re: sendmail and nisplus aliases in HP/UX 11.11 (11i)
I tried two things. First, I tried setting alias to nisplus + files in both /etc/nsswitch.conf and in /etc/mail/service.switch. This causes the error messages to appear, and nisplus aliases don't work.
Second, I tried setting only files for alias in /etc/nsswitch.conf, and nisplus + files in /etc/mail/service.switch. In this case, there are no error messages, but nisplus aliases don't work either...