meggers@orion.oac.uci.edu (mark eggers) (11/30/89)
I have been using Sendmail 5.61 with the IDA 1.28 enhancements on a Sparc system running 4.03c. Most everything has gone well. Right now, I am trying to get the From: field rewritten. I have tried the following: in newaliases.m4 define (NEWALIASES)dnl in xaliases foobar@thishost, foobar: < fobbar@globalhost Then I ran the following in a makefile: aliases generics: xaliases xalparse xaliases aliases generics generics.dir: generics dbm -R -d generics+ load < generics mv generics+.dir generics.dir mv generics+.pag generics.pag aliases.dir: aliases /usr/lib/newaliases.cf dbm -d aliases clear /usr/lib/sendmail -C/usr/lib/newaliases.cf -bi However, this does not rewrite the From: field. I still get From: foobar@thishost rather than From: foobar@globalhost Any thoughts on what I'm doing wrong?? /mde/
Anselmo-Ed@cs.yale.edu (Ed Anselmo) (11/30/89)
>>>>> On 29 Nov 89 21:30:09 GMT, meggers@orion.oac.uci.edu (mark eggers) said:
mde> I have been using Sendmail 5.61 with the IDA 1.28 enhancements on
mde> a Sparc system running 4.03c. Most everything has gone well.
mde> Right now, I am trying to get the From: field rewritten. I have
mde> tried the following:
mde> in xaliases
mde> foobar@thishost, foobar: < fobbar@globalhost
The signature alias should be leftmost on the line.
The xaliases syntax is:
# Signature aliases #
# #
# The format here is: #
# signature, altsign, full.name: alias-list #
# where alias-list is a comma and/or newline-separated list of user #
# names. Each user name may be headed by a '<' and/or '>' with the #
# following meaning: #
# > user -- mail to this sign/full.name is delivered to the user #
# < user -- mail from this user is rewritten with the signature #
# as new sender #
# <> user -- the combination of the above #
# user -- same as '> user' #
I used lines like:
Ed.Anselmo@cardiology.ummc.umich.edu: <> anselmo-ed@cs.yale.edu
Joe.Sitomer@cardiology.ummc.umich.edu: <> joe@mozart.cardiology.ummc.umich.edu
Mike.LeFree@cardiology.ummc.umich.edu: <> mike@brahms.cardiology.ummc.umich.edu
Sandy.Simon@cardiology.ummc.umich.edu: <> sandy@cardiology.ummc.umich.edu
to re-write my From: headers.
--
Ed Anselmo anselmo-ed@cs.yale.edu {harvard,decvax}!yale!anselmo-ed