Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!vixie From: vixie@decwrl.dec.com (Paul A Vixie) Newsgroups: comp.mail.sendmail Subject: Re: "buildaddr: no host"? Message-ID: Date: 14 Feb 91 21:51:47 GMT References: Sender: news@pa.dec.com (News) Organization: DEC Western Research Lab Lines: 27 In-Reply-To: bob@MorningStar.Com's message of 14 Feb 91 20:50:58 GMT >> Mlocal, P=[IPC], F=mDFMpXLCU, S=10, R=10, A=IPC mstar, E=\r\n >> [...] >> 554 buildaddr: no host IPC needs a $h in the A=. You basically can't do what you want to do, though I admit that it makes sense. ($h can't be coerced to be some constant string like "mstar" at this point in the delivery process, so that's not an option either.) If you want to cause all local deliveries to be on a central machine, then I suggest a centralized /usr/lib/aliases file (distributed with YP or with rdist or even with NFS). There would be things in this file like bob: bob@mstar "mstar"'s sendmail.cf file would strip its own name off in S0 and would fall into Mlocal which would use /bin/mail. All other clients of this "aliases" file would not strip "mstar" off and would therefore end up using Mtcp or Msmtp or whatever you call your IPC mailer. This is what we do here, and we have more than 1300 hosts in "pa.dec.com"; it works quite well. Cheers, -- Paul Vixie DEC Western Research Lab Palo Alto, California ...!decwrl!vixie