Re: list subject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike wrote:
> While we're voting (ok I just decided we were voting :), I'd like to
> vote against [Fedora-list] or anything for that matter added to thte
> subject.

Yes, adding to the subject is quite pointless. :)

For anyone that wishes to make suggestions to the list admins, please
do so directly rather than sending such requests to the list.  If the
admins think an idea has merit, they can toss it out here for some
discussion if they want.

> I filter all my mail lists to there own folder with a procmail
> recipe like that below.  Adding text to the subject only serves to
> reduce the amount of "real" subject text that I see...
>
>
> :0:
> * ^X-loop:.*fedora-list@xxxxxxxxxx
>   Fedora

I can go you one better.  This recipe will work for any list that
follows rfc 2919 and adds a List-Id header (nearly all mailman lists
and many others).  I don't have to manually tweak list recipes very
often anymore.

# automagically handle nice standards conformant mailing lists.
# based on http://spacepants.org/conf/dot.procmailrc,
# where it was attributed to Jeff Waugh
:0
#* ^(List-Id|(X-)?Mailing-List|X-List):\/.*
* ^List-Id: +\/.*
{
    LISTID=$MATCH

    :0
    * LISTID ?? ^.*[<]\/[^@>\.]*
    lists/$MATCH/

    # the ^ * seems ineffective at removing spaces, best to be sure
    # the initial pattern does this (e.g.: ^List-Id: +\/.*)
    :0
    * LISTID ?? ^ *\/[^@\.]*
    lists/$MATCH/
}

This one will catch lists that use List-Post headers:

# List-Post: <mailto:mutt-users@xxxxxxxx>
:0
* ^List-Post: *[<]mailto:\/.*
{
    LISTPOST=$MATCH

    :0
    * LISTPOST ?? ^ *\/[^@]*
    lists/$MATCH/
}

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Never argue with an idiot. First, they drag you down to their level,
then beat you with experience.
    -- Ben Adams

Attachment: pgpQRTJcFa99S.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux