Re: [Exim] exim and bogofilter -- something goes wrong

Página Inicial
Delete this message
Reply to this message
Autor: Michael V. Sokolov
Data:  
Para: exim-users
Assunto: Re: [Exim] exim and bogofilter -- something goes wrong
On Thursday 14 August 2003 15:20, ODHIAMBO Washington wrote:

> > # the next line looks for X-flag to see if the mail has been scanned
> > condition = ${if !def:h_X-flag: {true }}
>
>                                     ^^^^^^^^

>
> I don't know but could that space in there be removed, then run a test
> again??


i tried it and turn on debugging, and nothing happens:

6785 --------> bogofilter_router router <--------
 6785 local_part=g domain=foo.bar
 6785 checking domains
 6785 foo.bar in "*"? yes (matched "*")
 6785 checking "condition"
 6785 calling bogofilter_router router
 6785 bogofilter_router router called for g@???
 6785   domain = foo.bar
 6785 set transport bogofilter_filter
 6785 queued for bogofilter_filter transport: local_part = g
 6785 domain = foo.bar
 6785   errors_to=NULL
 6785   domain_data=NULL localpart_data=NULL
 6785 routed by bogofilter_router router
 6785   envelope to: g@???
 6785   transport: bogofilter_filter
 6785 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 6785 After routing:
 6785   Local deliveries:
 6785     g@???
 6785   Remote deliveries:
 6785   Failed addresses:
 6785   Deferred addresses:
 6785 search_tidyup called
 6785 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
 6785 --------> g@??? <--------
 6785 locking /var/spool/exim/db/retry.lockfile
 6785 locked /var/spool/exim/db/retry.lockfile
 6785 opened hints database /var/spool/exim/db/retry: flags=0
 6785 dbfn_read: key=T:g@???
 6785 no retry record exists
 6785 search_tidyup called
 6786 changed uid/gid: local delivery to g <g@???>
transport=bogofilter_filter
 6786   uid=26 gid=6 pid=6786
 6786   auxiliary group list: 6
 6786   home=/tmp current=/tmp
 6786 set_process_info:  6786 delivering 19nb2q-0001lJ-In to g using
bogofilter_filter
 6786 direct command:
 6786   argv[0] = /usr/local/bin/bogofilter
 6786   argv[1] = -d
 6786   argv[2] = /usr/local/etc/.bogofilter
 6786   argv[3] = -l
 6786   argv[4] = -p
 6786   argv[5] = -D
 6786 direct command after expansion:
 6786   argv[0] = /usr/local/bin/bogofilter
 6786   argv[1] = -d
 6786   argv[2] = /usr/local/etc/.bogofilter
 6786   argv[3] = -l
 6786   argv[4] = -p
 6786   argv[5] = -D
 6786 bogofilter_filter transport entered
 6786 direct command:
 6786   argv[0] = /usr/local/sbin/exim
 6786   argv[1] = -oMr
 6786   argv[2] = spam-scanned
 6786   argv[3] = -bS
 6786 direct command after expansion:
 6786   argv[0] = /usr/local/sbin/exim
 6786   argv[1] = -oMr
 6786   argv[2] = spam-scanned
 6786   argv[3] = -bS
 6786 Writing message to pipe
 6786 writing data block fd=9 size=22 timeout=3600
 6786 writing data block fd=9 size=29 timeout=3600
 6786 writing data block fd=9 size=5 timeout=3600
 6786 process 6789 running as transport filter: write=10 read=11
 6786 process 6790 writing to transport filter
 6786 copying from the filter
 6788 set_process_info:  6788 reading output from |/usr/local/sbin/exim -oMr
spam-scanned -bS
 6790 added header line(s):
 6790 X-flag: true---
 6790 writing data block fd=10 size=286 timeout=3600






--

Michael V. Sokolov, SA/Helpdesk