Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!samsung!aplcen!jhunix!ecf_hap From: ecf_hap@jhunix.HCF.JHU.EDU (Andrew Poling) Newsgroups: comp.mail.sendmail Subject: Re: Dealing with Subdomains Summary: Ruleset 4 Message-ID: <3541@jhunix.HCF.JHU.EDU> Date: 6 Dec 89 17:57:26 GMT References: <5565@ncar.ucar.edu> Reply-To: andy@gollum.hcf.jhu.edu (Andy Poling) Followup-To: comp.mail.sendmail Distribution: usa Organization: The Johns Hopkins University - HCF Lines: 32 In article <5565@ncar.ucar.edu> woods@ncar.UCAR.EDU (Greg Woods) writes: [...] >By adding this rule in ruleset 3 > >R$+<@$+>$* $1<@$[$2$]>$3 > >the mail will get there. The problem is that the To: line still reads like >To: user@host.sub (i.e., it doesn't get properly canonicalized). This is all >well and good unless a message is sent with this kind of address and is also >sent to someone outside our domain. If that outside person tries to reply >to all recipients, the original user@host.sub cannot be resolved and the >message bounces. What I *really* don't understand about this is that if >I run sendmail in address test mode, and pass it through rulesets 2,R,4 >(which are supposed to process the To: line), it DOES get properly changed >into user@host.sub.ucar.edu since ruleset 3 is always called first. [...] >Anybody have any idea what I am missing or overlooking? I've been working on >this for several days and have not been able to solve this problem. Why not put this rule in ruleset 4 too. That way, every To: and From: address should be properly canonicalized. That's what ruleset 4 is for - to put addresses in external form (i.e. canonicalized). Hope this helps, -Andy -- Andy Poling Internet: andy@gollum.hcf.jhu.edu Network Services Group Bitnet: ANDY@JHUVMS Homewood Academic Computing Voice: (301)338-8096 Johns Hopkins University UUCP: mimsy!aplcen!jhunix!gollum!andy