-/* $Id$ */
+/*
+ * $Id$
+ *
+ * An implementation of RFC821 (Simple Mail Transfer Protocol) for the
+ * Citadel system.
+ *
+ */
#include "sysdep.h"
#include <stdlib.h>
strcpy(recp, &argbuf[3]);
striplt(recp);
+ TRACE;
alias(recp);
+ TRACE;
cvt = convert_internet_address(user, node, recp);
snprintf(recp, sizeof recp, "%s@%s", user, node);
/* First try the user who sent the message */
lprintf(9, "bounce to user? <%s>\n", bounceto);
+ TRACE;
if (strlen(bounceto) == 0) {
lprintf(7, "No bounce address specified\n");
bounce_msgid = (-1L);
bounceto,
"", mes_type);
}
+ TRACE;
/* Otherwise, go to the Aide> room */
lprintf(9, "bounce to room?\n");
lprintf(3, "Cannot find room <%s>\n", SMTP_SPOOLOUT_ROOM);
return;
}
- CtdlForEachMessage(MSGS_ALL, 0L, SPOOLMIME, NULL, smtp_do_procmsg);
+ CtdlForEachMessage(MSGS_ALL, 0L, (-127),
+ SPOOLMIME, NULL, smtp_do_procmsg);
lprintf(7, "SMTP: queue run completed\n");
doing_queue = 0;