Re: [exim] Relaying for IP address range

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jakob Hirsch
Ημερομηνία:  
Προς: Mark Adams
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Relaying for IP address range
Quoting Mark Adams:

> I'm having problems setting up a relay for an external IP address range,
> the following has been setup in acl_check_rcpt
>
> accept
>     hosts = SPECIAL_RELAY
>     log_message = "SPECIAL ACCEPT: $sender_address locally specially whitelisted"

>
> SPECIAL_RELAY is defined in listmacrodefs as 213.185.*.*


this should be 213.185.0.0/16.
besides that, why don't you use Exim's builtin syntax:

# main section
hostlist special_relay = 213.185.0.0/16
...
# acl section
...
accept
hosts = +special_relay