On 25/01/2008, Bleurgh <[EMAIL PROTECTED]> wrote:

> I posted this question on the exim users list but only received one reply
> which wasnt helpful. I hope someone can help me!

I thought I answered this only yesterday, but it will be just as quick
to answer it again...

> All I want to do is drop all smtp connections unless it is from an
> authenticated user or it comes from a host I specify in a list.
>
> Someone provided me with this acl....
>
>   drop !condition = ${if def:authenticated_id{yes}{no}}
>   !hostlist = myip1 : myip2 : myip3

Think of it the other way around and the logic gets easier....

accept authenticated=*

accept hosts = myip1 : myip2 : myip3

drop

(You might consider 'deny' instead of 'drop', this is less likely to
cause unwanted behaviour from the other party).

Peter



-- 
Peter Bowyer
Email: [EMAIL PROTECTED]

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