[neomutt-devel] neomutt NNTP and Active Directory usernames

Richard Russon rich at flatcap.org
Thu Apr 11 15:40:25 CEST 2024


Hi,

> Not worked out how to display the groups in the sidebar yet either

    mailboxes -label apple  news://news.example.com/alt.news.apple
    mailboxes -label banana news://news.example.com/alt.news.banana
    mailboxes -label cherry news://news.example.com/alt.news.cherry

The labels are optional.

> Ability to configure a per group amount of articles to cache would be great.

    set nntp_context = NUM

This sets the default number of articles to download.
iirc, setting this to 0 means download everything.
On LKML that might take a while :-)

To configure it per group means using hooks.

    folder-hook .      "set nntp_context = 100"
    folder-hook apple  "set nntp_context = 1000"
    folder-hook banana "set nntp_context = 5000"
    folder-hook cherry "set nntp_context = 0"

With hooks, all matches are executed (last one wins),
so it's typical to set a default value first.

> A second thing may be ability to define more than one NNTP host

Just adding mailboxes elsewhere would work.

    mailboxes news://news.otherhost.com/alt.news.zebra

Or a macro:

    macro index,pager <F1> "<change-folder>news://...<enter>"

> ...

Thanks for the feedback.

Cheers,
    FlatCap / Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20240411/d25ed55e/attachment.sig>


More information about the neomutt-devel mailing list