String lookup = null;
String strResult = null;
Attributes result = null;
Attribute attr = null;
DNSResolver resolver = engine.getDnsResolver();
for (int i = 0; i < rblRelays.size(); i++) {
rbl = (String)rblRelays.get(i);
lookup = senderIPAddress + "." + rbl;
try {
// Lookup
logger.debug("Looking up " + lookup);
result = resolver.lookup(lookup, "A");
if(result != null) {
// Get the returned address
attr = result.get("A");