nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] NMH long lines

2012-02-20 09:51:42
Apologies for the vagueness.  By "current one" I'm referring
to our existing X400 gateway accessed via Clearswift MTA software, with
SMTP conversion done by a third party.

 Our belief now is that at some point in that submission processes the
lines are split with CR/LF under the Clearswift route, but NMH uses an
exclamation mark as the line delimiter and it's this we'd like to amend.

Hm.  Okay ... I guess there are still some things I don't understand.

- _How_ are these long lines being generated, exactly?  I ask because it's
  difficult to generate long message lines with the standard Unix tools;
  yes, you can do it, but you have to work at it.  It's certainly not
  the normal mode of operation.

- Are you sure nmh is generating the exclamation marks as the line
  delimiters?  A quick glance of the relevant source code makes me
  think that once "post" hits the body of the message, it just
  slurps the whole thing in, doesn't do any line length checking,
  and blasts it all out to the MTA (which is arguably wrong, but
  see my previous bullet).  It's entirely possible that it _is_,
  because some of that code is pretty hairy.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>