Giter Club home page Giter Club logo

Comments (4)

nobrowser avatar nobrowser commented on June 5, 2024

I removed the %L group matching, and instead I match the literal address in the send-hook (adding multiple send-hook lines when the list has alternate addresses - that was the only purpose of the groups). Now it works as expected. So, this is a bug in the group collection somewhere.

The manual says about %L that it matches when the message "originated or received by a member of the group". This is maybe slightly less explicit than needed; in any case, I checked and the relevant messages all have the list address in the To: header, which does count as "received by" for me.

from neomutt.

gahr avatar gahr commented on June 5, 2024

If my interpretation is correct, what matters is the message that's being matched against, i.e., the one you're composing. So I guess in this case %L only triggers if you include the group address in a destination (To, Cc).

I have setup a sample config that looks like yours

subscribe -group foo foo@foolist\.org
send-hook '%L foo' 'set from="[email protected]"'

subscribe -group bar bar@barlist\.org
send-hook '%L bar' 'set from="[email protected]"'

and I get my from address updated whenever I group-reply, but not when I reply.

Hope this helps.

from neomutt.

nobrowser avatar nobrowser commented on June 5, 2024

If my interpretation is correct, what matters is the message that's being matched against, i.e., the one you're composing.
So I guess in this case %L only triggers if you include the group address in a destination (To, Cc).

This does improve my understanding of the situation, thanks.

and I get my from address updated whenever I group-reply, but not when I reply.

FWIW, I always use list-reply (bound to L) for these communications. And that means the list address is in fact in the To header of the message being composed.

I will remember to compare my improved understanding when I'm actually composing. Thanks for your interest.

--
Ian

from neomutt.

gahr avatar gahr commented on June 5, 2024

I have tested and this works with list-reply too. Can you double check and confirm?

from neomutt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.