From: Jean-Marc Pigeon (Delson) Date: Sat, 21 Jun 2025 18:55:18 +0000 (-0400) Subject: The binding/local IP concept seems to be sound X-Git-Tag: tag-0.9~53 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=2e8f60c3c78dbef139d3d72fa25f2ebebbe5fdc8;p=jmp%2Fmailleur The binding/local IP concept seems to be sound --- 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