<<< Date Index >>>     <<< Thread Index >>>

Re: Mailing list reply



* Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx> [2007-10-05 14:10 -0500]:


So, have you tried making it this:

    subscribe '^listname@mail\.listname\.com$'

That way the only address that is recognized as a list is the one the list specifies in the List-Post header. Unless something else is going on, that should prevent you from replying to listname@xxxxxxxxxxxxx

That's what I've decided to do for this one.


Of course, you could always *force* the issue, by adding a send2-hook:

send2-hook '~C listname@xxxxxxxxxxxx ~C listname@xxxxxxxxxxxxxxxxx' \
    'push <edit-to><kill-line>listname@xxxxxxxxxxxx<enter>'

;)

If the smiley means that you think that solution is overkill, I agree...

The question is, what's the best way to work around it in a generic
way?

I'm assuming the List-Post header was used for cases when a person is
too lazy to add that mailing list to their list of mailing lists (e.g.
with the subscribe or list commands).

I suspect that it's a Mailman default - the box running the list is
mail . The list is non-technical and nobody there would know what a
subscribe command is.

Perhaps a variable could be added to turn that off? Or change the
behavior to only use the List-Post header when no other mailing list
addresses have been found?

That's the kind of thing I was thinking of, but it sounds a bit dicey in
practice. If you're doing a list-reply to a message where there's a
List-Post header, could you accidentally drop an intended recipient?

P.S. I've often thought something like an addr-hook, that forces specific addresses to be treated as something else (akin to a charset-hook, kinda) would be pretty useful, and such a thing would solve the problem here, as long as mutt eliminates duplicate recipients. For example:

    addr-hook listname@xxxxxxxxxxxxxxxxx listname@xxxxxxxxxxxx

Now _that's_ an interesting idea! I tend to get mails addressed to
collections of people - a church group, for example - where one
recipient has changed her address. (Old directories take a long time to
die.) With an addr-hook, I could make the change and a group reply would
go to the new address even if the message had only the old address for
that person.
Breen
--
Breen Mullins
Menlo Park, California