[exim-dev] [Bug 3089] New: BCC detection not working in Exam…

Góra strony
Delete this message
Reply to this message
Autor: Exim Bugzilla
Data:  
Dla: exim-dev
Nowe tematy: [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering, [exim-dev] [Bug 3089] BCC detection not working in Exim custom filtering
Temat: [exim-dev] [Bug 3089] New: BCC detection not working in Exam custom filtering
https://bugs.exim.org/show_bug.cgi?id=3089

            Bug ID: 3089
           Summary: BCC detection not working in Exam custom filtering
           Product: Exim
           Version: 4.96+
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Filters
          Assignee: unallocated@???
          Reporter: suhesh@???
                CC: exim-dev@???


Hello,

As a part of customer request, we are setup a filter to block outgoing emails
to some of the recipients from some sender. Like they have 3 groups, one group
can send email to all, second group is limited to send and receive mails
between specific domains ( like in same domain and som customer emails ) and
the third group only allowed to send and receive emails within the same domain,
no outside communication.

While we tested the mails, TO address is filtered, but BCC is not detecting. So
I created a custom filter for blocking one address to gmail.

Filter 
------------------
if first_delivery
        and ("$h_from:" contains "nixtech@???" )
        and ("$h_to:, $h_cc:, $h_bcc" contains "@???")
then 
        fail "Filter-GMAIL,  Messages gmail.com s blocked !!"
endif
------------------
Test 1 : From: nixtech@??? -> TO: gmail.com  => Blocked 
Test 1 : From: nixtech@??? -> CC: gmail.com  => Blocked 
Test 1 : From: nixtech@??? -> BCC: gmail.com  => Not Blocked.


If BCC is not filtering, we it should be a bug with the filter and the original
requirement is failing.

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/