Exim Filters

Discuss our MailScanner install script and MailScanner itself
Post Reply
mellowms
Junior Member
Posts: 1
Joined: 29 Jan 2017, 22:21

Exim Filters

Post 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
sawbuck
Junior Member
Posts: 366
Joined: 10 Dec 2006, 16:20

Re: Exim Filters

Post by sawbuck »

Post Reply