Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!lance!ptcburp!michi From: michi@ptcburp.ptcbu.oz.au (Michael Henning) Newsgroups: comp.mail.sendmail Subject: Re: Sendmail not rewriting my "Cc" field Keywords: Cc Message-ID: <353@ptcburp.ptcbu.oz.au> Date: 19 Mar 91 00:00:33 GMT References: <1991Mar17.233843.21794@cs.umn.edu> Organization: Pyramid Technology Corporation Lines: 61 iacovou@cs.umn.edu (Danny Iacovou) writes: > Hello; > I am having a bit of a problem with sendmail (5.61). When sending > mail from machine A, to a user at machine B (machine B is not in > the same domain as machine A), and Cc'ing user at machine C > (machine C is in the same domain as machine A), the address of > machine C is not expanded when it reaches machine B. For example: Interesting... I don't know how to solve the problem, but it seems that it is more complicated than one is inclined to think. To be specific, suppose my machine is "mymachine.dom", and I mail a user "x" at "hismachine.dom", with a carbon copy to a user "local" on mymachine, the Cc: line when the mail gets to "x@hismachine.dom" should look like Cc: local@mymachine.dom However, things get more complicated with mixed addresses. Suppose I have two Cc recipients, one on the Internet, and one on the other side of a uucp link from "mymachine" to "uucphost", what should the Cc: line in the mail for "x@hismachine.dom" look like ? That is, how should a mail item sent from me@mymachine.dom to x@hismachine.dom with Cc: as below appear at x's end ? Recipient: x@hismachine.dom Carbon copies: local, uucphost!uucpuser When user x gets this, one possibility is to rewrite the Cc: line to: Cc: local@mymachine.dom, uucphost!uucpuser@mymachine.dom or possibly: Cc: local@mymachine.dom, uucpuser%uucphost@mymachine.dom Worse, what should the headers look like when the mail gets to uucpuser ? One thing I can think of is: From: mymachine!me To: uucphost!uucpuser Cc: mymachine!local, mymachine!x%hismachine.dom Does anyone know whether there is a standard way of dealing with this ? It seems to me that the Cc: address really needs to be rewritten twice, once as a To: address to be given to the transport mechanism, and once as a From: address, to be placed in the Cc: header of the recipient. Is it possible to teach sendmail (5.61) to deal with this, or is it just not worth the bother ? I would really appreciate any help with this... Michi. -- -m------- Michael Henning +61 75 950255 ---mmm----- Pyramid Technology +61 75 522475 FAX -----mmmmm--- Research Park, Bond University michi@ptcburp.ptcbu.oz.au -------mmmmmmm- Gold Coast, Q 4229, AUSTRALIA uunet!munnari!ptcburp.oz!michi