procmail
[Top] [All Lists]

Re: emails with image but no text in the body

2010-08-26 13:36:24
On Thu, August 26, 2010 1:27 pm, ProcMail wrote:
Hi
Does anyone know how to write a procmail recipe to match emails with an
image attachment but no text in the body? e.g. If no a-z in the body

You might want to open such a message in a text editor and have a look at
what you are actually dealing with. Remember, procmail knows only two
things: that which is Header and that which is not Header. So being clever
with "attachments" means first having to figure out what those are (in the
procmail sense). Or, feeding the message to another process that does it
for you (something like the ancient demime tool for example).

Some folks here might have current knowledge of such tools, I stopped
worrying about them some years back.

Rich

____________________________________________________________
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>