Re: procmail recipe question

From: Ed Murphy (emurphy42_at_socal.rr.com)
Date: 01/28/04


Date: Wed, 28 Jan 2004 21:22:31 GMT

On Wed, 28 Jan 2004 21:03:06 +0000, Richard Kimber wrote:

> How do I formulate a procmail test for a non-existent
> Subject:

:0
* ^Subject: *$

> and/or an empty email body? in an email

:0 B
* ![^ ]

or

:0 B
* ![A-Za-z]

I think these will work, but I haven't tested them. In particular, I
don't know whether the body tests will hold up against attachments; the
following set should match any message with a non-text attachment:

:0 B
* ^Content-Type: [^t]

:0 B
* ^Content-Type: t[^e]

:0 B
* ^Content-Type: te[^x]

:0 B
* ^Content-Type: tex[^t]

International users may want to consider the A-Za-z part in more
detail. It may not be a substantive issue, though.



Relevant Pages

  • Re: Outlook 2003 is eating my attachments! HELP !
    ... the message origin of emails - the SPF Fail message at the top may have ... Milly Staples [MVP - Outlook] ... my ISP webmail displays the message and attachments correctly. ...
    (microsoft.public.office.misc)
  • Re: Outlook 2003 is eating my attachments! HELP !
    ... If you use your ISP webmail interface, ... are the attachments on the blocked list? ... | X-AntiAbuse: This header was added to track abuse, ... | Content-Type: multipart/mixed; ...
    (microsoft.public.office.misc)