all.rbl.jp (for use with Sendmail)

With all.rbl.jp you can combine the services of virus.rbl.jp and short.rbl.jp.

How to use

To use all.rbl.jp you must setup an MTA, such as Sendmail, to perform a DNS query against all.rbl.jp.

In your Sendmail .mc file add
FEATURE(dnsbl,`all.rbl.jp')dnl
and create a new sendmail.cf configuration file. Then copy sendmail.cf to the fixed location for your version of Sendmail. Finally, restart Sendmail.

If you use this configuration do not use the individual configurations for virus.rbl.jp and short.rbl.jp.

Now once an IP connects to your server, the IP is reversed (eg. 12.34.56.78 becomes 87.65.43.21), prepended to "all.rbl.jp" and a DNS query is perfomed using this hostname. If the IP address is registered in virus.rbl.jp then the DNS query will yield a reply of 127.0.0.2, and likewise, 127.0.0.4 for short.rbl.jp, upon which Sendmail will block the connection. Otherwise there will be simply no IP returned from the DNS query and the connection will be allowed to the SMTP server.

Confirming things are working

After some time has elapsed have a look in your maillog. Run the following command:
$ grep all.rbl.jp /var/log/maillog
If you get one or more records similar to the following things are working fine. If a mail is not rejected by the RBL then there will be no corresponding entry in the maillog.
Nov 16 22:10:54 mail sendmail[55512]: ruleset=check_relay, arg1=pl393.nas934.k-tokyo.nttpc.ne.jp, arg2=127.0.0.4, relay=pl393.nas934.k-tokyo.nttpc.ne.jp [219.102.45.137], reject=550 5.7.1 Rejected: 219.102.45.137 listed at all.rbl.jp


利用法top