Fiddling with "received:" formatting.
[lambdamail.git] / 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)