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

Matthias Andree matthias.andree at gmx.de
Sat Mar 4 00:14:22 CET 2023


Am 03.03.23 um 23:09 schrieb Matthias Andree via leafnode-list:
> 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.
>
>
Should be fixed in the Git repo as of 5e7153d. Please test and let me
know if it works for you.

https://gitlab.com/leafnode-2/leafnode-2/-/commit/5e7153d79530f8e1a795be316a81424320de8f4d




More information about the leafnode-list mailing list