On Sun, 14 Oct 2001, Suresh Ramasubramanian wrote:
> 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.
Doesn't happen here:
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
220 vimfuego.saarinen.org ESMTP Exim 3.22 #1 Tue, 16 Oct 2001 08:54:39
+1300
ehlo test
250-vimfuego.saarinen.org Hello localhost [127.0.0.1]
250-SIZE
250-PIPELINING
250 HELP
mail from:<idiot@???>
550-Anti-spam measures rejected your email.
550 rejected: administrative prohibition
rset
250 Reset OK
mail from:idiot@???
550-Anti-spam measures rejected your email.
550 rejected: administrative prohibition
Although I'd like to get rid of that extra '-' after 550... got this in
reject.messages:
sender_reject: Anti-spam measures rejected your email.
--
Regards,
Juha