Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tekred!saab!billr From: billr@saab.CNA.TEK.COM (Bill Randle) Newsgroups: comp.mail.sendmail Subject: Re: getting contents of header lines into rewrite rules Message-ID: <5447@tekred.CNA.TEK.COM> Date: 11 Apr 90 22:08:26 GMT References: <33187@andante.UUCP> <8a8oPE70BwwO5NsW5s@transarc.com> Sender: news@tekred.CNA.TEK.COM Reply-To: billr@saab.CNA.TEK.COM (Bill Randle) Organization: Tektronix, Inc., Redmond, OR Lines: 18 I have just the oppositer problem - I want to *prevent* sendmail from rewriting header lines. I have a unregistered uucp neighbor who's only connectivity is via uucp to me. His sendmail generates a From line like: "user@remote.uucp". Since remote is not registered, though, it seemed like the thing to do was add a "Reply-to:" header that would route replies via me, e.g.: "Reply-to: user%remote.uucp@me.some.domain". In theory this seemed like it would work, but sendmail rewrites this header line (and the uucp rewriting rules do it in a particular nasty fashion) such that the outgoing result looks like: "Reply-to: remote.uucp!me.some.domain!user%remote.uucp" The actual cf entry I'm using for testing is: HReply-to: <$u%$j@me.some.domain> Any ideas? Is there an alternative to creating a Reply-to header? -Bill Randle Tektronix, Inc. billr@saab.CNA.TEK.COM