Hi Brian,

On Mon, Apr 05, 2010 at 05:03:01AM -0500, Brian Ryans wrote:
> This brings me to one of my problems. Using mutt's 'subscribe' and
> 'lists' functions, I've been able to mark every Debian list -- even
> those the Project hasn't even envisioned yet -- as known [1], and some
> of my most oft-read lists as subscribed by manally specifying each list
> manually.

One piece of information that was missing from your post was what you
are attempting to accomplish.  If you merely want <list-reply> to work
properly, you might not even need to add a lists/subscribe line at all
because I believe the Debian mailing lists all add a List-Post: header
field, which Mutt should pick up.

If you are trying to properly set your Mail-Followup-To: header field to
avoid duplicate messages, or refer cross-list, then using the
'subscribe' command as you've outline is the right approach.

> Overall, what I'm looking to find out is: In the collective wisdom, is
> my method effective? And if it's not, any pointers to any more effective
> methods than what I'm doing?
> 
> [2] subscribe `echo -n 'debian-('; for file in $(find -O3 ~/mail
>     -mindepth 1 -maxdepth 1 -type d -name 'debian-*' -printf '%f\n'
>     | sed -e 's/debian-//g'); do echo -n $file\|; done; echo -n '^H';
>     echo ")@lists\\\.debian\\\.org"`

This can probably be simplified a little, but what've got there works
just as well.

subscribe '`echo -n ~/mail/debian-* | sed "s/debian-\([^ 
]+\)/\...@lists\.debian\.org/g"`'

me

Attachment: pgpZtPusNQH2h.pgp
Description: PGP signature

Reply via email to