Re: [exim] Relaying for IP address range

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: Mark Adams
CC: exim-users
Sujet: 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