Re: [exim] ditch_spam problem: blackhole

Góra strony
Delete this message
Reply to this message
Autor: SCHNEIDER Benoit
Data:  
Dla: exim-users
Temat: Re: [exim] ditch_spam problem: blackhole
Hi

tank's for you answer,
If in understand the line: "and whiteliste not regexp
'${quote_mysql:$header_from}''
It's mean about every mail who come from all local domain will be accepted ?

But I want to setup a list of distant domain, or email, for this i was
thinking about two line:
"and whiteliste not regexp '$whitelisteemail''
"and whiteliste not regexp '$whitelistedomain''

where $whitelisteemail and $whitelistedomain will be like:

$whitelisteemail = user1@??? : user2@???
$whitelistedomain = distdomaine3.com : distdomaine4.com

I'm in the right way ?

Regards

2012/1/10 Cyborg <cyborg2@???>

> Am 10.01.2012 15:02, schrieb SCHNEIDER Benoit:
>
>> R=ditch_spam
>>>> 2012-01-10 10:56:32 1RkYRT-0001ZX-OJ Completed
>>>>
>>>
>>> 1.
>>>    condition = ${if >{$spam_score_int}{${lookup mysql{select
>>>    users.sa_refuse * 10 from users,domains \
>>> 2.
>>>                    where localpart = '${quote_mysql:$local_part}' \
>>> 3.
>>>                    and domain = '${quote_mysql:$domain}' \
>>> 4.
>>>                    and users.on_spamassassin = '1' \
>>> 5.
>>>                    and users.domain_id=domains.**domain_id \
>>> 6.
>>>                    and users.sa_refuse > 0 }{$value}fail}} {yes}{no}}

>>>
>>>
> Add something like this to it "and whiteliste not regexp
> '${quote_mysql:$header_from}''
>
> Marius
> --
> ## List details at https://lists.exim.org/**mailman/listinfo/exim-users<https://lists.exim.org/mailman/listinfo/exim-users>
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>