4 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: Moving mail based on ...
FromSent OnAttachments
David GroceJul 30, 2004 3:37 pm 
Sam VarshavchikJul 30, 2004 3:49 pm 
David GroceJul 30, 2004 3:57 pm 
Sam VarshavchikJul 30, 2004 5:39 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: Moving mail based on attachment nameActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jul 30, 2004 5:39:53 pm
List:net.sourceforge.lists.courier-maildrop

David Groce writes:

I don't understand why it isn't the right tool?

Because to do this correctly you need to parse the message's MIME headers and structure. Maildrop does not really understand MIME.

I use maildrop to look for a Spam Status=Yes line in my e-mail and act based on whether it finds it or not, why not look for a filename=Deleted0.txt line? and act accordingly

Because that header is not part of the main message's headers, it is a MIME header. You can look for "filename=" in the body of the message, but this will also match similar-looking text that's really innocent lines of text in the content of the message.

You should open up a sample message in a plain text editor and see for yourself how it is formatted.