Re: [exim] Limit SMTP by domain.

Top Pagina
Delete this message
Reply to this message
Auteur: Drav Sloan
Datum:  
Aan: Chuck Rock
CC: exim-users
Onderwerp: Re: [exim] Limit SMTP by domain.
Chuck Rock wrote:
> check_recipient:
>
> I've added
>
>
> deny !hosts = +relay_hosts
> message = Please use the MX
> domains = +filtered_domains


How about something like:

deny domains = +filtered_domains
     condition = ! ${if eq {$sender_host_address}{IP_OF_FILTER}}
     message = Please use the MX


Regards

D.