domain option dkim

This commit is contained in:
Peter Hormanns 2021-04-15 14:57:57 +02:00
parent bc0e654fab
commit ef4ee7be28
3 changed files with 4 additions and 5 deletions

View File

@ -29,6 +29,7 @@ public class DomainModuleImpl extends AbstractModuleImpl {
public static final String DOMOPT_BACKUPFOREXTERNALMX = "backupmxforexternalmx"; public static final String DOMOPT_BACKUPFOREXTERNALMX = "backupmxforexternalmx";
public static final String DOMOPT_LETSENCRYPT = "letsencrypt"; public static final String DOMOPT_LETSENCRYPT = "letsencrypt";
public static final String DOMOPT_AUTOCONFIG = "autoconfig"; public static final String DOMOPT_AUTOCONFIG = "autoconfig";
public static final String DOMOPT_DKIM = "dkim";
public static final String[] ALL_DOMOPTS = public static final String[] ALL_DOMOPTS =
new String[] { new String[] {
@ -39,7 +40,8 @@ public class DomainModuleImpl extends AbstractModuleImpl {
DOMOPT_INCLUDES, DOMOPT_INCLUDES,
DOMOPT_BACKUPFOREXTERNALMX, DOMOPT_BACKUPFOREXTERNALMX,
DOMOPT_LETSENCRYPT, DOMOPT_LETSENCRYPT,
DOMOPT_AUTOCONFIG DOMOPT_AUTOCONFIG,
DOMOPT_DKIM
}; };
public static final String[] DEFAULT_DOMOPTS = public static final String[] DEFAULT_DOMOPTS =
new String[] { new String[] {

View File

@ -26,6 +26,7 @@ public class DomainOptionValues extends DefaultSelectableValues {
list.add(new BooleanListValue("multiviews")); list.add(new BooleanListValue("multiviews"));
list.add(new BooleanListValue("letsencrypt")); list.add(new BooleanListValue("letsencrypt"));
list.add(new BooleanListValue("autoconfig")); list.add(new BooleanListValue("autoconfig"));
list.add(new BooleanListValue("dkim"));
return list; return list;
} }

View File

@ -162,10 +162,6 @@ public class JsonPillarServlet extends HttpServlet {
writer.println(" , \"" + optName + "\": " + optValue.toString().toLowerCase()); writer.println(" , \"" + optName + "\": " + optValue.toString().toLowerCase());
} }
} }
// begin DKIM Test
final String dkimOpt = ("wikv.de".equals(domName) || "meinblog.de".equals(domName)) ? "true" : "false";
writer.println(" , \"" + "dkim" + "\": " + dkimOpt);
// end DKIM Test
writer.println(" }"); writer.println(" }");
writer.println(" , \"validsubdomains\": \"" + validSubdomainNames + "\""); writer.println(" , \"validsubdomains\": \"" + validSubdomainNames + "\"");
writer.println(" }"); writer.println(" }");