la5nta / wl2k-go

A Winlink framework for Go.
https://getpat.io
MIT License
50 stars 20 forks source link

wl2k: Add LM (list message) support #19

Closed martinhpedersen closed 8 years ago

martinhpedersen commented 8 years ago

If client sends LM after prompt the remote should respond with a list of messages (with subject).

This is how the "Review message list before downloading" feature of RMS Express works.

Example with pending message:

[WL2K-3.2-B2FWIHJM$]
Perth CMS >
  LM
LE1OF541Q32N 2015/10/31 12:38 1710 SERVICE Your Winlink Password

Perth CMS >

Don't know what "1710" means, it is not the seen as uncompressed/compressed message size in the b2f proposal after.

But other than that the format seems to be: MID DATE TIME UNKNOWN FROM SUBJECT\r (I don't know if the blank line at the end is important).

Example with no pending messages:

[WL2K-3.2-B2FWIHJM$]
Perth CMS >
  LM
No pending messages found...
Perth CMS >
martinhpedersen commented 8 years ago

The feature only seems to be used in RMS Express when connected to a CMS.

martinhpedersen commented 8 years ago

For this feature, wl2k CMS' requires the secure login password to be sent in clear text.

This is probably a blocker for this feature.

martinhpedersen commented 8 years ago

Won't fix because it requires the client to send password in clear text.