};
#define SMTP CC->SMTP
-#define SMTP_RECPS CC->SMTP_RECPS
-#define SMTP_ROOMS CC->SMTP_ROOMS
int run_queue_now = 0; /* Set to 1 to ignore SMTP send retry times */
CC->internal_pgm = 1;
CC->cs_flags |= CS_STEALTH;
SMTP = malloc(sizeof(struct citsmtp));
- SMTP_RECPS = malloc(SIZ);
- SMTP_ROOMS = malloc(SIZ);
memset(SMTP, 0, sizeof(struct citsmtp));
- memset(SMTP_RECPS, 0, SIZ);
- memset(SMTP_ROOMS, 0, SIZ);
SMTP->is_msa = is_msa;
/* If this config option is set, reject connections from problem
omsgid = atol(addr);
}
- if (
- (!strcasecmp(key, "local"))
- || (!strcasecmp(key, "remote"))
- || (!strcasecmp(key, "ignet"))
- || (!strcasecmp(key, "room"))
- ) {
+ if (!strcasecmp(key, "remote")) {
if (status == 5) bounce_this = 1;
if (give_up) bounce_this = 1;
}
completed = 0;
- if (
- (!strcasecmp(key, "local"))
- || (!strcasecmp(key, "remote"))
- || (!strcasecmp(key, "ignet"))
- || (!strcasecmp(key, "room"))
- ) {
+ if (!strcasecmp(key, "remote")) {
if (status == 2) completed = 1;
else ++incomplete;
}
lprintf(CTDL_DEBUG, "Performing SMTP cleanup hook\n");
free(SMTP);
- free(SMTP_ROOMS);
- free(SMTP_RECPS);
}
Citadel, or an Internet e-mail address.
- INSTRUCTION: local
- SYNTAX: local|Friko Mumjiboolean|0
- DESCRIPTION:
- Indicates the name of a recipient on the local system to which the
- message must be delivered. Almost never seen because most code delivers
- directly.
-
-
- INSTRUCTION: room
- SYNTAX: room|Lobby|0
- DESCRIPTION:
- Indicates the name of a room on the local system to which the message
- must be copied. Same implications as 'local'.
-
-
INSTRUCTION: remote
SYNTAX: remote|friko@mumjiboolean.com|0|delivery status message
DESCRIPTION:
should be placed in the fourth field so that a bounce message may
be generated.
-
- INSTRUCTION: ignet
- SYNTAX: ignet|uncnsrd|Lobby|0|delivery status message
- DESCRIPTION:
- Names a room on another Citadel node to which this message needs to be
- spooled over the network.