* make the aide-room public postable for cron, hostmaster and friends.
authorWilfried Göesgens <willi@citadel.org>
Sun, 10 Feb 2008 22:02:01 +0000 (22:02 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 10 Feb 2008 22:02:01 +0000 (22:02 +0000)
citadel/citserver.c

index bcb3989b6223b415953c00a4b792d3388d1c37de..be41bf3a5d5e4e1598f7250776d39a5c6ae62f57 100644 (file)
@@ -158,6 +158,12 @@ void master_startup(void) {
                 lputroom(&qrbuf);
         }
 
+       /* Aide needs to be public postable, else we're not RFC conformant. */
+        if (lgetroom(&qrbuf, AIDEROOM) == 0) {
+                qrbuf.QRflags2 |= QR2_SMTP_PUBLIC;
+                lputroom(&qrbuf);
+        }
+
        lprintf(CTDL_INFO, "Seeding the pseudo-random number generator...\n");
        urandom = fopen("/dev/urandom", "r");
        if (urandom != NULL) {