rem = ptr->next;
--num_sessions;
- syslog(LOG_DEBUG, "context_cleanup(): Purging session #%d %s\n", ptr->cs_pid, ptr->ServiceName);
+ syslog(LOG_DEBUG, "context_cleanup(): purging session %d\n", ptr->cs_pid);
RemoveContext(ptr);
free (ptr);
ptr = rem;
/* else we won't modify the buffer, since the roomname is already here. */
- /* if we don't already have a 'reply to' field, put our roomname in. */
- if (msg->cm_fields['K'] == NULL) {
- msg->cm_fields['K'] = malloc(256);
- snprintf(msg->cm_fields['K'], 256,
- "room_%s@%s", CC->room.QRname,
- config.c_fqdn);
- for (i=0; msg->cm_fields['K'][i]; ++i) {
- if (isspace(msg->cm_fields['K'][i])) {
- msg->cm_fields['K'][i] = '_';
- }
+ /* Set the recipient of the list message to the
+ * email address of the room itself.
+ * FIXME ... I want to be able to pick any address
+ */
+ if (msg->cm_fields['R'] != NULL) {
+ free(msg->cm_fields['R']);
+ }
+ msg->cm_fields['R'] = malloc(256);
+ snprintf(msg->cm_fields['R'], 256,
+ "room_%s@%s", CC->room.QRname,
+ config.c_fqdn);
+ for (i=0; msg->cm_fields['R'][i]; ++i) {
+ if (isspace(msg->cm_fields['R'][i])) {
+ msg->cm_fields['R'][i] = '_';
}
}
CtdlRegisterSessionHook(smtp_do_queue, EVT_TIMER);
CtdlRegisterProtoHook(cmd_smtp, "SMTP", "SMTP utility commands");
}
-
#endif
- /* return our Subversion id for the Log */
- return "smtpclient";
+ /* return our module name for the log */
+ return "smtp";
}
"a default installation just leave it blank.If you specify a directory other "
"than the default, you will need to\n"
"specify the -h flag to the server when you start it up.\n"
-"note that it may not have a leading /\n"
+"note that it may not have a leading /"
msgstr ""
"Entrez le chemin complet du répertoire dans lequel se trouve\n"
"l'installation de Citadel que vous créez ou mettez à jour. Si vous\n"