Re: [Exim] Stopping spam - host_reject and sender_reject

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: I.S. Manager
CC: exim-users
Subject: Re: [Exim] Stopping spam - host_reject and sender_reject
On Wed, 5 Jul 2000, I.S. Manager wrote:

> HOWEVER (here comes the but) I'm having trouble with host_reject_recipients
> in that I can't continue the line. I.E. if I put a backslash at the end of
> the line and try to put more hosts on the next line, I get a configuration
> error. Howcum? The docs say you can do that!


What release of Exim? What is the configuration error?

> Also, I'm trying to block the spammers@??? . I've put kenvarga.com
> in both host_reject_recipients (wrong, I think, because the mail doesn't
> actually come from a domain with that name) and in
> sender_reject_recipients, which should be right but doesn't work. Am I
> correct in my understanding that this tests the 'FROM' header? If so, why
> doesn't it work? Should I be putting in "*@kenvarga.com", for instance?


No, it doesn't test the From: header. It tests the envelope sender
address, which is not the same thing.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.