dick hoogendijk [EMAIL PROTECTED] wrote:
> Fighting spam someone sended me this suggestion:
> 
> <quote>
> Try some blacklists with sendmail.
> 
> FEATURE(`dnsbl', `sbl.spamhaus.org', `"550 Mail from " $`'&{client_addr}
> " refused - see http://www.spamhaus.org/sbl/";')dnl
> FEATURE(`dnsbl',`bl.spamcop.net',`"550 Mail from " $`'&{client_addr} "
> refused - see http://spamcop.net/";')dnl
> </quote>
> 
> Nice.. but I don't run sendmail anymore. I changed to courier 'cause I
> wanted a complete solution a few months ago. I'm very happy w/ it.
> 
> Still, my question would be: is there some way of doing w/ courier
> what's suggested for sendmail above?

| io:~> grep -A12 '##NAME: BLACKLISTS:1' /etc/courier/esmtpd
| ##NAME: BLACKLISTS:1
| #
| #  Blacklists we query.
| #
| #  The BLOCK environment variable is automatically enforced by submit.
| #  Nobody really does anything about BLOCK2, this is mainly for use by
| #  plug-in mail filters.  If you want Courier to unilaterally block
| #  mail from IP addresses listed on the RBL and RSS, and you have a separate
| #  filter that keys off BLOCK2, uncomment the following.  If you want
| #  to unilaterally block everything on the RBL and RSS, just replaced BLOCK2
| #  with BLOCK.  DUL can be added too...
| #
| # BLACKLISTS='-block=blackholes.mail-abuse.org,BLOCK 
-block=relays.mail-abuse.org,BLOCK2'

I use:

| BLACKLISTS="-block=bl.spamcop.net,BLOCK -block=relays.ordb.org,BLOCK 
-block=dnsbl.njabl.org,BLOCK -block=dynablock.njabl.org,BLOCK 
-block=dul.dnsbl.sorbs.net,BLOCK -block=zombie.dnsbl.sorbs.net,BLOCK"



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to