Re: [Exim] Exim and SpamAssassin

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Farmer
Date:  
À: exim-users
Sujet: Re: [Exim] Exim and SpamAssassin

----- Original Message -----
From: "Segree, Gareth" <Gareth.Segree@???>
To: <openna-users@???>; <exim-users@???>
Sent: Monday, October 28, 2002 3:05 PM
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?


Gareth,

I think you just put this line in your spamcheck_router:

domains = ! +nospamcheck

and then this line near the top somewhere:

domainlist nospamcheck = my.first.domain : my.second.domain

I'm pretty sure someone will confirm it.


HTH

--
Peter Farmer