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

Re: Mailing lists and subscribe



Am 2008-03-01 14:21:43, schrieb Jorge Luis Gonzalez:
> I'm using the following to list and subscribe to my mailing lists:
> 
> unlists *
> lists `for file in ~/Mail/lists/*; do echo -n "=lists/$(basename \
>       $file) "; done`
> 
> unsubscribe *
> subscribe `for file in ~/Mail/lists/*; do echo -n "=lists/$(basename \
>         $file) "; done`
> 
> (The lines aren't wrapped in muttrc.  The mboxes for all my mailing
> lists are in ~/Mail/lists.)
> 
> When I try to follow up to a mailing list using L, I get "mailing
> lists not found."  What's wrong with the lists and subscribe lines?

???

Why not use

----8<----------------------------------------------------------
unlists *
unsubscribe *
`for file in ~/Mail/lists/* ; do name=$(basename $file) ; \
                 echo -e "lists $name\nsubscribe $name" ; done`
----8<----------------------------------------------------------

which is nicely faster the your script.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature