Re: Subscribing to Discourse emails (mailing-list mode)
On 05Jul2019 10:05, Cameron Simpson wrote: It occurs to me now that if you want greater precision than: ! ~f discourse you could make an address group and go: ! ~f %discourse and maintain a small alias group thus: alias -group discourse discourse \ Haskell Discourse List , \ Some Other Discourse List Of course, that should be: ! %f discourse Sorry, Cameron Simpson
Re: Subscribing to Discourse emails (mailing-list mode)
On 04Jul2019 13:46, Francesco Ariis wrote: On Sat, Jun 15, 2019 at 09:49:34AM +1000, Cameron Simpson wrote: Maybe beef up the limit? Untested: folder-hook fa-ml 'push !~l | ~f discou...@haskell.org' Indeed that is a simple and sensible solution. I post the actual pattern I used here, for future reference: folder-hook fa-ml 'push "~r>1m!(~F)(~l | ~f discourse)"' I'm glad it was helpful. It occurs to me now that if you want greater precision than: ! ~f discourse you could make an address group and go: ! ~f %discourse and maintain a small alias group thus: alias -group discourse discourse \ Haskell Discourse List , \ Some Other Discourse List I find groups quite handy, for example tuning for HTML vs plain text: # prefer plain text message-hook . 'unalternative_order *; alternative_order text/plain text/html' # senders who can't seem to master multipart/mixed, and send empty # or useless text/plain sections # or just badly badly formatted plain text, such as live.com etc message-hook '%f htmlers | ~f @no-re...@cc.yahoo-inc.com | ~f @outlook.com | ~f live.com | ~f @facebookmail.com' 'unalternative_order *; alternative_order text/html text/plain' Cheers, Cameron Simpson
Re: Subscribing to Discourse emails (mailing-list mode)
On Sat, Jun 15, 2019 at 09:49:34AM +1000, Cameron Simpson wrote: > Maybe beef up the limit? Untested: > > folder-hook fa-ml 'push !~l | ~f discou...@haskell.org' Indeed that is a simple and sensible solution. I post the actual pattern I used here, for future reference: folder-hook fa-ml 'push "~r>1m!(~F)(~l | ~f discourse)"' Many thanks Cameron -F
Re: Subscribing to Discourse emails (mailing-list mode)
On 14Jun2019 08:05, Francesco Ariis wrote: I recently joined a Discourse server and chose "Mailing List mode" [1] to receive one mail per post. This is mutt-friendly but alas I cannot seem to find a way to `subscribe` to Discourse like I would with a normal mailing list (e.g. `subscribe discou...@haskell.org`). You will see the reason from this example message header: Date: Thu, 13 Jun 2019 14:44:51 + From: Tom Xyz via Haskell Community To: fa...@ariis.it Subject: [Haskell Community] [Links] Announcing qfw Are there any mutters who use Discourse? How did you solve/work around this problem? It is a bit of a pain for me because I have hooks such: folder-hook fa-ml 'push !~l' And as now they don't work on discourse messages. Maybe beef up the limit? Untested: folder-hook fa-ml 'push !~l | ~f discou...@haskell.org' Alternatively, if you autofile email you could get the filer to set an X-Label header and then filter on the label in mutt? Cheers, Cameron Simpson