Re: [Exim] exim and bogofilter (now on debian) couldn't inte…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Michael V. Sokolov
CC: exim-users
Betreff: Re: [Exim] exim and bogofilter (now on debian) couldn't integrate
On Fri, 15 Aug 2003, Michael V. Sokolov wrote:

> bogofilter_filter:
> driver = pipe
> command = /usr/sbin/exim4 -oMr spam-scanned -bS
> use_bsmtp = true
> transport_filter = /usr/bin/bogofilter -d /etc/.bogofilter -p -e
> group = mail
> return_fail_output = true
> user = mail
> home_directory = "/tmp"
> current_directory = "/tmp"
> log_output = true
> return_path_add = false
>
> then i run update-exim4.conf and run exim4 with -d+all, that shows following:
>
> 14:25:43   828 waiting for filter process
> 14:25:43   828 waiting for writing process
> 14:25:43   828 end of filtering transport writing: yield=0
> 14:25:43   828 errno=110 more_errno=0
> 14:25:43   828 ---0 Get 135101072    56       string.c  349
> 14:25:43   828 ---0 Ext 135101072   156       string.c  829
> 14:25:43   828 bogofilter_filter transport yielded 2


That message indicates that the script /usr/bin/bogofilter failed,
giving a return code of 2 instead of 0.

I don't know anything about bogofilter, but your next approach should be
to try to find out why the script does not run successfully.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book