hypermail-project / hypermail

Hypermail is a free (GPL) program to convert email from Unix mbox format to html.
http://www.hypermail-project.org/
GNU General Public License v2.0
156 stars 73 forks source link

Attachments not deleted using filter_out #13

Open jkbzh opened 14 years ago

jkbzh commented 14 years ago

Problem: attachments are created for filter[ed]_out messages

To reproduce the problem:

i) create a mbox file with name "mymbox" with 2 messages: . message 1 with Subject: a . message 2 with Subject: b

ii) ( message 2 has an atachment )

iii) create the following .hmrc file:

showheaders=0 filter_out=Subject: b delete_level = 0

iv) run hypermail with the following comamnd:

hypermail -p -u -x -d whatever -m mymbox

v) Expected output: no attachments files created by hypermail in directory whatever

vi) Actual output: an attachment file is created for message b in directory whatever

vii) what is wrong? message b was filtered out, so no attachments files are expected for this message!

Thank you very much.

Reported by: ombzzz