Re: [exim] 4xx for mail-abuse.org rbl

Top Page
Delete this message
Reply to this message
Author: Randy Bush
Date:  
To: Patrick Eisenacher
CC: exim users
Subject: Re: [exim] 4xx for mail-abuse.org rbl
>> # Reject messages from senders listed in these DNSBLs
>>   deny    message       = reject mail from dialup
>>           dnslists      = dialups.mail-abuse.org
>>   # Reject messages from senders listed in these DNSBLs
>>   deny    message       = reject mail from rbl blackholed sites
>>           dnslists      = blackholes.mail-abuse.org
>>   o there is likely something simpler and more commonly done.  and
>>     i dislike being off the beaten track for no good reason.  so
>>     apply clue bat, please
> Why don't you use the statements given in the default configuration 
> file? No need to reinvent the wheel.
> # deny    message       = rejected because $sender_host_address is \
> #                         in  a black list at \
> #                         $dnslist_domain\n$dnslist_text
> #         dnslists      = black.list.example


because i want a different msg for each type of list causing the
reject so i can

    grep 'reject mail from' /var/spool/exim/log/main \
         | awk '{print $12}' \
     | sort \
     | uniq -c


at the end of the day and add to my nightly exim stats report

>>   deny    message       = reject mail from qil spam sources
>>           dnslists      = qil.mail-abuse.org/warn
>>   o in the last one, qil.mail-abuse.org, i want to generate a
>>     4xx, not a 5xx.  i suspect i am not accomplishing this with
>>     the /warn, but i could be incorrect.  hit me again, please.
> If you want to give a temporary error, then you have to use the "defer" 
> instead of the "deny" statement.


<doh!> thanks

> BTW: You have to be a paying customer to be able to access the
> MAPS lists.


yep

randy