[Exim] Spam assasin and hub_route

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jon James
Date:  
À: exim-users
Sujet: [Exim] Spam assasin and hub_route
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi peeps,


I am trying to get exim 4.05 to spam check mail with spamassassin then forward that checked mail onto a certain host. Can anyone point me in the right direction ?


at the min i have the folling


spamcheck_router:
no_verify
check_local_user
# When to scan a message :
# - it isn't already flagged as spam
# - it isn't already scanned
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}}"
driver = accept
transport = spamcheck



hub_route:
    driver = manualroute
    transport = remote_smtp
    route_list = *fluidic-space.org.uk  192.168.1.1





This works fine, checks all mail for spam but..... mail for fluidic-space.org.uk does not get checked and gets routed direct to 192.168.1.1



Any help is greatly accepted





Cheers


Jon
--