Re: [Exim] Deny up front country codes .tw and .cn inbound?

Top Page
Delete this message
Reply to this message
Author: Ollie Cook
Date:  
To: exim-users
Subject: Re: [Exim] Deny up front country codes .tw and .cn inbound?
On Sun, Jul 22, 2001 at 05:00:42PM -0700, Kevin wrote:
> I get a ton of spam from hostname.tw type domains. Lots of
> hostname.cn ones too.
>
> Since I never get any real mail from those domains, Is there a way to
> block ALL incoming mail from a hostname that contains country code of
> .tw or .cn? I know that I can do it with message_filter, but I
> would like to try to trap this when the host connects before it is
> allowed to send the message, like at the time it verifies whether the
> rcpt to is valid or not.


Try sender_reject with wildcards.

Ollie

-- 
Oliver Cook    Systems Administrator, ClaraNET
ollie@???               020 7903 3065