out/acl1
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 14:55:35 +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>
    17 >>> using ACL "acl_check_rcpt"
     6 >>> using ACL "acl_check_recipient"
    18 >>> processing "require"
     7 >>> processing "defer"
    19 >>> check domains = +local_domains
     8 >>> check !acl = same_domain
    20 >>> example.org in "example.com : example.org"? yes (matched "example.org")
     9 >>> using ACL "same_domain"
    21 >>> example.org in "+local_domains"? yes (matched "+local_domains")
    10 >>> processing "accept"
    22 >>> check verify = recipient
    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"
    23
    16
    24 >>> accept: condition test succeeded in ACL "acl_check_rcpt"
       
    25 <-  250 Accepted
    17 <-  250 Accepted
    26  -> RCPT TO:<office@example.org>
    18  -> RCPT TO:<office@example.org>
       
    19 >>> using ACL "acl_check_recipient"
       
    20 >>> processing "defer"
       
    21 >>> check !acl = same_domain
       
    22 >>> using ACL "same_domain"
       
    23 >>> processing "accept"
       
    24 >>> check condition = ${if !def:acl_m_domain}
       
    25 >>>                 = 
       
    26 >>> accept: condition test failed in ACL "same_domain"
       
    27 >>> processing "accept"
       
    28 >>> check domains = $acl_m_domain
       
    29 >>> example.org in "example.org"? yes (matched "example.org")
       
    30 >>> accept: condition test succeeded in ACL "same_domain"
    27
    31
    28 <-  250 Accepted
    32 <-  250 Accepted
    29  -> QUIT
       
    30 <-  221 jumper.Speedport_W_724V_Typ_A_05011602_00_001 closing connection