Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!jtsv16!lsican!lsican!smartin From: smartin@torsys02_1.uucp (Stephen Martin) Newsgroups: comp.mail.sendmail Subject: Re: Rewrite rules question Message-ID: Date: 4 Oct 90 13:03:57 GMT References: <509@cypress.UUCP> Sender: usenet@lsican.uucp Organization: LSI Logic Corporation of Canada, Inc. Lines: 27 In-Reply-To: rbv@cypress.UUCP's message of 2 Oct 90 20:52:07 GMT In article <509@cypress.UUCP> rbv@cypress.UUCP (Roger Vanderveen) writes: > How and in what rule can I rewrite the following: > > 1) Outbound "Return-Path" > from charlie!able > to charlie!baker!able > > 2) Inbound "To" > from charlie!able > to charlie!baker!able Try rule S3, I would suggest putting the following line just before the rule tryes to convert old style addresses (ones containing !) to new style ones: Rcharlie!$* charlie!able!$1 -- Stephen Martin ------- LSI Logic Corporation of Canada, Inc. Phone: (416) 620-7400 LSI|LOGIC| Suite 1110, 401 The West Mall, Fax: (416) 620-5005 | | Etobicoke, Ontario, Canada. Email: smartin@lsican.uucp ------- M9C 5J5 or smartin@Canada.lsil.com