Re: [Exim] Problem: Relaying for uncommon nets

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Giuliano Gavazzi
日付:  
To: Christian Hertel, exim-users
題目: Re: [Exim] Problem: Relaying for uncommon nets
At 10:33 am +0200 2004/06/02, Christian Hertel wrote:
>--
>Hello all!
>
>We have a customer who got an uncommon network like 120.255.255.0/24,
>for which we configured exim to allow relaying from. But now, exim
>relays from anywhere. We use exim 4.31-2, compiled from the debian


have you got an example of your exim relaying from anywhere...?

[...]
>
>--- part of exim config ---
>
>...
>hostlist   relay_from_hosts = 127.0.0.1 : 120.255.255.0/24
>...
>acl_check_rcpt:
>   accept  hosts         = :
>   deny    domains       = +local_domains
>           local_parts   = ^[.] : ^.*[@%!/|]
>   deny    domains       = !+local_domains
>           local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
>   accept  local_parts   = postmaster
>           domains       = +local_domains
>   require verify        = sender
>   accept  domains       = +forward_domains
>           verify        = recipient
>           endpass


            ^^^^^^^ ! perhaps this might confuse exim?


>   accept  domains       = +local_domains
>           endpass
>           message       = User unknown on this server
>           verify        = recipient
>   accept  hosts         = +relay_from_hosts
>   accept  authenticated = *
>   deny    message       = Relaying denied
>...

>

[...]

Giuliano