https://bugs.exim.org/show_bug.cgi?id=2028

            Bug ID: 2028
           Summary: verify sender= unknown option in ACL condition
           Product: Exim
           Version: 4.84
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Standard compilation "Exim version 4.84_2 #1 built 02-Jan-2017 18:43:30"
from:
Distributor ID: Debian
Description:    Debian GNU/Linux 8.7 (jessie)
Release:        8.7
Codename:       jessie

My acl_check_data contains acl:

  deny
    message         = Header Sender have a invalid ${sender_verify_failure}:
<${address:$h_sender:}>
    log_message     = Header Sender have a invalid ${sender_verify_failure}:
<${address:$h_sender:}>
    !acl = acl_local_deny_exceptions
    condition       = ${if def:h_sender: {yes}{no}}
    !verify         = sender=${address:$h_sender:}/no_details

    delay           = 15s

This acl produces strange err probably due email address containing "/"
character

part of rejectlog:

>2017-01-26 16:15:31 1cWllq-0002ZW-ST H=limos.charyty.pl (smtp.niebieski.net) 
>[94.152.193.43]:43474 F=<[email protected]> temporarily rejected after 
>DATA: unknown option "[email protected]" in ACL condition "verify 
>sender=AliorBank/[email protected]/no_details"
>Envelope-from: <[email protected]>
>...
>F From: "Alior Bank / SuperMailito" <AliorBank/[email protected]>




${address:$h_sender:} = "AliorBank/[email protected]" and check is
constructed :

 !verify = sender=AliorBank/[email protected]/no_details

"[email protected]" is treated as an option to verify statement?

I tried 
   !verify = sender=${quote:${address:$h_sender:}}/no_details 

but then I see "rejected after DATA: Header From have a invalid qualify:
<[email protected]>: Sender verify failed" in my logs ..
Am I missing something?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to