When an IP is listed on this list we reject it with a 453 error (temporary) so that e-mails will be re-sent later by the mailserver.
This also requires me to have rbl blocking information on the logfiles of qmail-smtpd so that I can parse the logs and raise statistics of theese blockings.
I have written the attached patch to enable 1) rbl temporary blocking and 2) rbl logging based on environment variable RBLLOG. The patch also adds documentation of this feature on QLDAPINSTALL.
It apear to me this patch is probably useless to other qmail-ldap users, but since:
1) Other people need to have rbl things logged by qmail-smtp without setting LOGLEVEL to 2 and having a bunch of other useless info on the log.
2) Someone might get inspired by the temporary blocking and use it on his/hers qmail-ldap
3) I feel bad if I don't give back to the comunity (I'm no parasite ;0)
4) Everytime there is a new qmail-ldap patch I need to re-patch it with this feature
5) The change is almost unsignificant.
I thought: "Why not send it to the list?"
Here you go!
[s] Krico
qmail-ldap-1.03-20050401a-rbltmp+rbllog.patch.gz
Description: GNU Zip compressed data
