Final tidyout of EXPERIMENTAL_PRDR
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 20 May 2014 20:21:11 +0000 (21:21 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 20 May 2014 20:21:11 +0000 (21:21 +0100)
src/src/acl.c
src/src/config.h.defaults
src/src/deliver.c

index e8a0657f2f6787fa4719b1392fcabd7fd7b715aa..6e635fbf190c4a557f657087b4698ee673e57364 100644 (file)
@@ -491,7 +491,7 @@ static unsigned int cond_forbids[] = {
 
   (unsigned int)
   ~((1<<ACL_WHERE_RCPT)                             /* local_parts */
-  #ifdef EXPERIMENTAL_PRDR
+  #ifndef DISABLE_PRDR
     |(1<<ACL_WHERE_PRDR)
   #endif
     ),
index 6f7295ca10b911ba24b97c9b7efcac258e9ef5f5..69df842e73281f3dfad7b094f8fd0f1a5fa81147 100644 (file)
@@ -168,7 +168,6 @@ it's a default value. */
 #define EXPERIMENTAL_DCC
 #define EXPERIMENTAL_DMARC
 #define EXPERIMENTAL_OCSP
-#define EXPERIMENTAL_PRDR
 #define EXPERIMENTAL_PROXY
 #define EXPERIMENTAL_REDIS
 #define EXPERIMENTAL_SPF
index 6bdfbd4da9894642cab94e3955ea82e39af5b8e4..7af101ac0587120ba4335a66c3c07cdf18642ebc 100644 (file)
@@ -4187,7 +4187,7 @@ for (delivery_count = 0; addr_remote != NULL; delivery_count++)
         rmt_dlv_checked_write(fd, big_buffer, ptr - big_buffer);
        }
 
-      #ifdef EXPERIMENTAL_PRDR
+      #ifndef DISABLE_PRDR
       if (addr->flags & af_prdr_used)
        rmt_dlv_checked_write(fd, "P", 1);
       #endif