SMTP-Bounce-Message: separate mime header by \r\n
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 6 Mar 2012 21:53:37 +0000 (22:53 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 6 Mar 2012 21:53:37 +0000 (22:53 +0100)
citadel/modules/smtp/serv_smtpqueue.c

index c51b43c161d4d80d8f89c37f4267a8745d78326a..2292df1c46eb7582808528d7919dc8da929875e3 100644 (file)
@@ -630,7 +630,7 @@ void smtpq_do_bounce(OneQueItem *MyQItem, StrBuf *OMsgTxt)
        }
 
        /* Attach the original message */
-       StrBufAppendBufPlain(BounceMB, HKEY("--"), 0);
+       StrBufAppendBufPlain(BounceMB, HKEY("\r\n--"), 0);
        StrBufAppendBuf(BounceMB, boundary, 0);
        StrBufAppendBufPlain(BounceMB, HKEY("\r\n"), 0);
        StrBufAppendBufPlain(BounceMB,