Author: Justin Granger Date: To: Exim-users Subject: [exim] System Filter for Outgoing Mail Without Repeating Any CC's
I have a system filter that BCC's all outgoing emails to an archive
address. Currently, it forwards a copy of each recipient to the archive
address which results in several duplicate copies of the "same" email.
The archive address is monitored in real-time and I need to eliminate
duplicates for an ongoing business process.
Does anyone have a solution to unseen deliver only one copy to this
archive and still deliver the message to all recipients?
if first_delivery
and ($header_from: contains "@mydomain.com")
and not ("$h_X-Spam-Checker-Version:" begins "SpamAssassin")
then
unseen deliver "outgoingemail@???"
endif
--
Thanks,
Justin Granger
Director of IT
Director of Software Development
V: 972.808.7463