From: Jonathan Earle <jearle () dmcs ! dnd ! ca>
To: tru64-unix-managers
Subject: rewriting mail headers with sendmail
Date: Wed, 19 Nov 1997 19:26:59 +0000 [thread overview]
Message-ID: <96078619210560.tru64-unix-managers.marc@archive.invalid> (raw)
<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
next reply other threads:[~1997-11-19 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-19 19:26 Jonathan Earle [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-11-18 16:07 rewriting mail headers with sendmail Jonathan Earle
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox