RE: [Exim] Nice way to cut down on spam.

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Michael Peters
Fecha:  
A: Exim-Users (E-mail)
Asunto: RE: [Exim] Nice way to cut down on spam.
Hi
I have added this to my system filter

Do you see any problems with it?
It seems to work fine.


#By domain
if $sender_address matches "@domain1.com"
or $sender_address matches "@domain2.com"
then

logwrite "(Spam2) $tod_log $message_id \
$sender_address ($sender_host_name[$sender_host_address]) \
To: $recipients (recipients=$recipients_count) \
Subject=$header_subject Attachment=$1\n \
-----------------------------------------------------------------------"

  fail text "\n\t--------------------------------------------------------\n\
             \t----- CANNOT DELIVER ----\n\
             \tYour email address has been rejected \n\
             \tsince your domain name has been linked with person(s)\n\
             \tsending unsolicited commercial email.\n\
             \tPlease forward this mail to your access provider.\n\
             \t--------------------------------------------------------"


seen finish
endif

-----Original Message-----
From: Juha Saarinen [mailto:juha@saarinen.org]
Sent: 14 August 2001 12:36
To: 'Dave C.'
Cc: 'Eric Bullen'; Phil.Pennock@???; exim-users@???
Subject: RE: [Exim] Nice way to cut down on spam.


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,

--

Juha

:: -----Original Message-----
:: From: Dave C. [mailto:djc@microwave.com]
:: Sent: Tuesday, 14 August 2001 09:09
:: To: Juha Saarinen
:: Cc: Eric Bullen; Phil.Pennock@???; exim-users@???
:: Subject: Re: [Exim] Nice way to cut down on spam.
::
::
::
::
:: Erm, you mean something like the 'sender_reject' option, to
:: block email
:: from specific envelope senders? Or maybe the 'host_reject' option to
:: block specific hosts? Either of which can refer to a plain
:: file or use
:: expansion to do lookups in a variety of formats.. dbm..
:: cdb.. ldap.. ...
::
::


--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##