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