Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Blocking mail based on IP address

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


varaprasad.y07 at gmail

Nov 9, 2007, 3:58 AM

Post #1 of 3 (662 views)
Permalink
Blocking mail based on IP address

Hello,

I am trying to block emails from all other IP addresses except from
one IP address which is of an external mail filter device we use
now . Please let me know if something like this can be done from
the traditional exim email filters .

Regards .

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


renaud at llorien

Nov 9, 2007, 4:02 AM

Post #2 of 3 (601 views)
Permalink
Re: Blocking mail based on IP address [In reply to]

VaraPrasad Yalla wrote:
> Hello,
>
> I am trying to block emails from all other IP addresses except from
> one IP address which is of an external mail filter device we use
> now . Please let me know if something like this can be done from
> the traditional exim email filters .
>

Of course, you can use an acl like this one at connect or rcpt (or whichever acl
time you wish)

deny
!hosts = ip.of.my.filteringdevice
Attachments: smime.p7s (3.21 KB)


renaud at llorien

Nov 15, 2007, 7:34 AM

Post #3 of 3 (564 views)
Permalink
Re: Blocking mail based on IP address [In reply to]

VaraPrasad Yalla wrote:
> Hello,
>
> Is there a way of applying the above kind of ACL to a few selected
> domains ? Please let me know .
>
> Thanks.
>
>
> On Nov 9, 2007 5:32 PM, Renaud Allard <renaud [at] llorien> wrote:
>>
>>
>> VaraPrasad Yalla wrote:
>>> Hello,
>>>
>>> I am trying to block emails from all other IP addresses except from
>>> one IP address which is of an external mail filter device we use
>>> now . Please let me know if something like this can be done from
>>> the traditional exim email filters .
>>>
>> Of course, you can use an acl like this one at connect or rcpt (or whichever acl
>> time you wish)
>>
>> deny
>> !hosts = ip.of.my.filteringdevice
>>
>>
>>

Of course,

deny
domains = some.selected : domains.tld
!hosts = ip.of.my.filteringdevice
Attachments: smime.p7s (3.21 KB)

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.