[leafnode-list] Re: Malformed Message-ID?

Matthias Andree matthias.andree at gmx.de
Fri Mar 3 23:09:01 CET 2023


Am 03.03.23 um 07:51 schrieb Matěj Cepl via leafnode-list:
> On 2023-03-02, 22:35 GMT, Matthias Andree via leafnode-list wrote:
>>> leafnode-2.0.0+git.1625851959.1275fbe-1.3.x86_64 from SUSE
> 1625851959 is some kind of timestamp (we have to have monotonic
> increasing number for RPM so timestamps are widely used; is it
> the Unix time? yes, 2021-07-09 sounds like a reasonable date)
>
> 1275fbe is the git commit ID and the repository is defined in
> https://build.opensuse.org/package/view_file/openSUSE:Factory/leafnode/_service?expand=1
> as https://gitlab.com/leafnode-2/leafnode-2.git.
>
> And yes, the problem remains even when the EOL is always CRLF.
> https://mcepl.fedorapeople.org/tmp/5557-1677825369-1 gave me
> right now
>
>      store: Message-ID header missing or malformatted
>      Could not store /var/spool/news/in.coming/5557-1677825369-1:
>          "malformatted", moving to /var/spool/news/failed.postings/

Turns out that the store_stream() function in store.c assumes that these
mandatory headers are not folded. That's why it mistakes that
Message-ID: header to be empty. The earlier do_post() understood that,
however...

I've gotta fix that.




More information about the leafnode-list mailing list