Re: [exim] Limit SMTP by domain.

Pàgina inicial
Delete this message
Reply to this message
Autor: Chuck Rock
Data:  
A: 'Drav Sloan'
CC: exim-users
Assumpte: Re: [exim] Limit SMTP by domain.
The server is also used for outgoing mail for most of the domains too, so I
would want to use the allowed relays list or the users wouldn't be able to
send each other E-mail either.

Right? Can I use an OR in the condition to include the relay_hosts list?

Chuck

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Drav Sloan
Sent: Wednesday, August 01, 2007 10:45 AM
To: Chuck Rock
Cc: exim-users@???
Subject: 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.

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/