procmail
[Top] [All Lists]

Re: mailing lists, html ----> /dev/null

2009-07-02 15:21:15
On Thu, Jul 02, 2009 at 10:44:37AM -0700, Professional Software Engineering 
wrote:

Are you muddying "recipe" (which is what a procmail rule is called),
or referring to email receipts (such as confirmation of delivery),
or to recipient (which would presumably be YOU).


Recipe.  I have no idea what my fingers were thinking... 

I was implying refining a procmail recipe like the on below to include
vaporizing html in one shot and how to do it.

:0:
 ^List_ID:.debian-user.lists.debian.org
Debian-User



You might want to take a look at my list_id filter.  BTW, ^TO_ may
not match when someone BCC's a discussion list.  Most lists have
several, much more reliable ways of identifying list messages.
Since list_id sets a variable to identify the list, you can use it
to identify that the message is a list message and THEN perform your
HTML filtering based on that (yet still know the list identification
to filter it after ditching HTML messages).  I identify lists and
then adjust my spam scoring with some "allowances" for certain lists
for instance.


I am aware of list_id's.  As I add to my rc.subscription the new entries
are created with list_id.  I suppose I should correct them all.
I'm still slightly confused in how to construct a recipe that will simply
dump html to /dev/null.  I am still not even totally sure this is what I
should be doing.  What I don't like is the size of the messages.  I never
delete anything and the size of the mails can rack up quickly.  I also do
not like seeing this 

[-- Attachment #1 --]
[-- Type: multipart/alternative, Encoding: 7bit, Size: 1.0K --]
[-- Autoview using /usr/bin/w3m -dump -T text/html ''/tmp/mutt.html'' --]

I'd prefer to have a nice clean message. I can deal with the occasional
in-line PGP stuff.  At least that serves a greater purpose. So I guess what
I'm here for is some help in constructing a recipe that will help with all
of that.  

-- 
Daryl Styrk
Naples FL, USA

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>