*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3.
* SDB_BOUNCE_ALL Advise the sender that all deliveries have failed and will not be retried
* SDB_WARN Warn the sender about all 4XX transient delays
*/
* SDB_BOUNCE_ALL Advise the sender that all deliveries have failed and will not be retried
* SDB_WARN Warn the sender about all 4XX transient delays
*/
StrBufAppendPrintf(boundary, "%s_%04x%04x", CtdlGetConfigStr("c_fqdn"), getpid(), ++seq);
StrBufAppendPrintf(boundary, "%s_%04x%04x", CtdlGetConfigStr("c_fqdn"), getpid(), ++seq);
/* Start building our bounce message */
bmsg = (struct CtdlMessage *) malloc(sizeof(struct CtdlMessage));
/* Start building our bounce message */
bmsg = (struct CtdlMessage *) malloc(sizeof(struct CtdlMessage));
StrBufAppendBufPlain(BounceMB, HKEY("\r\n"), 0);
StrBufAppendBufPlain(BounceMB, HKEY("Content-type: text/plain\r\n\r\n"), 0);
StrBufAppendBufPlain(BounceMB, HKEY("\r\n"), 0);
StrBufAppendBufPlain(BounceMB, HKEY("Content-type: text/plain\r\n\r\n"), 0);
char *smtpcodes[][2] = {
{ "211 - System status / system help reply" },
{ "214", "Help message" },
char *smtpcodes[][2] = {
{ "211 - System status / system help reply" },
{ "214", "Help message" },