12 |
# |
# |
13 |
|
|
14 |
---BEGIN CONTROL--- |
---BEGIN CONTROL--- |
15 |
logfile = /tmp/anubis.log |
logfile "/tmp/anubis.log" |
16 |
loglevel = ALL |
loglevel ALL |
17 |
remote-mta = localhost |
remote-mta localhost |
18 |
termlevel = debug |
termlevel debug |
19 |
---END--- |
---END--- |
20 |
|
|
21 |
---BEGIN GUILE--- |
---BEGIN GUILE--- |
22 |
guile-output = /tmp/anubis.out |
guile-output "/tmp/anubis.out" |
23 |
guile-debug = yes |
guile-debug yes |
24 |
guile-load-path-append = <path-to-anubis-directory>/examples |
guile-load-path-append <path-to-anubis-directory>/examples |
25 |
guile-load-program = rot-13.scm |
guile-load-program rot-13.scm |
26 |
guile-load-program = anubis.scm |
guile-load-program anubis.scm |
27 |
---END--- |
---END--- |
28 |
|
|
29 |
---BEGIN RULE--- |
---BEGIN RULE--- |
30 |
|
|
31 |
if header =^Subject: |
if header [Subject] = "Odp:.*" |
32 |
guile-rewrite-line = rewrite-subject |
guile-rewrite-line rewrite-subject |
33 |
fi |
fi |
34 |
|
|
35 |
trigger :basic =^rot13.*subj |
trigger :basic "^rot13.*subj" |
36 |
guile-process = anubis-rot-13-header |
guile-process anubis-rot-13-header |
37 |
add = X-Comment: Subject encoded with ROT-13 |
add [X-Comment] "Subject encoded with ROT-13" |
38 |
done |
done |
39 |
|
|
40 |
trigger :basic =^rot13.*body |
trigger :basic "^rot13.*body" |
41 |
guile-process = anubis-rot-13-body |
guile-process anubis-rot-13-body |
42 |
add = X-Comment: Body encoded with ROT-13 |
add [X-Comment] "Body encoded with ROT-13" |
43 |
done |
done |
44 |
|
|
45 |
---END--- |
---END--- |