🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3083

the $h macro

#3083
From: Bernard Steiner
Date: Tue, 10 Jan 1989 10:16
20 lines
926 bytes
Hi, kids

I seem to have some trouble with the $h macro (host to send to).
 
I suppose it gets set in ruleset 0 by $@ .
That's exactly the problem: $#local$@localhost$:$1 does not seem to work,
i.e. you cannot set any host with local delivery mailers.

Now, this ought to leave $h unset; instead, it's set to one <SPACE>.
So, something like "$?h for $h$| for local_delivery$." won't work in the
Received: lines for local mailers; instead it leaves you with " for  ".

Is this a bug, or have I done anything wrong ?!

If it's defective code: If anyone has patched it, please give me a hint on
what to do.

Thanks.

Bernard
Technical Details
Message-ID: <837@laura.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!unido!laura!bs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!unido!laura!bs
From: bs@laura.UUCP (Bernard Steiner)
Newsgroups: comp.mail.sendmail
Subject: the $h macro
Keywords: $h, macro
Message-ID: <837@laura.UUCP>
Date: 10 Jan 89 10:16:30 GMT
Organization: University of Dortmund, W-Germany
Lines: 20