Mailinglist Archive: opensuse-kde (81 mails)
| < Previous | Next > |
Re: [opensuse-kde] effectively managing many mailing lists with KMail
- From: Malte Gell <malte.gell@xxxxxx>
- Date: Sun, 13 Jan 2008 05:18:18 +0100
- Message-id: <200801130518.19230.malte.gell@xxxxxx>
On Mittwoch, 9. Januar 2008, Malte Gell wrote:
For others who may be interested, this is now what I did: create a
filter rule with two rules that need to be true:
1.) in-reply-to contains my email address
2.) list-post contains .
This rules checks whether a message is a reply and belongs to a mailing
list. If the above is true, the message is being piped thru the script
below which uses the KDE command kdialog to pop up a message. I think
this is pretty cool, though a quick and dirty hack. Suggestions
welcome.
Malte
#!/bin/sh
TMPMSG=`mktemp /tmp/kmail-filter-msg.XXXX`
HEADER=`mktemp /tmp/kmail-filter-header.XXXX`
export TMPMSG
export HEADER
cat > $TMPMSG
grep -i -e "List-id" $TMPMSG > $HEADER
grep -i -e "X-Mailinglist" $TMPMSG >> $HEADER
export LIST="`cat $HEADER`"
kdialog --msgbox "Reply in $LIST" &
cat $TMPMSG
rm $TMPMSG
rm $HEADER
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
I'm especially curious, what steps do you do in order to quickly find
out if there is a reply to a message you sent to a list?
For others who may be interested, this is now what I did: create a
filter rule with two rules that need to be true:
1.) in-reply-to contains my email address
2.) list-post contains .
This rules checks whether a message is a reply and belongs to a mailing
list. If the above is true, the message is being piped thru the script
below which uses the KDE command kdialog to pop up a message. I think
this is pretty cool, though a quick and dirty hack. Suggestions
welcome.
Malte
#!/bin/sh
TMPMSG=`mktemp /tmp/kmail-filter-msg.XXXX`
HEADER=`mktemp /tmp/kmail-filter-header.XXXX`
export TMPMSG
export HEADER
cat > $TMPMSG
grep -i -e "List-id" $TMPMSG > $HEADER
grep -i -e "X-Mailinglist" $TMPMSG >> $HEADER
export LIST="`cat $HEADER`"
kdialog --msgbox "Reply in $LIST" &
cat $TMPMSG
rm $TMPMSG
rm $HEADER
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
| < Previous | Next > |