[exim-dev] [Bug 2028] New: verify sender= unknown option in …

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2028] verify sender= and addr with / in localpart: unknown option in ACL condition, [exim-dev] [Bug 2028] verify sender= and addr with / in localpart: unknown option in ACL condition, [exim-dev] [Bug 2028] verify sender= and addr with / in localpart: unknown option in ACL condition
Subject: [exim-dev] [Bug 2028] New: verify sender= unknown option in ACL condition
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: jgh146exb@???
          Reporter: jakub.juraszek@???
                CC: exim-dev@???


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=<odbicia@???> temporarily rejected after DATA: unknown option "SuperMailito@???" in ACL condition "verify sender=AliorBank/SuperMailito@???/no_details"
>Envelope-from: <odbicia@???>
>...
>F From: "Alior Bank / SuperMailito" <AliorBank/SuperMailito@???>





${address:$h_sender:} = "AliorBank/SuperMailito@???" and check is
constructed :

!verify = sender=AliorBank/SuperMailito@???/no_details

"SuperMailito@???" 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:
<ok@???>: 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.