]> code.citadel.org Git - citadel.git/blobdiff - citadel/routines2.c
* added masquerade domain feature.
[citadel.git] / citadel / routines2.c
index 190b69dd2b5026a4c51d28ea73ddd4da15d394ee..7be0e5b37de01266f520e24b36124539a6d6a9b0 100644 (file)
@@ -919,6 +919,7 @@ void get_inet_rec_type(CtdlIPC *ipc, char *buf) {
        keyopt(" <4> directory      (Consult the Global Address Book)\n");
        keyopt(" <5> SpamAssassin   (Address of SpamAssassin server)\n");
        keyopt(" <6> RBL            (domain suffix of spam hunting RBL)\n");
+       keyopt(" <7> masq domains   (Domains as which users are allowed to masquerade)\n");
        sel = intprompt("Which one", 1, 1, 6);
        switch(sel) {
                case 1: strcpy(buf, "localhost");
@@ -933,6 +934,8 @@ void get_inet_rec_type(CtdlIPC *ipc, char *buf) {
                        return;
                case 6: strcpy(buf, "rbl");
                        return;
+               case 7: strcpy(buf, "masqdomain");
+                       return;
        }
 }