out/acl2
branchclt2015
changeset 30 ac1700753eea
parent 17 823b583c7f72
equal deleted inserted replaced
29:f5fb56d00192 30:ac1700753eea
     1 $ swaks --pipe 'exim -bh 8.8.8.8' -f … -t info@example.org,office@example.org -q rcpt
     1 $ swaks --pipe 'exim -bh 8.8.8.8' -f … -t info@example.org,office@example.org -q rcpt
     2 <-  
       
     3 <-  **** SMTP testing session as if from host 8.8.8.8
     2 <-  **** SMTP testing session as if from host 8.8.8.8
     4 <-  **** but without any ident (RFC 1413) callback.
       
     5 <-  **** This is not for real!
     3 <-  **** This is not for real!
     6 <-  
     4
     7 <-  220 jumper.Speedport_W_724V_Typ_A_05011602_00_001 ESMTP Exim 4.80 Sun, 11 May 2014 15:16:37 +0200
       
     8  -> EHLO jumper.schlittermann.de
       
     9 <-  250-jumper.Speedport_W_724V_Typ_A_05011602_00_001 Hello jumper.schlittermann.de [8.8.8.8]
       
    10 <-  250-SIZE 52428800
       
    11 <-  250-8BITMIME
       
    12 <-  250-PIPELINING
       
    13 <-  250 HELP
       
    14  -> MAIL FROM:<hs@schlittermann.de>
       
    15 <-  250 OK
       
    16  -> RCPT TO:<info@example.org>
     5  -> RCPT TO:<info@example.org>
       
     6 >>> using ACL "acl_check_recipient"
       
     7 >>> processing "defer"
       
     8 >>> check !acl = same_domain
       
     9 >>> using ACL "same_domain"
       
    10 >>> processing "accept"
       
    11 >>> check condition = ${if !def:acl_m_domain}
       
    12 >>>                 = true
       
    13 >>> check set acl_m_domain = $domain
       
    14 >>>                        = example.org
       
    15 >>> accept: condition test succeeded in ACL "same_domain"
       
    16
    17 <-  250 Accepted
    17 <-  250 Accepted
    18  -> RCPT TO:<office@example.com>
    18  -> RCPT TO:<office@example.com>
    19 <** 451 multiple recipients for differend domains
    19 >>> using ACL "acl_check_recipient"
    20  -> QUIT
    20 >>> processing "defer"
    21 <-  221 jumper.Speedport_W_724V_Typ_A_05011602_00_001 closing connection
    21 >>> using ACL "same_domain"
       
    22 >>> check condition = ${if !def:acl_m_domain}
       
    23 >>>                 = 
       
    24 >>> accept: condition test failed in ACL "same_domain"
       
    25 >>> processing "accept"
       
    26 >>> check domains = $acl_m_domain
       
    27 >>> example.com in "example.org"? no (end of list)
       
    28 >>> accept: condition test failed in ACL "same_domain"
       
    29 >>> processing "deny"
       
    30 >>> deny: condition test succeeded in ACL "same_domain"
       
    31 >>> defer: condition test succeeded in ACL "acl_check_recipient"
       
    32
       
    33 <** 451 multiple recipient with same domain only