Applied the patch to add dtx's ClamAV integration module.
[citadel.git] / citadel / tuiconfig.c
index 7857847226b93ff2b563711f044aa424eea38ce8..15461953e83da2e54421dfd4964611daa49fa163 100644 (file)
@@ -390,7 +390,8 @@ void get_inet_rec_type(CtdlIPC *ipc, char *buf) {
        keyopt(" <4> SpamAssassin   (Address of SpamAssassin server)\n");
        keyopt(" <5> RBL            (domain suffix of spam hunting RBL)\n");
        keyopt(" <6> masq domains   (Domains as which users are allowed to masquerade)\n");
-       sel = intprompt("Which one", 1, 1, 6);
+       keyopt(" <7> ClamAV         (Address of ClamAV clamd server)\n");
+       sel = intprompt("Which one", 1, 1, 7);
        switch(sel) {
                case 1: strcpy(buf, "localhost");
                        return;
@@ -404,6 +405,8 @@ void get_inet_rec_type(CtdlIPC *ipc, char *buf) {
                        return;
                case 6: strcpy(buf, "masqdomain");
                        return;
+               case 7: strcpy(buf, "clamav");
+                       return;
        }
 }