Re: How to modify subject of incoming emails using procmail
> > > So the question is, is there an easy way to make a substitution on *only*
> > > the 'Subject:' line of the *header* of the mail, either using procmail or
> > > something else?
> >
> > Sure. man formail.
> >
> > I wonder, however, why on earth you would want to do this. Why not,
> > instead just send the mail from that list to its own folder like:
> >
> > :0:
> > * ^TOdebian-user
> > $HOME/mail/debian
> >
>
> I'd like to comment on this. If the debian-* list administrator(s) would edit
> the debian-*.config files and change the "subject_prefix" option to reflect
> the appropriate list, then all of the filtering would be easier on the members
> of the list. A subject line like
>
> Subject: I need HELP
>
> would become
>
> Subject: DEBIAN-USER I need HELP
All Debian lists contain a line like the following:
X-Loop: debian-user@lists.debian.org
Unless the mail is sent to you via CC or BCC you can use this line
for filtering issues.
There is no need for mangled subject.
Regards
Joey
--
/ Martin Schulze * Debian GNU/Linux Developer * joey@debian.org /
/ http://www.debian.org/ http://home.pages.de/~joey/
Reply to: