>At 10:00 AM 1/31/97 -0600, Dave Schnardthorst wrote:
>>I am currently running Sendmail-8.8.5 and would like to be able to rewrite
>>user names when sending out e-mail.
>>
>>Example:
>>
>> Incoming mail to myself could be aliased to daves @
stryder .
com .
When
>> I send outgoing mail my return address currently shows ds3721 @
stryder .
com .
>> The outgoing mail should show daves @
stryder .
com .
>>
>>Can somebody give me some examples as to how this might be accomplished.
>
>Check out http://www.mc2-csr.com/~lglaze and follow the virtual hosting
>link. The page you want is the first sendmail link. The second one goes
>into a different aspect of sendmail and virtual hosts, but it may also
>be useful to you.
>
>If you have any questions then just let me know (I wrote the pages and
>am currently using both configurations successfully).
It seems like people are making this issue harder than it needs to be. Here
is what I did (in the m4 file). Host name is "Moonlight."
divert(0)dnl
VERSIONID(`@(#)moonlight.mc 8.3 (Berkeley) 3/23/96')
OSTYPE(solaris2.ml)dnl
DOMAIN(generic)dnl
MASQUERADE_AS(ptes.com)dnl
MASQUERADE_DOMAIN(Moonlight)
MAILER(local)dnl
MAILER(smtp)dnl
This way all users on the host "Moonlight" are masked as "ptes.com."
|
|