Page 1 of 1

Exim Filters

Posted: 29 Jan 2017, 22:28
by mellowms
Hello,

We have had a request from a client to silently copy all inbound and outbound emails from a member of staff to their line manager. Normally we would use an exim custom filter, but having done this the filter did not work. We have now been told this is because we use mailscanner and the exim filters therefore will never work.

I've had a really good look around but I can't see a way to do something like this:

Code: Select all

if ("$h_to:, $h_cc:, $h_bcc" is "monitor@domain.com")
then
 unseen deliver "boss@domain.com"
endif

if $sender_address is "monitor@domain.com"
then
unseen deliver "boss@domain.com"
endif
in mailscanner. Could someone help point us in the right direction?

Thanks

Lee

Re: Exim Filters

Posted: 31 Jan 2017, 23:07
by sawbuck