Re: [exim] ACL filtering 3 dashes in host name

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Eduardo M KALINOWSKI
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] ACL filtering 3 dashes in host name
On Ter, 26 Jan 2010, Always Learning wrote:
> acl_smtp_rcpt = acl_check_rcpt
>
> acl_check_rcpt:
>
> 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.
>
> How does one catch host names containing three hyphens (or dashes) ?


One way is to use regular expressions:

http://www.exim.org/exim-html-current/doc/html/spec_html/ch08.html

If that cannot be used directly, the match condition can help:

http://www.exim.org/exim-html-current/doc/html/spec_html/ch11.html#SECTexpcond


-- 
Our little systems have their day;
They have their day and cease to be;
They are but broken lights of thee.
        -- Tennyson


Eduardo M KALINOWSKI
eduardo@???