tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* rewriting mail headers with sendmail
@ 1997-11-18 16:07 Jonathan Earle
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Earle @ 1997-11-18 16:07 UTC (permalink / raw)
  To: tru64-unix-managers

<EXT:PLAINTEXT_OK>

Hopefully, a quick question.  We're running a firewall/encryption system
which rewrites the headers on incoming mail messages such that all messages
appear to be from the encryption machine, not the original sender.  (A
scant few messages escape through unscathed, but i have no idea why this
is.)  Needless to say, when our users hit 'reply' without checking the To:
line first, the messages go to the encryption box, not the intended
recipient.  We can't modify the encryption software to prevent this, so I
think I need to massage sendmail some, to get the results we need.

What I want to do is this:  When the message hits the firewall, I want
sendmail to insert a new header, and copy the contents of the From: header
to it.   Next, once the message passes through the encryption machine, I
want sendmail on that box to rewrite the From: header of the message with
the contents of the header I created on the firewall.

Cheers!
Jon
---
Jonathan Earle
Technical Architect
HUB Computer Consulting Inc.
Pager: (613)751-4948
Email: jearle@hubcc.ca

       "You can never burn out as long as you're doing what you enjoy. 
When it stops being fun, then you burn out.  And I'm still having fun."
                                                               - jms

^ permalink raw reply	[flat|nested] 2+ messages in thread

* rewriting mail headers with sendmail
@ 1997-11-19 19:26 Jonathan Earle
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Earle @ 1997-11-19 19:26 UTC (permalink / raw)
  To: tru64-unix-managers

<EXT:PLAINTEXT_OK>

Hello,

I posted a couple of days ago concerning a requirement to perform header
rewriting using sendmail.  I've poked around more, and found that the
problem may be slightly more straightforward.

Background:  We have a firewall box, which receives all mail, and forwards
it to the proper host.  This works fine - headers are preserved, messages
look fine.  We have an encryption box, which received messages, encrypts
them, and resends them to our POP server.  Confusing, yes, but this is what
we have to work with.  The problem lies with the encryption box - the
encryption software package is calling sendmail to pass along the newly
encrypted message.  Naturally, it sends the message using the userid it is
running under.

What I want to do is this:  All boxes in the mail chain will check for the
existence of a special header which, if not present, will be created and
the contents of the current From: header copied to it.  This will give us a
pre-encrypted copy of the original sender.  When mail hits the POP server,
it will rewrite the From: header, copying the contents of our special
header back.

This would serve our needs, however, if there is a better way, I'm all eyes.

Cheers!
Jon
---
Jonathan Earle
Technical Architect
HUB Computer Consulting Inc.
Pager: (613)751-4948
Email: jearle@hubcc.ca

       "You can never burn out as long as you're doing what you enjoy. 
When it stops being fun, then you burn out.  And I'm still having fun."
                                                               - jms

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-11-19 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-18 16:07 rewriting mail headers with sendmail Jonathan Earle
  -- strict thread matches above, loose matches on Subject: below --
1997-11-19 19:26 Jonathan Earle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox