# # A sample user configuration file for GNU Anubis with Guile support. # Copy this file to your HOME directory as `.anubisrc' file. To protect # your passwords in this configuration file, use the 0600 (u=rw,g=,o=) # permissions, otherwise GNU Anubis won't accept this file. Hash-marked # comments (#) and white lines are ignored. # # # The "CONTROL" section. # User configuration file. # ---BEGIN CONTROL--- logfile "/tmp/anubis.log" loglevel ALL remote-mta localhost termlevel debug ---END--- ---BEGIN GUILE--- guile-output "/tmp/anubis.out" guile-debug yes guile-load-path-append /examples guile-load-program rot-13.scm guile-load-program anubis.scm ---END--- ---BEGIN RULE--- if header [Subject] = "Odp:.*" guile-rewrite-line rewrite-subject fi trigger :basic "^rot13.*subj" guile-process anubis-rot-13-header add [X-Comment] "Subject encoded with ROT-13" done trigger :basic "^rot13.*body" guile-process anubis-rot-13-body add [X-Comment] "Body encoded with ROT-13" done ---END---