-cert certs/localhost-cert.pem \
-key certs/localhost-key.pem \
-starttls smtp \
- -connect courriel.colba.net:25
+ -connect $(TESTSRV):$(TESTPORT)
# -connect smtp1.example.com:25
# -connect mailpostg.example.com:25
# -connect courriel.colba.net:25
{
#define OPEP "modrec.c:setready"
+#define TSLEEP 5
int maxretry;
pid_t *childs;
break;
case 4 : //Relax time
phase=0; //lets continue to check childs
- (void) rou_alert(5,"%s, start sleep",OPEP);
- (void) sleep(5); //signal received to exit fast.
+ (void) rou_alert(10,"%s, start sleep '%d' second",OPEP,TSLEEP);
+ (void) sleep(TSLEEP); //signal received to exit fast.
if (childout==true) {
- (void) rou_alert(5,"%s, Got child out",OPEP);
+ (void) rou_alert(9,"%s, Got child out",OPEP);
childout=false;
}
- (void) rou_alert(5,"%s, Exit from sleep",OPEP);
+ (void) rou_alert(10,"%s, Exit from sleep",OPEP);
if ((hangup==true)||(reload==true))
phase=999; //exiting under signal
break;
}
phase++;
}
+#undef TSLEEP
#undef OPEP
}
/*