Ah okay... so I dont have to accept based on all conditions which are
included in the current ACL

So I could simply put

hostlist   relay_from_hosts     = /etc/exim/relayhosts.txt

acl_check_rcpt:
   accept  hosts                = +relay_from_hosts


and then list all IP ranges that I want to allow relay through. As this AV
server will sit behind the border SMTP server then I will only include the
IPs of those border servers. As I dont specify any domain information then
it will relay for all domains. 

Does this add up?

Ian



John Robinson-2 wrote:
> 
> On 21/08/2007 09:14, ikearns wrote:
>> I am getting more familiar with EXIM as time progresses however I am
>> failing
>> to find a wildcard that will allow all domains to be relayed
>> 
>> My current ACL starts
>> 
>> acl_check_rcpt:
>> 
>>      accept  local_parts     = postmaster
>>              domains         = +local_domains
>> 
>>      accept  domains         = +relay_to_domains
>> 
>>      accept  hosts           = +relay_from_hosts
>> 
>> And my settings in the exim.conf file points these two parameters off to
>> two
>> external text file to list IP addresses and domains however what I want
>> to
>> do to start with is to allow ALL domains and IP addresses just to prove
>> relay is possible hence my enquiry if a wildcard character is permitted?
> 
> You don't need a wildcard, instead don't make the accept conditional in 
> the first place, for example
> 
> acl_check_rcpt:
>    accept
> 
> But in my opinion this is probably not a good idea even for
> experimentation.
> 
> Cheers,
> 
> John.
> 
> -- 
> ## 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Allowing-all-domains-and-all-IPs---in-short-and-open-relay%21-tf4298980.html#a12253812
Sent from the Exim Users mailing list archive at Nabble.com.


-- 
## 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/

Reply via email to