Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Filter help

7 views
Skip to first unread message

Michael T. Davis

unread,
Apr 27, 2012, 10:41:21 AM4/27/12
to
I'm running v7.1.0.9 paid. I would like to create a manual filter
based on a customized header that looks for a string within that header,
and moves the message to another mailbox if found.

In the Filters dialog, I typed in the name of the header (since it's
not standard), X-Spam-Warning, into the Header field. I am looking for
instances of this when it "contains"...

defunct domain: jdoe@

For an action, I have (only) set it to move the matching message(s) to a
folder named "defunct." The filter is set exclusively as a manual filter. It
is also my only filter.

To test, I select all the messages in my In mailbox, then click on
"Filter Messages" from the Special menu. I see a status window appear that
tells me the the messages I have selected are being processed. At the end,
my In box is left exactly as it started, even though I know I have at least
one message that should match the filter. Also, the Filter Report is empty.
...Any ideas what I'm missing?

Thanks,
Mike

Ajo Wissink

unread,
Apr 27, 2012, 11:44:32 AM4/27/12
to
Perhaps Eudora could not find that header because you typed a
non-existing one. Headers end with a colon, so your's should have
read X-Spam-Warning: instead of X-Spam-Warning

Michael T. Davis

unread,
Apr 27, 2012, 3:43:47 PM4/27/12
to

In article <qiflp75hmrp9j4jmq...@4ax.com>, Ajo Wissink
I specified it w/o the colon, since I'm trying to develop the same
filter under Thunberbird, where the colon must not be specified. I see from
the headers that Eudora does know about that the colon is included, so I
tacked it onto the header name. Unfortunately, this doesn't seem to matter.
The filter is still being "ignored" and the filter report remains empty.

Regards,
Mike
Message has been deleted

Ajo Wissink

unread,
Apr 27, 2012, 6:32:06 PM4/27/12
to
On Fri, 27 Apr 2012 19:43:47 +0000 (UTC), DAV...@ecr6.ohio-state.edu
When filters don't work it's often because of typos. Copying and
pasting is preferable. Often an added space is enough to cause
failure.

Michael T. Davis

unread,
Apr 30, 2012, 6:29:50 PM4/30/12
to

In article <7e7mp7lr9usc55jrl...@4ax.com>, Ajo Wissink
I did a little more testing, and it looks like Eudora doesn't deal
with a "wrapped" header line properly. In the example, above, the specific
message header content looks like this:

X-Spam-Warning: ... defunct domain:
jdoe@...

Is there a trick to specifying the content of the header in a filter to
accommodate for this potential?

Regards,
Mike

Michael T. Davis

unread,
May 1, 2012, 11:13:14 AM5/1/12
to
>[...]

It turns out Eudora's filtering mechanism does see header content
beyond that first line break. I couldn't find any information on how to
match a line break with a "contains" clause, so I used "matches regexp (case
insensitive)" as follows:

" defunct domain:[^[:alpha:]]{1,3}jdoe@"

(The quotes are to delimit the content I used for readability here; they're
not part of the actual match string.) I wasn't sure if Eudora used the
line break as defined by the RFCs (CR-LF), or only one of those, so the
"1" represents the space character that will always exist between the end
of "domain:" in the case where the line is not folded (to use the RFC
terminology) and the user name, and the "3" includes the space plus the
RFC-defined line break or a single-character line break (since the second
value represents a maximum, not an absolute).

...Now to tackle this in Thunderbird.

Cheers,
Mike

P.S. The RFC in question is 5322, which obsoletes 2822, which obsoletes 822.
0 new messages