From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210560.tru64-unix-managers.marc@archive.invalid> From: Jonathan Earle Date: Wed, 19 Nov 1997 19:26:59 +0000 To: tru64-unix-managers Subject: rewriting mail headers with sendmail X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210560 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