Re: [Exim] Blocking whole domains as well as user@domain

Top Page
Delete this message
Reply to this message
Author: jackalek
Date:  
To: Kevin M. Barrett
CC: exim-users
Subject: Re: [Exim] Blocking whole domains as well as user@domain
Witaj Kevin,

W Twoim liście datowanym 25 lipca 2002 (03:54:26) można przeczytać:

> Good day,


>         Can someone please give me an example of the exim.conf  syntax  as well as
> an example of  file that is referenced in the lsearch command.  What it is
> I need to do is block domains  and or users that have sent spam or porn to
> any of my users.  any help is greatly appreciated.


> Kevin Barrett


Exim4
exim.conf
ACL section

deny  message = Spadaj spamerze... Get off spamers
    senders = ${if exists{/etc/exim4/spam-reject} \
                  {lsearch*@;/etc/exim4/spam-reject}}


^^^global file

deny  message = Spadaj spamerze... Get off spamers
    senders = ${if exists{/home/$local_part/.spam-reject} \
              {lsearch*@;/home/$local_part/.spam-reject}}


^^^^per user blocklist

example spam-reject:

praca2002@???
*@rp.zax.pl
*@icenter.pl
*@www.infogeneratorpro.com
*@jarek.plt.edu.pl
*@herkulesexpress.pl
*@ancz.com.pl
*@hydepark.pl
*@presserwis.pl
*@presscd.pl
test_spamu@???
*@hotmat.com
*@infogeneratorpro.com
#*@hotmail.com



--
Pozdrowienia,
 jackalek                            mailto:jackalek.listy@klej.net