Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!ucsd!ucbvax!TRANSARC.COM!Craig_Everhart From: Craig_Everhart@TRANSARC.COM Newsgroups: comp.mail.sendmail Subject: Re: getting contents of header lines into rewrite rules Message-ID: <8a8oPE70BwwO5NsW5s@transarc.com> Date: 11 Apr 90 15:01:36 GMT References: <33187@andante.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Lines: 16 Of course, your neighbor's mail is broken; it's supposed to have a host name in the From: header when it leaves his site. I know of no way to get your sendmail.cf to look at any Origin: line to figure out some host to attach. His message-ID is broken, too, since it contains unquoted spaces, but maybe that matters less. For that matter, there's not supposed to be a hyphen before the timezone in the Date: header, but who's counting. This is trivial to fix in mhuhk's sendmail.cf file; the rewriting ruleset (usually 4) can add the local host name to any addresses that don't already have one. Good luck. Craig