Fiddling with "received:" formatting.
authorTim Vaughan <tgvaughan@gmail.com>
Thu, 5 Sep 2019 06:50:43 +0000 (08:50 +0200)
committerTim Vaughan <tgvaughan@gmail.com>
Thu, 5 Sep 2019 06:50:43 +0000 (08:50 +0200)
lambdamail.scm

index 07b1451..6061d3e 100644 (file)
          ((smtp-command? "data" line)
           (smtp-session 'send "354 intermediate")
           (let text-loop ((text (conc "Received: from " (smtp-session 'helo) "\n"
-                                      "   by " (config-host config) "\n"
-                                      "   for " (message-from msg)
-                                      "" (time-stamp) "\n")))
+                                      "\tby " (config-host config) "\n"
+                                      "\tfor " (message-from msg) ";\n"
+                                      "\t" (time-stamp) "\n")))
             (let ((text-line (smtp-session 'get-line)))
               (if (string=? "." text-line)
                   (message-text-set! msg text)