]> andersk Git - moira.git/commitdiff
Dribbles of missing EXCHANGE support. This should probably look up the
authorzacheiss <zacheiss>
Wed, 10 Sep 2008 13:48:40 +0000 (13:48 +0000)
committerzacheiss <zacheiss>
Wed, 10 Sep 2008 13:48:40 +0000 (13:48 +0000)
valid types in the aliases table.

clients/moira/pobox.c
clients/moira/user.c

index 2199d3bbc8949c909bc0856a93c167bccd9e59a0..ea55de52e6b807ce5ff0580ddec1e332a07ac08c 100644 (file)
@@ -476,6 +476,12 @@ int SetUserPOBox(int argc, char **argv)
                  return DM_NORMAL;
                }
            }
+         else if (!strcasecmp(type, "EXCHANGE"))
+           {
+             free(type);
+             type = "EXCHANGE";
+             box = "EXCHANGE.MIT.EDU";
+           }
          else
            {
              sprintf(temp_buf, "Unknown local PO Box type %s", type);
index 5c23db439b085f851a596a32ee9b7e02be48f088..71b4d3a4c7977051f1ed0e374949096e810cdfe3 100644 (file)
@@ -643,7 +643,7 @@ int RegisterUser(int argc, char **argv)
       FreeInfo(args);
       return DM_NORMAL;
     }
-  if (strcmp(potype, "POP") && strcmp(potype, "IMAP"))
+  if (strcmp(potype, "POP") && strcmp(potype, "IMAP") && strcmp(potype, "EXCHANGE"))
     {
       sprintf(temp_buf, "Unknown P.O. Box type.");
       Put_message(temp_buf);
This page took 0.056402 seconds and 5 git commands to generate.