Re: [exim] block host name

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Magnus Holmgren
日付:  
To: exim-users
題目: Re: [exim] block host name
lördag 18 mars 2006 08:03 skrev Alexey Danilevsky:
> Of course, you can block hostnames if they can be resolved via DNS. You can
> use acls like this:
>
> acl_check_coonect:
>    deny message = This hostname is blocked
>              condition = ${if eq{$sender_host_name}{some.hostname.com}
> {yes} {no}}

>

For matters of simplicity, the "{yes} {no}" part is redundant. ${if ...} by
default returns "yes" if the condition is true, and "" (which is evaluated as
false) if it is false.

--
Magnus Holmgren