Re: [EXIM] some more details about spam

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andromeda
Fecha:  
A: Tabor J. Wells
Cc: Exim
Asunto: Re: [EXIM] some more details about spam
At 10:46 11/11/1998 -0500, you wrote:
>Here's a suggestion for the new wishlist. Add an equivalent to :fail: and
>:defer: that works at the SMTP session level. In other words, return a
>failure/defer code after RCPT TO: so that we don't have to accept the
>whole message before trashing it/bouncing it with :fail:


You can do that with this snippet:

--snippet start--

# catch some forged mail - Andromeda 26/06/97
sender_verify
sender_verify_reject
receiver_verify

# implement some anti-spam (RBL) - Andromeda 27/02/98

rbl_domains = rbl.maps.vix.com
rbl_reject_recipients

# implement virtual domain mail relay - Andromeda 6/10/98

sender_address_relay = "partial-lsearch;/usr/exim/relay/our_relay.domains"

# implement sender blacklisting - Andromeda 11/11/98

sender_reject = "lsearch;/usr/exim/relay/blacklist"
sender_reject_recipients = "lsearch;/usr/exim/relay/blacklist"

# implement customised SMTP error rejection messages

prohibition_message = "${lookup{$prohibition_reason}lsearch\
{/usr/exim/reject.messages}{$value}}"

--snippet end--

The files in question are:

1. /usr/exim/relay/our_relay.domains - This file contains the domains that
are relayable through my host. The format:

domain1.com
*.domain.com

2. /usr/exim/relay/blacklist - This file contains domains and
senders/recipients that are ALWAYS present in spam that still comes through
RBL. The format:

recipient@???
domain.com

3. /usr/exim/reject.messages - My reject messages that I customised. This
format is available in the documentation (yes, I finally read it) under the
"prohibition_message" keyword.

Hope this helps you... This really tightens up relaying/spamming, and I've
tried testing this overnight and it seems to work VERY well.

Hope this is helpful to others.

Andromeda

==============================================================
= The Andromeda HTML Workshop - http://www.htmlworkshop.com/ =
=                Home of Search & Replace 98                 =
==============================================================



--
*** Exim information can be found at http://www.exim.org/ ***