* Suppress Envelope-To: header during SMTP sends
authorArt Cancro <ajc@citadel.org>
Wed, 21 Jul 2010 16:29:44 +0000 (16:29 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 21 Jul 2010 16:29:44 +0000 (16:29 +0000)
citadel/modules/smtp/serv_smtp.c

index 1d7dd0e7ebb558f1bf9e4732921c2cb3c4cb1ca8..3cc6d5e84858de5fe39e494d8c77131e86fbbac8 100644 (file)
@@ -992,7 +992,7 @@ void smtp_try(const char *key, const char *addr, int *status,
 
        /* Load the message out of the database */
        CCC->redirect_buffer = NewStrBufPlain(NULL, SIZ);
-       CtdlOutputMsg(msgnum, MT_RFC822, HEADERS_ALL, 0, 1, NULL, ESC_DOT);
+       CtdlOutputMsg(msgnum, MT_RFC822, HEADERS_ALL, 0, 1, NULL, (ESC_DOT|SUPPRESS_ENV_TO) );
        msg_size = StrLength(CC->redirect_buffer);
        msgtext = SmashStrBuf(&CC->redirect_buffer);