[Mimedefang] Copying emails to another server

David F. Skoll dfs at roaringpenguin.com
Mon Apr 4 17:30:36 EDT 2005


Roland Pope wrote:

> If I do an action_add_header("X-Orig-Rcpts", join(", ", @Recipients)),
> then all recipients of the email will be able to see any Bcc recipients
> by viewing the mail headers, which is undesirable.
> If I call resend_message('archive at archiveserver.com') I don't have the
> option of adding an X-Orig-Rcpts type header because it resends the
> original, unmodified message.

Take a look at the source code to resend_message.  It should be
quite easy to modify it so you copy the INPUTMSG file to a new
file with your header added, and then send that file instead.

Regards,

David.



More information about the MIMEDefang mailing list