On 26/01/2010 13:27, Always Learning wrote:

> acl_smtp_rcpt = acl_check_rcpt
>
> acl_check_rcpt:
>
> deny    message       = [F02] HELO does not resolve to your IP address.
>          !verify       = helo
>
> deny    message       = [F03] Invalid Host Reverse Lookup.
>          !verify       = reverse_host_lookup
>
> deny    message       = [F04] Sending Mail Server Not Genuine.
>          hosts         = *-*-*-*
>
> The test in F04 does not block host names such as today's host names
> which were successfully stopped after more tests further along the
> checking process.
>
> 2010-01-26 11:25:53 H=95-24-0-105.broadband.corbina.ru [95.24.0.105]
> F=<[email protected]>  temporarily rejected RCPT<[email protected]>:
> [F21] Anti-Spam Protection. Please retry in a few minutes.
>
> 2010-01-26 11:26:30 H=95-24-0-105.broadband.corbina.ru [95.24.0.105]
> F=<[email protected]>  temporarily rejected RCPT<[email protected]>: [F21]
> Anti-Spam Protection. Please retry in a few minutes.
>
> How does one catch host names containing three hyphens (or dashes) ?

condition = ${if match{$sender_host_name}{\N(.*?-.*?){3}\N}}

"hosts" can't be used the way you're trying to use it.

-- 
Mike Cardwell    : UK based IT Consultant, Perl developer, Linux admin
Cardwell IT Ltd. : UK Company - http://cardwellit.com/       #06920226
Technical Blog   : Tech Blog  - https://secure.grepular.com/
Spamalyser       : Spam Tool  - http://spamalyser.com/

-- 
## List details at http://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/

Reply via email to