Auteur: Dave C. Date: À: Juha Saarinen CC: 'Eric Bullen', Phil.Pennock, exim-users Sujet: RE: [Exim] Nice way to cut down on spam.
You do realize the difference between the:
1. Envelope sender (Not necesarily visible in any header)
2. Various Header sender addresses (From:, Sender:, Reply-To)
3. The sender-host.
If I connect to an SMTP server and say:
HELO WHATEVER
MAIL FROM:<johndoe@???>
RCPT TO:<juha@???>
DATA
From: friend@???
To: friend@???
Subject: spam spam spam
Hi there! Make money fast! Buy my product! blah blah blah!
.
QUIT
1. in this case is johndoe@???
The only item that fits 2. is the "From: friend@???"
3. Is determined by the IP address of the host I connect to your host
from..
sender_reject blocks based on 1.
This email would NOT be stopped by "sender_reject=friend@???"
On Tue, 14 Aug 2001, Juha Saarinen wrote:
> Maybe this is a FAQ (apologies if it is), but I'd like to have a simple
> "sender_reject_file =" (or "sender_reject_db =" option in exim.conf.
>
> Tried Suresh suggestion:
>
> sender_reject = @@partial-lsearch*;/etc/eximextra/blocked.senders
>
> prohibition_message = "${lookup{$prohibition_reason}lsearch
> {/etc/eximextra/reject.messages}{${expand:$value}}}"
>
>
> but it doesn't seem to work always.
>
> Cheers,
>
>