[Exim] Bogofilter and system wide filter

Startseite
Nachricht löschen
Nachricht beantworten
Autor: m. shahid
Datum:  
To: toffe
CC: exim-users
Betreff: [Exim] Bogofilter and system wide filter
[ Converted text/html to text/plain ]
I just read your post,

> I made my own filter but it doesn't work :
> # Exim filter
>
> if not first_delivery then finish endif
>
> if error_message then finish endif
>
> pipe "/usr/bin/bogofilter -d /usr2/bogofilter -e -p -l -u"
> if $h_X-Bogosity: contains Yes
> then
>    # save spam in a file
>    save $home/.spam
>        seen finish
> elif $h_X-Bogosity: contains No
> then
>    unseen finish
> endif

I'm trying to do something similar but as I understand, if you pipe a message
you need to specify a messge_filter_pipe_transport = <transport_name>.
Will this make the result of the pipe available for further processing?

Also where you have identified spam and save to a file this ,I believe, also
requires a transport for delivery.

Also , when the unseen command is specified, does this send the message into
normal directing/routing?

Thanks

Regards

fizz

------------------------------------------------------------------------------
Protect your PC from e-mail viruses. Get MSN 8 today.[1]

===References:===
1. http://g.msn.com/8HMMENUK/2752