Re: [exim] Not stoping spam emails on Aliases email address

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Giuliano Gavazzi
日付:  
To: Exim-users
題目: Re: [exim] Not stoping spam emails on Aliases email address

On T 15 Jul, 2008, at 15:18 , talat wrote:

> Hi Peter,
>
> Currently the router i have is given below.
>
> ditch_spam:
> driver = redirect
> allow_fail
> data = :blackhole:
> condition = ${if >{$spam_score_int}{${lookup mysql{select
> users.sa_refuse *
> 10 from users,domains \
> where localpart = '${quote_mysql:$local_part}' \
> and domain = '${quote_mysql:$domain}' \
> and users.on_spamassassin = '1' \
> and users.domain_id=domains.domain_id \
> and users.sa_refuse > 0 }{$value}fail}} {yes}{no}}
> local_part_suffix = -*
> local_part_suffix_optional
> retry_use_local_part
>
> Can you please explain in more detail what else i need to add to
> also check
> aliases


A guess, have you got the aliases in your mysql table or just the
local users? In the second case, have you resolved the alias before
the ditch_spam router?
Also, why dont you reject at SMTP, even if after DATA? It is quite an
administrative and end user nightmare to have a message disappear in
the void when your filter catches a false positive.
Giuliano