[exim-cvs] cvs commit: exim/exim-test/confs 0428 exim/exim-t…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: exim-cvs
Sujet: [exim-cvs] cvs commit: exim/exim-test/confs 0428 exim/exim-test/log 0428 exim/exim-test/mail 0428.userx exim/exim-test/scripts/0000-Basic 0428
ph10 2006/03/08 09:42:29 GMT

  Modified files:
    exim-test/confs      0428 
    exim-test/log        0428 
    exim-test/mail       0428.userx 
    exim-test/scripts/0000-Basic 0428 
  Log:
  Additional Sieve test (missed files from previous commit).


  Revision  Changes    Path
  1.2       +2 -0      exim/exim-test/confs/0428
  1.2       +4 -0      exim/exim-test/log/0428
  1.2       +19 -0     exim/exim-test/mail/0428.userx
  1.2       +10 -0     exim/exim-test/scripts/0000-Basic/0428


  Index: 0428
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/confs/0428,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0428    7 Feb 2006 10:34:26 -0000    1.1
  +++ 0428    8 Mar 2006 09:42:29 -0000    1.2
  @@ -43,6 +43,8 @@


   r2:
     driver = redirect
  +  local_part_suffix = -*
  +  local_part_suffix_optional
     allow_filter
     data = "#Sieve filter\n$h_filter:"
     user = CALLER


  Index: 0428
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/log/0428,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0428    7 Feb 2006 10:34:46 -0000    1.1
  +++ 0428    8 Mar 2006 09:42:29 -0000    1.2
  @@ -47,3 +47,7 @@
   1999-03-02 09:44:33 10HmbM-0005vi-00 Completed
   1999-03-02 09:44:33 10HmbL-0005vi-00 => >someone@??? <userx@???> R=r2 T=t3
   1999-03-02 09:44:33 10HmbL-0005vi-00 Completed
  +1999-03-02 09:44:33 10HmbN-0005vi-00 <= someone@??? U=CALLER P=local S=sss
  +1999-03-02 09:44:33 10HmbN-0005vi-00 => TESTSUITE/test-mail/userx <userx-suffix2@???> R=r2 T=t1
  +1999-03-02 09:44:33 10HmbN-0005vi-00 => TESTSUITE/test-mail/userx-sawsuffix <userx-suffix@???> R=r2 T=t1
  +1999-03-02 09:44:33 10HmbN-0005vi-00 Completed


  Index: 0428.userx
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/mail/0428.userx,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0428.userx    7 Feb 2006 10:34:59 -0000    1.1
  +++ 0428.userx    8 Mar 2006 09:42:29 -0000    1.2
  @@ -64,3 +64,22 @@


Test 13

  +From someone@??? Tue Mar 02 09:44:33 1999
  +Return-path: <someone@???>
  +Envelope-to: userx-suffix2@???
  +Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
  +Received: from CALLER by mail.test.ex with local (Exim x.yz)
  +    (envelope-from <someone@???>)
  +    id 10HmbN-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000
  +To: userx-suffix@???
  +Filter: require ["envelope","fileinto"]; 
  +        if envelope :matches :localpart "to" "*-suffix" {
  +          fileinto "userx-sawsuffix";
  +          stop; 
  +        }   
  +Message-Id: <E10HmbN-0005vi-00@???>
  +From: someone@???
  +Date: Tue, 2 Mar 1999 09:44:33 +0000
  +
  +Test 14
  +


  Index: 0428
  ===================================================================
  RCS file: /home/cvs/exim/exim-test/scripts/0000-Basic/0428,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 0428    7 Feb 2006 10:54:33 -0000    1.1
  +++ 0428    8 Mar 2006 09:42:29 -0000    1.2
  @@ -85,3 +85,13 @@
           vacation "I am gone.  Not here.";
   Test 13
   ****
  +# Test use of suffix
  +exim -odi -f someone@??? userx-suffix userx-suffix2
  +To: userx-suffix@???
  +Filter: require ["envelope","fileinto"]; 
  +        if envelope :matches :localpart "to" "*-suffix" {
  +          fileinto "userx-sawsuffix";
  +          stop; 
  +        }   
  +Test 14
  +****