>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.
>> Incoming mail to myself could be aliased to daves @
>> I send outgoing mail my return address currently shows ds3721 @
>> The outgoing mail should show daves @
>>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."
VERSIONID(`@(#)moonlight.mc 8.3 (Berkeley) 3/23/96')
This way all users on the host "Moonlight" are masked as "ptes.com."