summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2008-01-09 07:16:42 +0000
committerDmitry Bogatov <KAction@debian.org>2018-12-05 15:47:18 +0000
commit02f034359fc53dd0513d727aaf7f3e4fff386403 (patch)
tree1f8f036ca414d1090fab7f7352d4c66c114897f0
parent991388792468bfa142f207484994f386c2c04675 (diff)
[PATCH] rblsmtpd.c: don't use a the default rbl.maps.vix.com if run without -r switch.
rbl.maps.vix.com is obsolete, so don't use it as default rbl if run without the -r switch; default to no rbl instead. Gbp-Pq: Name 0002-rblsmtpd.c-don-t-use-a-the-default-rbl.maps.vix.com.diff
-rw-r--r--rblsmtpd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rblsmtpd.c b/rblsmtpd.c
index cc8ba2e..9695d9e 100644
--- a/rblsmtpd.c
+++ b/rblsmtpd.c
@@ -155,7 +155,6 @@ void rblsmtpd(void)
main(int argc,char **argv,char **envp)
{
- int flagwantdefaultrbl = 1;
char *x;
int opt;
@@ -182,7 +181,7 @@ main(int argc,char **argv,char **envp)
case 'c': flagfailclosed = 1; break;
case 'C': flagfailclosed = 0; break;
case 't': scan_ulong(optarg,&timeout); break;
- case 'r': rbl(optarg); flagwantdefaultrbl = 0; break;
+ case 'r': rbl(optarg); break;
case 'a': antirbl(optarg); break;
default: usage();
}
@@ -190,7 +189,6 @@ main(int argc,char **argv,char **envp)
argv += optind;
if (!*argv) usage();
- if (flagwantdefaultrbl) rbl("rbl.maps.vix.com");
if (decision >= 2) rblsmtpd();
pathexec_run(*argv,argv,envp);