]> andersk Git - moira.git/commitdiff
load IMAP servers into "machines" as well as POP ones
authordanw <danw>
Tue, 25 Jan 2000 17:35:20 +0000 (17:35 +0000)
committerdanw <danw>
Tue, 25 Jan 2000 17:35:20 +0000 (17:35 +0000)
gen/mailhub.pc

index 7a624fa2e94c934d8b7815a28771bd6d49eb19c4..fba905a489e3c927bbc5160020db7b458fb7c38f 100644 (file)
@@ -160,7 +160,9 @@ void get_info(void)
     SELECT mach_id, name
     FROM machine
     WHERE status = 1
-    AND mach_id IN ( SELECT UNIQUE pop_id FROM users )
+    AND ( mach_id IN ( SELECT UNIQUE pop_id FROM users ) OR
+         mach_id IN ( SELECT UNIQUE mach_id FROM filesys
+                      WHERE type = 'IMAP' ) )
     ORDER BY mach_id;
   EXEC SQL OPEN m_cursor;
   while (1)
This page took 0.094298 seconds and 5 git commands to generate.