[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-anubis] Anubis not processing emails !!
From: |
Wojciech Polak |
Subject: |
Re: [bug-anubis] Anubis not processing emails !! |
Date: |
Tue, 25 Nov 2003 15:30:31 +0100 |
On Tue, 25 Nov 2003 14:21:42 +0100 SANS wrote:
> My /home/user1/.anubisrc is as below...
> ---------------
> # The "CONTROL" section.
> <<-EOT
> logfile = /home/user1/anubis.log
> loglevel = all
> remote-mta = 192.168.0.76:25
>
> add header[X-Comment-1] "GNU's Not Unix!"
> add X-Comment: GNU's Not Unix!
> modify [Subject] "New subject"
> EOT
> -----------------
>
> My /etc/anubisrc file is as below...
> -----------------
> ---BEGIN CONTROL---
> bind = 192.168.0.76:24
> remote-mta = 192.168.0.76:25
> termlevel = debug
> ---END---
> -----------------
Specify "---BEGIN CONTROL---" and "---BEGIN RULE---".
Terminate each with "---END---". Like this:
---BEGIN CONTROL---
logfile = "/home/user1/anubis.log"
loglevel = all
remote-mta = 192.168.0.76:25
---END---
---BEGIN RULE---
add header[X-Comment-1] "GNU's Not Unix!"
add [X-Comment] "GNU's Not Unix!"
modify [Subject] "New subject"
---END---
Next, check your config with the command line option `-c1',
it should generate the following output:
BEGIN SECTION CONTROL
ASGN: logfile = /home/user1/anubis.log
ASGN: loglevel = all
ASGN: remote-mta = 192.168.0.76:25
END SECTION CONTROL
BEGIN SECTION RULE
ADD HEADER[X-Comment-1] "GNU's Not Unix!"
ADD HEADER[X-Comment] "GNU's Not Unix!"
MODIFY HEADER :exact [Subject] "New subject"
END SECTION RULE
Regards,
Wojciech