# # A sample user configuration file. Copy this file to your HOME directory # as the `.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--- # remote-mta HOST[:PORT] # local-mta FILE-NAME [ARGS] # logfile FILE-NAME # loglevel NONE-FAILS-ALL # tracefile YES-NO-FILE-NAME # esmtp-auth USERNAME:PASSWORD # socks-proxy HOST[:PORT] # socks-v4 YES-OR-NO # socks-auth USERNAME:PASSWORD # ssl YES-OR-NO # ssl-oneway YES-OR-NO # ssl-cert FILE NAME # ssl-key FILE-NAME # ssl-cafile FILE-NAME ---END--- # # The Rule System (The RULE section) # User configuration file only. Examples: # ---BEGIN RULE--- gpg-passphrase "MYSECRETPASSPHRASE" # Process the (E)SMTP commands. if command["mail from"] ".*?" STOP fi # Process a message header lines. # The Triggers: trigger "gpg-sign" gpg-sign default done trigger "gpg-encrypt:(.*)" add header[X-GPG] "Encrypted for \1" gpg-encrypt \1 done trigger "gpg-se:(.*)" gpg-se \1:default done # # # if header[To] ".*?" modify header[Reply-To] "mybox@myisp.net" add header[X-Comment] "GNU's Not Unix!" fi if header[X-Mailer] :perlre "(.*)" add header[X-Comment] "\1 rocks!" modify header[X-Mailer] "The lousy mailer \1" fi if header[Subject] "(.*)" and not header[Subject] :scase "URGENT" add header[X-Comment] "This message is not URGENT (\1)." fi if header[Subject] "gpg-encrypt" gpg-encrypt GPG-KEY(S) fi if header[Subject] "signature-file" signature-file-append yes fi ---END---