Re: How to modify subject of incoming emails using procmail
Hi,
Not to be left behind, mailagent users can try:
========================================================================
# The mailing lists I subscribe to:
#get Debian stuf outa here first
X-Mailing-List X-Loop To Cc Resent-From Resent-To Resent-Reply-To:
/DEBIAN/i { VACATION off; UNIQUE -a; REJECT Debian };
#
# munch, munch
#
<Debian> X-Mailing-List X-Loop To Cc Resent-From Resent-To Resent-Reply-To:
/(debian-[\w-]+)(-(request|dist))?\@lists.debian.org/i
{ ASSIGN list %1;
SUBST #list /-(request|dist)//gi;
SUBST #list /devel-changes/changes/i;
ANNOTATE X-Debian-list %#list;
SAVE %#list.spool};
<Debian> All: /./ { ANNOTATE X-Debian-list Unknown; SAVE debian.spool};
========================================================================
manoj
--
Zero defects: The result of shutting down a production line. Kelvin
Throop III, "The Management Dictionary"
Manoj Srivastava <url:mailto:srivasta@acm.org>
Mobile, Alabama USA <url:http://www.datasync.com/%7Esrivasta/>
Reply to: