From 2e8f60c3c78dbef139d3d72fa25f2ebebbe5fdc8 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Sat, 21 Jun 2025 14:55:18 -0400 Subject: [PATCH] The binding/local IP concept seems to be sound --- conf/mailleur.conf.dvl | 2 +- lib/modrec.c | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/conf/mailleur.conf.dvl b/conf/mailleur.conf.dvl index 7e674d0..d5d7b7d 100644 --- a/conf/mailleur.conf.dvl +++ b/conf/mailleur.conf.dvl @@ -14,7 +14,7 @@ DFLTDOMAIN="example.com"" #:ipnum::: -> smtp:ipnum:25:2 #::,smtps::465:2 -> smtp:0.0.0.0:25:2 + smtps::465:2 #:: -> smtp:0.0.0.0:25:2 -SMTPPORTS="::1025" +#SMTPPORTS="::1025" #SMTPPORTS=":127.127.10.25:1025:,smtps:127.127.10.25:1026:1" #SMTPPORTS=":127.127.10.25:1025:" #SMTPPORTS="smtps:127.127.10.25:1065:1" diff --git a/lib/modrec.c b/lib/modrec.c index 2be48be..e4354f7 100644 --- a/lib/modrec.c +++ b/lib/modrec.c @@ -45,6 +45,7 @@ static int prepbinding(SOCPTR ***bindings,int argc,char *argv[]) { #define OPEP "moderec.c:prepbinding" +#define DIP "0.0.0.0" *bindings=(SOCPTR **)0; for (int i=0;i",i,argv[i]); for (int j=0;j<3;j++) { @@ -78,7 +79,8 @@ for (int i=0;i0) + ipnum=ptr; break; case 2 : if (strlen(ptr)>0) @@ -96,6 +98,7 @@ for (int i=0;i