[Mimedefang] Copying emails to another server

Roland Pope rpope at jadeworld.com
Mon Apr 4 17:23:21 EDT 2005


Hi,

I am running mimedefang-2.51 and I have a requirement to copy selected 
emails that traverse my mail gateway, onto a seperate archive mail server.
I know I could just do an add_recipient('archive at archiveserver.com'), but I 
need to store the list of original recipients in the email I am archiving.
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.
Any ideas how I can work this?

Thanks
Roland




More information about the MIMEDefang mailing list