Re: It’s time to transform the Fedora devel list into something new

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 23, 2023 at 11:21:19PM +0200, Björn Persson wrote:
> Kevin Fenzi wrote:
> > One bug I hit setting this up this weekend... some (but not all) of the
> > categories appear to have newlines in the List-ID: header. ;( 
> > 
> > ie, 
> > 
> > List-ID: Fedora Discussion | Ask Fedora Ask in English
> >  <ask-in-english.ask-fedora.discussion.fedoraproject.org>
> > 
> > Hopefully this is a bug that can be fixed... 
> > 
> > So the above won't really work as the MATCH doesn't include the second
> > line with the actual listid in it, only the description. ;( 
> 
> I think you'll have to blame Procmail for that. What you show is called
> folding in RFC 5322. It's valid syntax if the continuation line begins
> with whitespace, which it looks like it does. Folding is even
> recommended for lines longer than 78 characters. Programs that parse
> email are supposed to unfold folded lines.
> 
> The complexities of text-based protocols provide for so much fun!

Indeed. Actually procmail matches on it fine, but it doesn't include the
part after the newline in $MATCH, which makes it harder to parse out the
second part if you want to use that to filter into a maildir with that
name. :( 

I can work around it, it just seems... unexpected and I wanted to
mention it in case others were going down that path.

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux