Re: [exim] BCC Filter not working

Top Page
Delete this message
Reply to this message
Author: Ajay Kajla
Date:  
To: exim-users@exim.org
Subject: Re: [exim] BCC Filter not working
Hi,

Yes, I am sending mail from ajay.k@??? to cc: ajaykajla@???
and bcc: ajaykajla@??? after applying following filter. But both
mails are going through.

~~~~~~~~~~~~~~~
if ("$h_from:" contains "ajay.k@???" and $h_bcc:" contains
"ajaykajla")
then
deliver "alerts@???"
endif
~~~~~~~~~~~~~~~

Regards,
Ajay Kajla

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Apr 24, 2017 at 4:42 PM, George L. Yermulnik <yz@???> wrote:

> Hello!
>
> On Mon, 24 Apr 2017 at 10:23:45 (+0530), Ajay Kajla via Exim-users wrote:
>
> > I'm trying to setup following exim filter but it's not working, assuming
> > example.com is my domain and I want any outgoing mail from my server
> > containing some key-work in BCC should also get delivered to our
> monitoring
> > ID alerts@???.
>
> > #####Test Filter 20/Apr/2017
> > if ("$h_from:" contains "example.com" and $h_bcc:" contains "ajaykajla")
> > then
> > unseen deliver "alerts@???"
> > endif
> > ######
>
> > Is there any problem in above filter?
>
> Are you sure there's a "Bcc:" header in the target messages?
>
> --
> George L. Yermulnik
> [YZ-RIPE]
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>




--
-Ajay