home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!iWarp.intel.com|inews.Intel.COM!inews!jst
- From: jst@inews.intel.com (Jason Thomasser)
- Subject: Re: From address rewrite
- Message-ID: <BtJxwB.2Cp@nntp-sc.Intel.COM>
- Sender: news@nntp-sc.Intel.COM (USENET News System)
- Nntp-Posting-Host: inews
- Organization: Intel Corporation, Santa Clara, CA USA
- References: <BtJu81.1LE@nntp-sc.Intel.COM>
- Date: Tue, 25 Aug 1992 18:26:35 GMT
- Lines: 25
-
- In article <BtJu81.1LE@nntp-sc.Intel.COM> vnagar@godzilla.intel.com (Vivek Nagar) writes:
- >Is it possible to change sendmail.cf to rewrite the from address
- >from say user@foo.intel.com to user@bar.intel.com so that it looks as if
- >the mail is originating form host "bar" instead of host "foo"? if so how can
- >it be done?
-
- Absoluteley. Look at the mailer definition in your sendmail.cf. It will
- say something like:
-
- Muucp, P=/usr/bin/uux, F=msDFMhuU, S=13, R=23,
- A=uux - -r $h!rmail ($u)
-
- Notice the S and R definitions, these are the rulesets that on Sending
- and Receiving process the the From line or To line depending on what you are
- doing.
-
- just do something like this in your ruleset.
- R$+<@$+>.$m $: $1@bar.$m rename $+ to bar for reply
-
-
- Jason
-
- Jason Thomasser | Thomasser Enterprise Networks
- jst@netcom.com | 139 School St #3
- IP WAN/LAN, DNS, Sendmail, NIS, NNTP | Santa Cruz, CA 95060 (408)458-0379
-