Path: 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 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 . 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