[comp.mail.misc] Question about outgoing mail

lwv@n8emr.UUCP (Larry W. Virden) (08/08/87)

I have seen how aliasing works so that mail addressed to site!john can get
converted into site!xyz-pqa-123; this makes it easier for the outside world
to send msgs into a site and not have to know the peculiar names being used.
Is there a way to configure an Ultrix 1.2 sendmail, rmail, whatever program
so that the OUTGOING mail is tagged as going from site!john instead of
site!xyz-pqa-123?  That is, how does one get sendmail to do outgoing mail;
if it isn't sendmail's problem (which the doc infers) then do I have to
write a specific mail front end to do this?  I know there are things other
than Mail, mail, etc. (elm, and so forth) and perhaps they do things different;
we are trying to get things working as the software is set up now and will
worry about other mail handlers later, thank you.

Please send all useful ideas on to me, either here on the group or in email.
Private email which seems useful and isnt stamped as proprietary/non-
disclosable will be summarized in a week or so.

Thanks!

-- 
Larry W. Virden	 75046,606 (CIS)
674 Falls Place, Reynoldsburg, OH 43068 (614) 864-8817
cbosgd!n8emr!lwv HAM/SWL BBS (HBBS) 614-457-4227.. 300/1200 bps
We haven't inherited the world from our parents, but borrowed it from our children.

avolio@decuac.dec.com (Frederick M. Avolio) (08/10/87)

In article <210@n8emr.UUCP> lwv@n8emr.UUCP (Larry W. Virden) writes:
>...
>Is there a way to configure an Ultrix 1.2 sendmail, rmail, whatever program
>so that the OUTGOING mail is tagged as going from site!john instead of
>site!xyz-pqa-123?  

It is assumed that you are changing all of the address fields for all
OUTGOING mail (non-local).  Keeping in mind that the rule sets are
traversed thusly:

From_	3 -- 1 -- 4 -- 3 -- 1 -- S -- 4

To_	3 -- 0 -- 4

From:	3 -- 1 -- S -- 4

To:	3 -- 2 -- R -- 4

Cc:	3 -- 2 -- R -- 4


I'd make the changes in the S and R rule sets (however they are
defined for the particular mailer definition -- lines starting with
'M') so that you have control over when they are changed (I assume you
don't want to change them for locally originated and delivered mail...
if you do, just make the change in S1 and S2).

The problem is that you'd have to hard-code the transformations in the
sendmail.cf for each user you want transformed or modify the sendmail
program sources to do this.

Fred