Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!emory!att!ucbvax!HUB.UCSB.EDU!aks%anywhere From: aks%anywhere@HUB.UCSB.EDU (Alan Stebbens) Newsgroups: comp.mail.mh Subject: Bug in group-list addressing? Message-ID: <9103120228.AA06579@anywhere> Date: 12 Mar 91 02:28:03 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 54 I'm not sure where the bug in this occurs, but I'll describe what happened and let other's volunteer an answer; they always do anyway :^) I set the To: line as follows: To: myalias In my -alias file, the following alias exists: myalias: A List of People: user1, user2, user3, user4; user1: user1@host1 (User One) user2: user2@host2 (User Two) user3: user3@host3 (User Three) user4: user4@host4 (User Four) This produces, by "whom", the following: -- Local Recipients user4 -- Network Recipients -- user1@host1 user2@host2 user3@host3 Notice the strange fact that user4 remains unqualified, as if his alias wasn't found. But, if I form the alias this way: myalias: A List of People: user1, user2, user3, user4, ; it works just fine. I suppose a null address gets generated and subsequently ignored somewhere in the process, but who cares? That's just the output from "whom" which works. When the mail actually gets sent, however, something different happens: the mail gets formed like this: To: A List of People: ;@myhost, user2@host2, user3@host3, user4@host4 which is quite strange. It tells me, though, that the group list parsing is done *before* the aliasing, or some of it anyway (the first pass?). Also, why does "@myhost" get tacked on behind the group list? Is this done by MH or my sendmail config? Ok, you all tell me what I've done wrong and how to do what I would like to do: create an alias which maps to a group list of people. Thanks, I guess. Alan