view tests/localhost-stdin/README @ 304:d5ce2ba71e7b

manual formating of Received: hdrs; changed hdr for local receival Now the Received: headers are much friendlier to read. About folding: We must fold any line at 998 chars before transfer. We should fold the lines we produce at 78 chars. That is what RFC 2821 requests. We should think about it, somewhen. The header for locally (i.e. non-SMTP) received mail is changed to the format postfix uses. This matches RFC 2821 better. The `from' clause should contain a domain or IP, not a user name. Also, the `with' clause should contain a registered standard protocol name, which ``local'' is not.
author markus schnalke <meillo@marmaro.de>
date Thu, 09 Dec 2010 18:28:11 -0300
parents 49ca781e1503
children
line wrap: on
line source

localhost-stdin
---------------

Three mails are sent, using different options, to <you@localhost>.
local.sh sends mail accepted from stdin and sends them to a fake local
mailbox, using your login name. If it works, there should be a file
named with your login name with the mails. You can look at it with cat
or less, or with an ordinary mail program.

Two log files, masqmail.log and debug.log will also be created within
this directory. They may give some information if anything went wrong.

Run them from within this directory, preferably NOT as root, but you
got to have write permission for this directory.