*/
void pop3s_greeting(void) {
CtdlModuleStartCryptoMsgs(NULL, NULL, NULL);
+#ifdef HAVE_OPENSSL
+ if (!CC->redirect_ssl) CC->kill_me = 1; /* kill session if no crypto */
+#endif
pop3_greeting();
}
}
+const char *CitadelServicePop3="POP3";
+const char *CitadelServicePop3S="POP3S";
CTDL_MODULE_INIT(pop3)
NULL,
pop3_greeting,
pop3_command_loop,
- NULL);
+ NULL,
+ CitadelServicePop3);
#ifdef HAVE_OPENSSL
CtdlRegisterServiceHook(config.c_pop3s_port,
NULL,
pop3s_greeting,
pop3_command_loop,
- NULL);
+ NULL,
+ CitadelServicePop3S);
#endif
CtdlRegisterSessionHook(pop3_cleanup_function, EVT_STOP);