[Exim] Exim and SpamAssassin

Top Page
Delete this message
Reply to this message
Author: Segree, Gareth
Date:  
To: 'openna-users@lists.openna.com', 'exim-users@exim.org'
Subject: [Exim] Exim and SpamAssassin
I want to excude certain domains from going through my SpamAssassin rule.
I tried the following

real_localuser:
        local_part_prefix = nospam-
        check_local_user
        transport = remote_smtp
        driver = accept


spamcheck_router:
no_verify
condition = "${if and { {!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}}} {1}{0}}"
driver = accept
transport = spamcheck

users can send the mail to nospam-<user>@gleanerjm.com.
But this still goes through my spam_router rule. How can I get it to bypass
it?