Applied the patch to add dtx's ClamAV integration module.
[citadel.git] / webcit / inetconf.c
index cc04419c73031398e40094d87dec1c544a04d690..f865e7607fd9311df66604310591850584dbed34 100644 (file)
@@ -26,6 +26,7 @@ void display_inetconf(void)
                ic_rbl,
                ic_spamass,
                ic_masq,
+               ic_clamav,
                ic_max
        };
 
@@ -42,6 +43,7 @@ void display_inetconf(void)
        ic_keyword[3] = "rbl";
        ic_keyword[4] = "spamassassin";
        ic_keyword[5] = "masqdomain";
+       ic_keyword[6] = "clamav";
 
        ic_boxtitle[0] = _("Local host aliases");
        ic_boxtitle[1] = _("Directory domains");
@@ -49,6 +51,7 @@ void display_inetconf(void)
        ic_boxtitle[3] = _("RBL hosts");
        ic_boxtitle[4] = _("SpamAssassin hosts");
        ic_boxtitle[5] = _("Masqueradable domains");
+       ic_boxtitle[6] = _("ClamAV clamd hosts");
 
        ic_desc[0] = _("(domains for which this host receives mail)");
        ic_desc[1] = _("(domains mapped with the Global Address Book)");
@@ -56,6 +59,7 @@ void display_inetconf(void)
        ic_desc[3] = _("(hosts running a Realtime Blackhole List)");
        ic_desc[4] = _("(hosts running the SpamAssassin service)");
        ic_desc[5] = _("(Domains as which users are allowed to masquerade)");
+       ic_desc[6] = _("(hosts running the ClamAV clamd service)");
 
        for (i=0; i<ic_max; ++i) {
                ic_spec[i] = strdup("");
@@ -217,6 +221,7 @@ typedef enum _e_cfg {
        ic_rbl,
        ic_spamass,
        ic_masq,
+       ic_clamav,
        ic_max
 } ECfg;
 
@@ -233,7 +238,8 @@ ConstStrBuf CfgNames[] = {
        { HKEY("smarthost") },
        { HKEY("rbl") },
        { HKEY("spamassassin") },
-       { HKEY("masqdomain") }
+       { HKEY("masqdomain") },
+       { HKEY("clamav") }
 };