You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/ucspi-tcp/files/0.88-rblsmtpd-ignore-on-REL...

26 lines
392 B

--- a/rblsmtpd.c
+++ b/rblsmtpd.c
@@ -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;