]> git.ipfire.org Git - people/ms/dma.git/commitdiff
add semicolon before date in Received: header
authorSimon Schubert <2@0x2c.org>
Sun, 25 Dec 2011 18:05:08 +0000 (19:05 +0100)
committerSimon Schubert <2@0x2c.org>
Sun, 25 Dec 2011 18:05:08 +0000 (19:05 +0100)
Submitted-by: Miquel van Smoorenburg <miquels@cistron.nl>
Via: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650268

mail.c

diff --git a/mail.c b/mail.c
index b9e13e0dd94c5d5c70e268adcbaeef66a0cea254..9cbde41d98f1331e093952d4023fab4ffaf35ab2 100644 (file)
--- a/mail.c
+++ b/mail.c
@@ -69,7 +69,7 @@ bounce(struct qitem *it, const char *reason)
        error = fprintf(bounceq.mailf,
                "Received: from MAILER-DAEMON\n"
                "\tid %s\n"
-               "\tby %s (%s)\n"
+               "\tby %s (%s);\n"
                "\t%s\n"
                "X-Original-To: <%s>\n"
                "From: MAILER-DAEMON <>\n"
@@ -360,7 +360,7 @@ readmail(struct queue *queue, int nodot, int recp_from_header)
                "Received: from %s (uid %d)\n"
                "\t(envelope-from %s)\n"
                "\tid %s\n"
-               "\tby %s (%s)\n"
+               "\tby %s (%s);\n"
                "\t%s\n",
                username, useruid,
                queue->sender,