[exim-cvs] cvs commit: exim/exim-test/aux-fixed 0023.acl2 e…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: exim-cvs
Betreff: [exim-cvs] cvs commit: exim/exim-test/aux-fixed 0023.acl2 exim/exim-test/confs 0023 exim/exim-test/scripts/0000-Basic 0023 exim/exim-test/stderr 0023 exim/exim-test/stdout 0023
ph10 2006/04/19 12:11:13 BST

  Modified files:
    exim-test/confs      0023 
    exim-test/scripts/0000-Basic 0023 
    exim-test/stderr     0023 
    exim-test/stdout     0023 
  Added files:
    exim-test/aux-fixed  0023.acl2 
  Log:
  Add a test for "!acl=" which was missing (and would have picked up a bug
  in 4.61).


  Revision  Changes    Path
  1.1       +2 -0      exim/exim-test/aux-fixed/0023.acl2 (new)
  1.2       +3 -0      exim/exim-test/confs/0023
  1.2       +6 -0      exim/exim-test/scripts/0000-Basic/0023
  1.2       +31 -0     exim/exim-test/stderr/0023
  1.2       +10 -0     exim/exim-test/stdout/0023


  Index: 0023.acl2
  ====================================================================
  accept  domains = b
          local_parts = a


  Index: 0023
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/confs/0023,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0023    7 Feb 2006 10:34:25 -0000    1.1
  +++ 0023    19 Apr 2006 11:11:12 -0000    1.2
  @@ -219,6 +219,9 @@
                       Original was >$acl_verify_message<
             verify  = recipient


+acl_60_60_60:
+ accept !acl = DIR/aux-fixed/0023.acl2
+

# ----- Transports -----


  Index: 0023
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/scripts/0000-Basic/0023,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0023    7 Feb 2006 10:54:33 -0000    1.1
  +++ 0023    19 Apr 2006 11:11:13 -0000    1.2
  @@ -331,3 +331,9 @@
   rcpt to:<x1@y>
   quit
   ****
  +exim -bh 60.60.60.60
  +mail from:<x@y>
  +rcpt to:<x@y>
  +rcpt to:<a@b>
  +quit
  +****


  Index: 0023
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/stderr/0023,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0023    7 Feb 2006 10:47:31 -0000    1.1
  +++ 0023    19 Apr 2006 11:11:13 -0000    1.2
  @@ -1168,3 +1168,34 @@
   LOG: H=[44.44.44.1] Warning: ACL "warn" statement skipped: condition test deferred
   >>> processing "accept"
   >>> accept: condition test succeeded
  +>>> host in hosts_connection_nolog? no (option unset)
  +>>> host in host_lookup? no (option unset)
  +>>> host in host_reject_connection? no (option unset)
  +>>> host in sender_unqualified_hosts? no (option unset)
  +>>> host in recipient_unqualified_hosts? no (option unset)
  +>>> host in helo_verify_hosts? no (option unset)
  +>>> host in helo_try_verify_hosts? no (option unset)
  +>>> host in helo_accept_junk_hosts? no (option unset)
  +>>> using ACL "acl_60_60_60"
  +>>> processing "accept"
  +>>> check !acl = TESTSUITE/aux-fixed/0023.acl2
  +>>> read ACL from file TESTSUITE/aux-fixed/0023.acl2
  +>>> processing "accept"
  +>>> check domains = b
  +>>> y in "b"? no (end of list)
  +>>> accept: condition test failed
  +>>> end of ACL "TESTSUITE/aux-fixed/0023.acl2": implicit DENY
  +>>> accept: condition test succeeded
  +>>> using ACL "acl_60_60_60"
  +>>> processing "accept"
  +>>> check !acl = TESTSUITE/aux-fixed/0023.acl2
  +>>> using ACL "TESTSUITE/aux-fixed/0023.acl2"
  +>>> processing "accept"
  +>>> check domains = b
  +>>> b in "b"? yes (matched "b")
  +>>> check local_parts = a
  +>>> a in "a"? yes (matched "a")
  +>>> accept: condition test succeeded
  +>>> accept: condition test failed
  +>>> end of ACL "acl_60_60_60": implicit DENY
  +LOG: H=[60.60.60.60] F=<x@y> rejected RCPT <a@b>


  Index: 0023
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/stdout/0023,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0023    7 Feb 2006 10:47:37 -0000    1.1
  +++ 0023    19 Apr 2006 11:11:13 -0000    1.2
  @@ -455,3 +455,13 @@
   550 host in DNS list rbl.test.ex: This is a test blacklisting message
   550 host in DNS list rbl.test.ex: This is a test blacklisting message
   221 myhost.test.ex closing connection
  +
  +**** SMTP testing session as if from host 60.60.60.60
  +**** but without any ident (RFC 1413) callback.
  +**** This is not for real!
  +
  +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
  +250 OK
  +250 Accepted
  +550 Administrative prohibition
  +221 myhost.test.ex closing connection