- if (!threading)
- {
- SMTPCmds = NewHash(1, NULL);
-
- RegisterSmtpCMD("AUTH", smtp_auth, 0);
- RegisterSmtpCMD("DATA", smtp_data, 0);
- RegisterSmtpCMD("HELO", smtp_hello, HELO);
- RegisterSmtpCMD("EHLO", smtp_hello, EHLO);
- RegisterSmtpCMD("LHLO", smtp_hello, LHLO);
- RegisterSmtpCMD("HELP", smtp_help, 0);
- RegisterSmtpCMD("MAIL", smtp_mail, 0);
- RegisterSmtpCMD("NOOP", smtp_noop, 0);
- RegisterSmtpCMD("QUIT", smtp_quit, 0);
- RegisterSmtpCMD("RCPT", smtp_rcpt, 0);
- RegisterSmtpCMD("RSET", smtp_rset, 1);
-#ifdef HAVE_OPENSSL
- RegisterSmtpCMD("STARTTLS", smtp_starttls, 0);
-#endif
-
-
- CtdlRegisterServiceHook(config.c_smtp_port, /* SMTP MTA */