Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!pyrdc!pyrnj!bartal!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!balilly.UUCP!bruce From: bruce@balilly.UUCP (Bruce Lilly) Newsgroups: comp.mail.sendmail Subject: Re: Sendmail/UUCP Header Rewrite Question Message-ID: <1990Oct13.065759.13267@blilly.UUCP> Date: 13 Oct 90 06:57:59 GMT References: <1450@ernest.ti.com> Sender: news@blilly.UUCP (News Administrator) Organization: Bruce Lilly, Flushing, NY Lines: 25 In article <1450@ernest.ti.com> alan@ernest.ti.com (Alan Edmonds) writes: >One of the sites I get mail from (call them site) insists on rewriting the From: >header from user@host.domain into site!user@host.domain. This makes >a reply address get really mangled. I looked over site's sendmail.cf >file and found the following: > [ ... ] >Muux, P=/usr/bin/uux, F=sDFMuU, S=13, R=23, M=100000, > A=uux - -r $h!rmail ($u) > >S13 >R$+ $:$>5 $1 convert to old style >#--R$*<@$*>$* $@ $1<@$2>$3 don't mung! (?) >R$=R!$+ $2 avoid redundancy >R$+ $:$R!$1 stick on our UUCP name > [ ... ] >In ruleset S13, last rule inserts their site name in front of the address. >Is this a "good" idea? How do other sites handle this kind of situation? >Why not delete the last rule (in S13) and be done with it? The problem here is commenting out the second line in S13. That would have immediately terminated the ruleset for any address with an '@', avoiding prepending site!. -- Bruce Lilly blilly!balilly!bruce@sonyd1.Broadcast.Sony.COM