Re: [Exim] Routing with Spamcop

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matthew Byng-Maddick
Date:  
À: exim list
Sujet: Re: [Exim] Routing with Spamcop
On Wed, Jul 31, 2002 at 02:14:03AM -0700, Mark Edwards wrote:
> On Wednesday, July 31, 2002, at 12:57  AM, Matthew Byng-Maddick wrote:
> >spam_trap:
> >  driver = redirect
> >  condition = ${if def:h_Spam_header_that_youve_added: {yes}{no}}
> >  user = exim
> >  data = /path/to/spambox
> >  transport = address_file
> >  no_verify
> Okay, I think I've got this set up.  In my ACL:
> warn    message       = X-blacklisted-at: $dnslist_domain
>         log_message   = found in $dnslist_domain
>         dnslists      = bl.spamcop.net
> In my routers:
> spam_trap:
>   driver = redirect
>   condition = ${if def:h_X-blacklisted-at: {yes}{no}}
>   user = exim
>   data = /var/mail/spam
> #  transport = address_file

    file_transport = address_file

> no_verify
> I commented out the transport directive because exim complained that this
> router shouldn't have a transport defined.


Yes, sorry.

> Now, I haven't seen this setup work yet (no spam so far) but what do you
> think?


I was hoping that someone else would jump on me if I'd made any mistakes
in it. Note that this is from the top of my head, so it may not work. I'd
suggest testing it by adding another dns based blacklist of your own, and
see what happens.

MBM

--
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/