-crlf \
--showcerts \
-key certs/localhost-key.pem \
- -cert certs/localhost-cert.pem \
+ -cert_chain certs/localhost-chain-cert.pem \
-CAfile certs/root-safe_CA.pem \
-tls1_2 \
-connect $(TESTIP):1065
#:: -> smtp:0.0.0.0:25:2
#SMTPPORTS " "::"
#SMTPPORTS = ":127.127.10.25:1025:,smtps:127.127.10.25:1026:1"
-SMTPPORTS = ":127.127.10.25:1025:"
+#SMTPPORTS = ":127.127.10.25:1025:"
+SMTPPORTS = "smtps:127.127.10.25:1065:1"
#------------------------------------------------
#Defining SERVER mode Certificate data
CA_ROOT_SRV = "./certs/root-safe_CA.pem"
}
break;
case pro_smtps : //set secure socket
- soc->tls=tls_closetls(soc->tls);
+ if (soc->modtls==true) {
+ soc->tls=tls_closetls(soc->tls);
+ soc->modtls=false;
+ }
break;
default :
(void) rou_alert(0,"%s Protocol '%d' unset (Bug?)",
}
(void) sleep(COREDELAY); /*to avoid crash avalanche */
va_end(args);
-if (doabort==true)
+if (doabort==true) {
(void) abort(); /*doing to do the abort */
+ }
(void) rou_alert(0,"Unable to dump core memory");
(void) exit(-1); //Theoriticaly unreachabe if
//abort was allowed