format source

This commit is contained in:
Peter Hormanns 2012-09-21 17:31:58 +02:00
parent 3cf661b0d6
commit f33c40fad7

View File

@ -283,7 +283,7 @@ public class DomainTest {
});
}
private void testGreylistingOnOff(boolean onoff, String message)
private void testGreylistingOnOff(boolean onoff, String message)
throws UnknownHostException, IOException {
testDomainptionOnOf(onoff, message, new DomainOptionTester() {
@ -296,12 +296,10 @@ private void testGreylistingOnOff(boolean onoff, String message)
public boolean isOptionConfigured(String domain)
throws UnknownHostException, IOException {
String host = "test-h99.hostsharing.net";
String answer = socketQuery( host, 25,
"HELO " + domain + "\n" +
"MAIl FROM: hsadmin-testing@" + domain + "\n" +
"RCPT TO: postmaster@" + domain + "\n" +
"DATA\n" +
".\n") ;
String answer = socketQuery(host, 25, "HELO " + domain + "\n"
+ "MAIL FROM: hsadmin-testing@" + domain + "\n"
+ "RCPT TO: postmaster@" + domain + "\n" + "DATA\n"
+ ".\n");
return answer.contains("450") && answer.contains("reylisting");
}
});