Examples of DNSLookupContinuation


Examples of org.apache.james.jspf.core.DNSLookupContinuation

                dnsRequest = new DNSRequest(currentDomain, DNSRequest.A);
            }
           
            spfSession.setAttribute(ATTRIBUTE_CURRENT_DOMAIN, currentDomain);
           
            return new DNSLookupContinuation(dnsRequest, PTRMechanism.this);
        } else {
            spfSession.setAttribute(Directive.ATTRIBUTE_MECHANISM_RESULT, Boolean.FALSE);
            return null;
        }
View Full Code Here

Examples of org.apache.james.jspf.core.DNSLookupContinuation

           
            spfData.setAttribute(ATTRIBUTE_EXPANDED_HOST, host);
           
            spfData.pushChecker(cleanupChecker);

            return new DNSLookupContinuation(new DNSRequest(ip.getReverseIP(), DNSRequest.PTR), PTRMechanism.this);
        }
View Full Code Here

Examples of org.apache.james.jspf.core.DNSLookupContinuation

            String mx;
            while (records.size() > 0 && (mx = (String) records.remove(0)) != null && mx.length() > 0) {
                log.debug("Add MX-Record " + mx + " to list");

                return new DNSLookupContinuation(new DNSRequest(mx, isIPv6 ? DNSRequest.AAAA : DNSRequest.A), MXMechanism.this);
               
            }
               
            // no mx record found
            if (mxR == null || mxR.size() == 0) {
View Full Code Here

Examples of org.apache.james.jspf.core.DNSLookupContinuation

                TempErrorException, NeutralException, NoneException {

            // Get the right host.
            String host = expandHost(spfData);
           
            return new DNSLookupContinuation(new DNSRequest(host, DNSRequest.MX), MXMechanism.this);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.