Here's what I have in my exim config (stock exim 3.33 from the freebsd ports
collection)
sender_reject = @@partial-lsearch*;/usr/local/etc/exim/blocked.senders
My blocked.senders file has entries like, for example,
*.indiainfoline.com *
However, when I try
blackehlo# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 blackehlo.cluestick.org ESMTP Exim 3.33 #1 Sun, 14 Oct 2001 21:57:04
+0530
ehlo test
250-blackehlo.cluestick.org Hello test [127.0.0.1]
250-SIZE
250-PIPELINING
250-STARTTLS
250 HELP
mail from: idiot@???
550 rejected: administrative prohibition
421 Unexpected failure, please try later
quit
Connection closed by foreign host.
An MTA is very likely to interpret the 4xx error issued later as an excuse to
retry sending the mail.
- --
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin