ph10 2004/11/04 10:46:59 GMT
Added files:
exim-test-orig/AutoTest/aux 591.exim 591.sieve
exim-test-orig/AutoTest/confs 591
exim-test-orig/AutoTest/log 591
exim-test-orig/AutoTest/scripts 591
Log:
Test for forbid_{exim,sieve}_filter (forgot to cvs-add - I MUST remember
to cvs-update to check... will try harder ...)
Revision Changes Path
1.1 +3 -0 exim/exim-test-orig/AutoTest/aux/591.exim (new)
1.1 +4 -0 exim/exim-test-orig/AutoTest/aux/591.sieve (new)
1.1 +36 -0 exim/exim-test-orig/AutoTest/confs/591 (new)
1.1 +13 -0 exim/exim-test-orig/AutoTest/log/591 (new)
1.1 +13 -0 exim/exim-test-orig/AutoTest/scripts/591 (new)
Index: 591.exim
====================================================================
# Exim filter
seen finish
Index: 591.sieve
====================================================================
# Sieve filter
discard;
Index: 591
====================================================================
# Exim test configuration 591
ALLOW=allow_filter
FORBID=
# Macros are set externally in order to get the path
# of the Exim that is being tested, and the directory
# in which the test data lives.
exim_path = EXIM_PATH
primary_hostname = myhost.test.ex
spool_directory = DIR/spool
# ----- Main settings -----
# ----- Routers -----
begin routers
r1:
driver = redirect
user = exim
ALLOW
FORBID
file = DIR/aux/591.$local_part
# ----- Retry -----
begin retry
* * F,1d,1h
# End
Index: 591
====================================================================
1999-03-02 09:44:33 10HmaX-0005vi-00 <= ph10@??? U=ph10 P=local S=242
1999-03-02 09:44:33 10HmaX-0005vi-00 => discarded <exim@???> R=r1
1999-03-02 09:44:33 10HmaX-0005vi-00 => discarded <sieve@???> R=r1
1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
1999-03-02 09:44:33 10HmaY-0005vi-00 <= ph10@??? U=ph10 P=local S=242
1999-03-02 09:44:33 10HmaY-0005vi-00 => discarded <exim@???> R=r1
1999-03-02 09:44:33 10HmaY-0005vi-00 == sieve@??? R=r1 defer (-17): error in filter file: Sieve filtering not enabled
1999-03-02 09:44:33 10HmaZ-0005vi-00 <= ph10@??? U=ph10 P=local S=242
1999-03-02 09:44:33 10HmaZ-0005vi-00 == exim@??? R=r1 defer (-17): error in filter file: Exim filtering not enabled
1999-03-02 09:44:33 10HmaZ-0005vi-00 => discarded <sieve@???> R=r1
1999-03-02 09:44:33 10HmbA-0005vi-00 <= ph10@??? U=ph10 P=local S=242
1999-03-02 09:44:33 10HmbA-0005vi-00 == exim@??? R=r1 defer (-17): error in filter file: filtering not enabled
1999-03-02 09:44:33 10HmbA-0005vi-00 == sieve@??? R=r1 defer (-17): error in filter file: filtering not enabled
Index: 591
====================================================================
0 forbid_sieve_filter and forbid_exim_filter
exim -odi sieve@??? exim@???
****
0
exim -DFORBID=forbid_sieve_filter -odi sieve@??? exim@???
****
0
exim -DFORBID=forbid_exim_filter -odi sieve@??? exim@???
****
0
exim -DALLOW= -odi sieve@??? exim@???
****
no_msglog_check