home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!mcsun!fuug!kiae!elvis!elvis-2!andr
- From: andr@elvis.sovusa.com (Andrei Arkhipov)
- Subject: Re: firstname.lastname From address rewrite
- Message-ID: <1992Aug30.090929.18605@elvis.sovusa.com>
- Sender: news@elvis.sovusa.com
- Reply-To: andr@elvis.sovusa.com
- Organization: ELVIS Corp.
- References: <NEAL.92Aug26085416@neal.ctd.comsat.com>
- Date: Sun, 30 Aug 92 09:09:29 GMT
- Lines: 41
-
- It seems to me that such question is a FAQ. Is there a FAQ list in this group? If so, I can
- suggest my answer.
- My sendmail.cf contains following rules:
-
- ############################################################
- #
- # DDN Mailer specification
- #
- # Send mail on the Defense Data Network
- # (such as Arpanet or Milnet)
-
- Mddn, P=[TCP], F=msDFMuCX, S=22, R=22, A=TCP $h, E=\r\n
-
- # map containing the inverse of mail.aliases
- DZmail.byaddr
-
- S22
- R$*<@LOCAL>$* $:$1
- R$-<@$-> $:$>3${Z$1@$2$} invert aliases
- R$*<@$+.$*>$* $@$1<@$2.$3>$4 already ok
- R$+<@$+>$* $@$1<@$2.$m>$3 tack on our domain
- R$+ $@$1<@$m> tack on our domain
-
- As you can see, user name replaced by it's alias so if you have corresponding aliases you can
- receive From: field in form of first.last@centralhub.
-
- I think it's not full answer and hope somebody else will give adds to it.
-
- Andrei.
-
- In article 92Aug26085416@neal.ctd.comsat.com, neal@neal.ctd.comsat.com (Neal Becker) writes:
- >I would like to set up a central mail hub. How can I rewrite from
- >addresses to look like firstname.lastname@centralhub?? Can the
- >mapping of user to firstname.lastname be kept in a file seperate from
- >sendmail.cf??
- >
- >Thanks.
-
-
-
-
-