summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-05-20 21:21:11 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-05-20 21:21:11 +0100
commit2e6afa4f11972312d3dbb9bb1d4f4bf585a3cdd2 (patch)
treebe7da4f50efedf36b76ec082812dfbd90ceb25e8 /src
parent421aff8575b352ecb3711f12f86b9b4739684e80 (diff)
Final tidyout of EXPERIMENTAL_PRDR
Diffstat (limited to 'src')
-rw-r--r--src/src/acl.c2
-rw-r--r--src/src/config.h.defaults1
-rw-r--r--src/src/deliver.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index e8a0657f2..6e635fbf1 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -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
),
diff --git a/src/src/config.h.defaults b/src/src/config.h.defaults
index 6f7295ca1..69df842e7 100644
--- a/src/src/config.h.defaults
+++ b/src/src/config.h.defaults
@@ -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
diff --git a/src/src/deliver.c b/src/src/deliver.c
index 6bdfbd4da..7af101ac0 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -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