summaryrefslogtreecommitdiff
blob: cd75a71000c7729b3d8f979bb36dca8b9c1b813c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- rblsmtpd.c  2005-01-30 16:28:09.000000000 +0100
+++ rblsmtpd.c  2005-01-30 16:30:52.000000000 +0100
@@ -195,6 +195,7 @@
 {
   int flagwantdefaultrbl = 1;
   char *x;
+  char *y;
   int opt;
 
   ip_init();
@@ -213,6 +214,13 @@
     }
   }
 
+  y = env_get("RELAYCLIENT");
+  if (y) {
+    if (!*y) {
+      decision = 1;
+    }
+  }
+
   while ((opt = getopt(argc,argv,"bBcCt:r:a:")) != opteof)
     switch(opt) {
       case 'b': flagrblbounce = 1; break;