On Tue, Oct 03, 2000 at 10:28:38PM -0500, [EMAIL PROTECTED] wrote:
> I just joined the list today, but I would like to suggest that you use
> procmail to sort your messages into folders, especially if you use pine
Right!
################################## Start of Mailing List Recipes
###
### Mandrake Mailinglists
###
### Name: ML-Mandrake-[TextBetweenSquareBrackets]
### (e.g. ML-Mandrake-cooker, when Subject: [cooker])
###
### Lists: changelog, cooker, newbie-de, expert, newbie, cooker-i18n
###
### Filename: Name of the liste in the Subject. Eg: [newbie] -> ML-Mandrake-NEWBIE
:0H
* ^(X-Loop|Sender):
.*((changelog|cooker(-i18n)?|newbie(-de)?|expert(-de)?|(security-)?announce)(-owner)?@(linux-mandrake\.com|yavin\.mandrax\.org)?|(news@mandrakesoft\.com)).*
* ^Subject:
.*\/\[(cooker|i18n|(Contrib-Rpm|changelog|(Frozen-)?CHRPM)|newbie(-de)?|expert(-de)?|(security-)?announce)\]
{
### Convert MATCH to uppercase
MATCH = `/bin/echo $MATCH | $TR '[:lower:]' '[:upper:]'`
### Save to file
### test if the directory exists
FILE = "ML-Mandrake-$MATCH"
FILE = `/bin/echo $FILE | /bin/sed -e 'y/ /_/' | $TR -d ']['`
DIR = `/usr/bin/dirname $FILE`
:0 icw
* !? test -d $DIR
| /usr/X11R6/bin/mkdirhier $DIR
:0c:
$FILE
### Now stop this action.
:0i
| /bin/false
}
Just add this to your .procmailrc and you'll find the mails from the
Mandrake mailinglists in seperate files.
Alexander Skwar
--
Homepage: http://www.digitalprojects.com | http://www.dp.ath.cx
Sichere Mail? Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ: 7328191