[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Procmail to sift out "F" in body
- Subject: Re: [vps-mail] Procmail to sift out "F" in body
- From: Scott Wiersdorf <scott@xxxxxxxxxxxx>
- Date: Mon, 10 Jan 2005 08:22:19 -0700
On Sun, Jan 09, 2005 at 05:05:36PM -0500, Jim Smith wrote:
> I seem to get a lot of emails that only have the letter "F" in the body. I'd
> like to create a Procmail or SA rule to filter out any email with ONLY the
> letter "F" in the body. Any help would be appreciated.
Something like this:
## only an 'F' (no newlines, etc.)
:0:
* B ?? ^^F^^
/var/mail/f-only
If there might be a newline, this might work:
:0:
* B ^^F[$]?^^
/var/mail/f-only
Untested. If they don't work, zip up a sample message (headers and
body together) and post it to the list.
Scott
--
Scott Wiersdorf
<scott@xxxxxxxxxxxx>
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index