🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11804

sendmail not finding alias

#11804
From: Ron Stanonik
Date: Thu, 30 Mar 1989 20:03
44 lines
1974 bytes
We're running sun4s with sunos 4.0.1.

We're trying to use the yp map mail.aliases (made from /etc/aliases on the
master); ie, yp clients have an almost empty /etc/aliases (postmaster,
mailer-daemon, etc), getting most aliases from the yp map.

We have some aliases that are failing.  Here's an example:

	boss:boss-user@coral, sec
	boss-user:\boss

The purpose of this is that the secretary should receive copies of any
message to the boss.

(Aside: Why not simply

	boss:boss@coral, sec

Because the sec will get two copies, one from the machine originating the
message when it expands the alias, and one from the receiving machine
(coral in this case) when it expands the alias.  Why not

	boss:\boss@coral, sec

The \ doesn't get sent from machine to machine, so boss still get's
expanded on the receiving machine; ie, sec still gets two copies.)

The problem is that when sending to boss from coral (where boss's account
is), one gets the error "boss-user@coral unknown".  Oddly, sending to
boss-user is okay.  Adding

boss-user:\boss

to /etc/aliases on coral also fixes the problem.

It's as though sendmail stops checking the yp aliases (though it continues
checking /etc/aliases) after encountering an alias that expands to the
local machine; ie, boss expands to boss-user@coral, so it only checks
/etc/aliases for boss-user.

Not having sources, I have no fix.  Just be warned.

Ron Stanonik
stanonik@nprdc.navy.mil
Technical Details
Message-ID: <8903201547.AA02642@atlantic.nprdc.navy.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: stanonik@nprdc.navy.mil (Ron Stanonik)
Newsgroups: comp.sys.sun
Subject: sendmail not finding alias
Keywords: Networks
Message-ID: <8903201547.AA02642@atlantic.nprdc.navy.mil>
Date: 30 Mar 89 20:03:57 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 44
Approved: Sun-Spots@rice.edu
Original-Date: Mon, 20 Mar 89 07:47:41 PST
X-Sun-Spots-Digest: Volume 7, Issue 216, message 6 of 13