*BSD News Article 44390


Return to BSD News archive

Xref: sserve comp.mail.sendmail:17811 comp.os.386bsd.questions:17554
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!library.ucla.edu!info.ucla.edu!news.bc.net!torn!fonorola!capetown.terraport.net!yoyo2
From: ptan@terraport.net (Paul Tan)
Newsgroups: comp.mail.sendmail,comp.os.386bsd.questions
Subject: Re: Aliasing for multiple domains
Date: Wed, 24 May 95 04:35:48 GMT
Organization: TerraPort Online Inc.
Lines: 22
Message-ID: <3pudg2$859@capetown.terraport.net>
References: <3or5op$cj2@news1.channel1.com> <ABD6DE58966855603@brad.his.com> <3p5kmm$keb@stud.Direct.CA>
NNTP-Posting-Host: mars4.terraport.net
X-Newsreader: News Xpress Version 1.0 Beta #3

In article <3p5kmm$keb@stud.Direct.CA>,
   curt@cynic.portal.ca (Curt Sampson) wrote:
>[...]
>I found this pretty darn easy to add to my V8 sendmail configuration,
>even though I'm a relative novice when it comes to sendmail. I just
>create a separate alias file for each new domain I want; for example:
>[...]

Cool!  I tried it and it works!  Many, many thanks!

Now, the big question is, how do I go about doing the reverse?  I.e.,
the code you gave will turn an incoming domain to map into a local user,
but how do I map a local user to masquerade as a separate domain?

e.g.  User is ptan@terraport.net, I want to be able to send mail out
that says it is coming from ptan@compudyn.com.

Any help would be greatly appreciated.

Thanks!

Paul Tan.