[Exim] MULTIPLE PIPES IN A SYSTEM WIDE FILTER

Page principale
Supprimer ce message
Répondre à ce message
Auteur: m. shahid
Date:  
À: exim-users
Sujet: [Exim] MULTIPLE PIPES IN A SYSTEM WIDE FILTER
[ Converted text/html to text/plain ]
HI.

I'm setting up a system wide filter.

I want to send incoming messages with a certain local part e.g jobs@ through
bogofilter.
if they are returned as spam, then send these messages to an rt queue.

if  $local_part_prefix is  "-jobs" then
pipe "usr/bin/bogofilter -u -e -p -d{location of db}"
if $h_X-Bogosity: contains Yes
then
    # send spam to rt spam queue
    pipe "/usr/share/request-tracker/sbin/rt-mailgate --queue spam"
    finish
elif $h_X-Bogosity contains No
then
    unseen finish
endif
endif


what I'm unsure about is are the two pipes allowed?
will each need a separate message_filter_pipe_transport?


------------------------------------------------------------------------------
Add photos to your messages with MSN 8. More info here.[1]

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