[exim] block domain sender

Top Page
Delete this message
Reply to this message
Author: Balzi Andrea
Date:  
To: exim-users
Subject: [exim] block domain sender
Hi

I'm trying to configure exim to deny domain sender that appears in to my
blacklist, but don't work.

In to acl_check_rcpt I've write the follow lines:

  deny    message       = Rejected because $sender_host_address is in an
internal blacklist
          senders       = lsearch;/etc/exim/blacklist.cfg


In to the file I've write a simple entry for test:

hotmail.com
*.hotmail.com

I've try to send mail from hotmail and it pass.

This is an example of the my mainlog.

2005-04-21 15:09:11 1DObQb-00065t-9a <= cunigon@???
H=c-67-180-47-159.hsd1.ca.comcast.net [67.180.47.159] P=smtp S=2727
id=4712027409709437097.97nw0906o@???
2005-04-21 15:09:11 1DObQb-00065t-9a => aldo.aquino@??? R=special
T=remote_smtp H=srv-mail01 [10.0.0.51]
2005-04-21 15:09:11 1DObQb-00065t-9a Completed

I've try to make a deny with condition, without success. :(

How can make the block?

Andrea