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

App to edit Eudora filters

518 views
Skip to first unread message

ma...@bkwds.comcast.net

unread,
Mar 8, 2013, 1:48:09 PM3/8/13
to
I'm running PC Eudora 7.1 and have always run Eudora since it was
provided by my first ISP in 1994. Today there are SO MANY filters
defined now, that it's difficult to edit or sort them.

Many are duplicates and some I just CANNOT LOCATE due to the
number of entries.

What's a good and available Eudora Filter editor?

TIA,

-Ed

Han

unread,
Mar 8, 2013, 2:49:58 PM3/8/13
to
ma...@bkwds.comcast.net wrote in news:scckj85n5absi817jk5b96o7a00v4j54ep@
4ax.com:
There is a big problem here. The filters are stacked one on top of the
other like this (most often, there is a "skip rest" as the last "action"
at the end of a filter. So the filters look like:

If condition A is fulfilled, then do 123 and stop.
- Otherwise go to the next filter

If condition B is fulfilled, then do 987 and stop.
- Otherwise go to the next filter

etc, etc.

Sometimes you might want to check many things if "A" is met, and there
will be no stop, but that means that your email gets labeled red, happy
birthday is played, and in the next filter, it gets put in mailbox Papal,
and a dirge is played. If there is no stop then you might be changing
the personality to Pius's, and change the label to purple. (just kidding,
these are crazy examples).

Do you see the problem with changing the order, or removing a filter?
The message that used to be labeled purple in the end, now gets to be
red.

If you really want to edit the filters, you need to go through them all
(reading and comprehending them) before editing them. Of course after
Aunt Susie has died, the filter that looked for Aunt Susie's address in
an email, to put the message into mailbox Aunt Susie, that filtermay be
just deleted.
--
Best regards
Han
email address is invalid
Message has been deleted

John H Meyers

unread,
Mar 9, 2013, 4:19:22 AM3/9/13
to
On 3/8/2013 12:48 PM, Ed wrote:

> I'm running PC Eudora 7.1 and have always run Eudora since it was
> provided by my first ISP in 1994. Today there are SO MANY filters
> defined now, that it's difficult to edit or sort them.
>
> Many are duplicates and some I just CANNOT LOCATE due to the
> number of entries.

The "Find text" function (Ctrl+Shift+F)
works when "Tools" > "Filters" are displaying,
which may provide some help with that.

> What's a good and available Eudora Filter editor?

The one that's built in :)

Both "Eudora Filter Editor" (EFE)
and "Eudora Filter Organizer" (EuFO)
suffer from some logical flaws
(e.g. from ignoring the fact that
re-ordering filters often changes the results),
as well as from one or the other having been only for sale,
or possible difficulty locating either an author or a source.

Note that a "Download" button on the following page
is NOT for EFE:
<http://habit3.software.informer.com/>
<http://www.habit3.com> [no response]

Something does download from here, FWIW:

"EuFO - Eudora Filter Organizer (2003) - Development discontinued"
<http://eufo.vanderdrift.com/download.html>
"The user should use Eufo at his/her own risk..."

--

John H Meyers

unread,
Mar 9, 2013, 7:56:21 AM3/9/13
to
On 3/8/2013 6:37 PM, Dennis Lee Bieber wrote:

> Well, as I recall, filters are stored in plain text...
> CRYPTIC but plain text <G> [in file filters.pce]

I will take the liberty of annotating it for you:

> 3 [file header or version, or who cares?]
> rule Subject:secretsline [each filter's first word is "rule"]
> junk [one line per filter action]
> stop
> incoming [one line per check mark: incoming? outgoing? manual?]
> header Subject: [first condition (3 lines)]
> verb contains
> value secretsline
> conjunction ignore [between the two conditions]
> header [second condition (3 lines), even if ignored]
> verb contains
> value
> rule Subject:tmg users group [next filter has begun]
> status 1 [actions]
> transfer Trash.mbx
> stop
> incoming [check marks]
> manual
> header Subject: [condition 1]
> verb contains
> value tmg users group
> conjunction ignore
> header [condition 2]
> verb contains
> value
> rule Subject:TMG User Group Meeting [next filter]
> transfer Trash.mbx
> stop
> status 1
> incoming
> manual
> header Subject:
> verb contains
> value TMG User Group Meeting
> conjunction ignore
> header
> verb contains
> value

Etc.


> Someone could probably write a script to parse these into something
> like an Excel spreadsheet (or a CSV file, for simplicity);
> Edit; then another script to export back to the .pce file.

Take note of some places where there may be a variable number of lines,
which you must account for in any such scheme, whereas applications
which only "organize" and re-order filters need only
keep each individual rule's lines together,
without altering any internal content of any rule.


I have written a brief text processing script (filters.awk)
and a brief Windows command file (filters.cmd)
for the special purpose of instantly and accurately setting the
"manual" check box of every Eudora filter per any one of these criteria:

o Set "Manual" to match "Incoming" in all filters.
o Set "Manual" to match "Outgoing" in all filters.
o Set "Manual" if either "Incoming" or "Outgoing"
o Set "Manual" if neither "Incoming" nor "Outgoing"
o Set "Manual" in all filters.
o Remove "Manual" from all filters.

The first two conditions above are obviously necessary
to guarantee that manual filtering exactly matches
either incoming filtering or outgoing filtering,
so that you may accurately test each such separate filtering
manually, without having to actually receive or send messages.

It is also probably obvious how tedious it is
to accurately change between each of the above configurations
if you have a large number of filters to deal with,
which was the motivation for my automating this process.


I suppose it would be disappointing not to have the actual command
and script files accompany all that description, so here they are, FWIW:


----- filters.awk -----
# AWK script for setting which Eudora filters to mark "manual"
# (store this script in a file named filters.awk,
# in the same directory as you find the filters.pce file)
$1 == "rule" { rule = 1 } # start of new filter rule
# Mark which filters? incoming, outgoing, neither, either, all, or none
$1 == "header" { if ( rule &&
( manual ~ /^inc/ && inc ||
manual ~ /^out/ && out ||
manual ~ /^nei/ && !(inc) && !(out) ||
manual ~ /^eit/ && ( inc || out ) ||
manual ~ /^all/ )) print "manual" ;
rule=inc=out=0 } # insert "manual" here
$1 == "incoming" { inc=1 } # current rule has "incoming" box checked
$1 == "outgoing" { out=1 } # current rule has "outgoing" box checked
$1 != "manual" # drop "manual" here, then insert it above
# END OF filters.awk


----- filters.cmd -----
@ echo off
rem This file should be named: Filters.cmd
rem This file should reside in a Eudora Data folder,
rem where Filters.pce resides.
rem Run this command only while Eudora is not running.
rem
if not exist owner.lok goto nolock
echo.
dir owner.lok | find /i "lok"
echo WARNING: EUDORA IS CURRENTLY IN USE, please close it first.
echo.
pause
goto end
: nolock
echo.
echo Making backups of Filters.pce
echo (restore Filters.pce if any further error occurs in this script)
if exist Filters.pc8 copy Filters.pc8 Filters.pc9 /y
if exist Filters.pc7 copy Filters.pc7 Filters.pc8 /y
if exist Filters.pc6 copy Filters.pc6 Filters.pc7 /y
if exist Filters.pc5 copy Filters.pc5 Filters.pc6 /y
if exist Filters.pc4 copy Filters.pc4 Filters.pc5 /y
if exist Filters.pc3 copy Filters.pc3 Filters.pc4 /y
if exist Filters.pc2 copy Filters.pc2 Filters.pc3 /y
if exist Filters.pc1 copy Filters.pc1 Filters.pc2 /y
if exist Filters.pc0 copy Filters.pc0 Filters.pc1 /y
copy Filters.pce Filters.pc0 /y
if errorlevel 1 goto skip
rem IMPORTANT: make sure you've kept a backup elsewhere,
rem IMPORTANT: not just the copies made above
echo.
echo Editing Filters.pce
echo.
rem Ask a question and save the reply (which must be a lower-case word)
rem (just press Enter with no input to skip running AWK)
set /p manual=Mark which filters? incoming, outgoing, neither, either, all, or none:
if errorlevel 1 goto skip
rem Run AWK using the script file saved earlier
awk.exe -f Filters.awk manual="%manual%" Filters.pc0 > Filters.pce
rem notepad.exe Filters.pce
: skip
echo.
pause
rem Optionally launch Eudora
rem start "" /b "path to Eudora.exe" "path to data folder"
: end
rem END OF filters.cmd


----- Additional info -----
You also need the executable program awk.exe,
which you can extract from the following "binaries" zip file:

<http://gnuwin32.sourceforge.net/packages/gawk.htm>
<http://gnuwin32.sourceforge.net/downlinks/gawk-bin-zip.php>
[files awk.exe, gawk.exe and gawk-3.1.6.exe are all identical]

--

ma...@bkwds.comcast.net

unread,
Mar 11, 2013, 8:08:04 PM3/11/13
to
On Sat, 09 Mar 2013 03:19:22 -0600, John H Meyers
<jhme...@nomail.invalid> brought the following to our attention:
Hey thanks! :))

The other problem is.. if I try to organize filters into like groups
(automotive filters all together for example) the workspace will crash.

What causes the Filter GUI to crash when dragging entries up or down?

Does the list order matter? top rules checked first? Each new entry
shows up at the bottom of the list.


-Ed

Message has been deleted

Ajo Wissink

unread,
Mar 13, 2013, 2:56:56 PM3/13/13
to
On Mon, 11 Mar 2013 20:08:04 -0400, ma...@bkwds.comcast.net wrote:

>Does the list order matter? top rules checked first? Each new entry
>shows up at the bottom of the list.

They show up at the bottom of the list when you use "Special > Make
Filter"

They show up at the top of the list when you select "Tools > Filters >
New".

Juergen

unread,
Mar 13, 2013, 5:45:23 PM3/13/13
to
Am 13.03.2013 19:56, schrieb Ajo Wissink:
> They show up at the bottom of the list when you use "Special> Make
> Filter"
>
> They show up at the top of the list when you select "Tools> Filters>
> New".

as for me... V6.2

"Tools > Filters > New"

new filter will be inserted after a selected filter in the filter list,
always. But I can drag&drop any filter before or after any other filter
in the list... so the second before the first one or the first after the
last one ;-)

Juergen
Message has been deleted

John H Meyers

unread,
Mar 14, 2013, 4:39:17 AM3/14/13
to
On 3/11/2013 7:08 PM:

> if I try to organize filters into like groups
> (automotive filters all together for example) the workspace will crash.
>
> What causes the Filter GUI to crash when dragging entries up or down?

Do you mean that Eudora's built-in "Filters" window crashes,
or that "EuFO" (an old filter "organizer") crashes?

The most likely suspect would be a corrupt file (filters.pce)
which is human-readable and has a particular,
comprehensible structure.

Did corruption begin after starting to use EuFO,
or are you referring to an old problem you have already had?

> Does the list order [filters sequence] matter?

That depends upon _everything_ in your filters.

For example,
note that the following two different filter sets
produce identical results, but from filters
which have to be arranged in exactly opposite sequence:

If subject contains AA transfer to AA & skip rest.
If subject contains BB transfer to BB & skip rest.
If subject contains CC transfer to CC & skip rest.

vs.

If subject contains CC transfer to CC [& continue filtering]
If subject contains BB transfer to BB [& continue filtering]
If subject contains AA transfer to AA [& continue filtering]

Note the importance of _not_ saying "skip rest" in the following,
in addition to the fact that the sequence does _not_ matter here:

if subject contains AA copy to AA
if subject contains BB copy to BB
if subject contains CC copy to CC

After all, each filter ("under these conditions do that
and then either skip or continue the rest of the program")
is like a logical step in a complete computer program,
in which the sequence of logical steps may matter
in some cases more than other cases,
depending entirely upon what is tested
and what actions are taken -- it is then your task
to arrange your logic so as to produce
the desired effects in all cases,
without unintended logical "bugs"

--

Ajo Wissink

unread,
Mar 14, 2013, 8:44:40 AM3/14/13
to
That is how it works in all Eudora versions.

When you open the filter window the selection is at the top, by
default, but you can select a location farther down.
Message has been deleted

Jim Thompson

unread,
Mar 19, 2013, 1:39:19 PM3/19/13
to
On Sat, 09 Mar 2013 03:19:22 -0600, John H Meyers
<jhme...@nomail.invalid> wrote:

>On 3/8/2013 12:48 PM, Ed wrote:
>
>> I'm running PC Eudora 7.1 and have always run Eudora since it was
>> provided by my first ISP in 1994. Today there are SO MANY filters
>> defined now, that it's difficult to edit or sort them.
>>
>> Many are duplicates and some I just CANNOT LOCATE due to the
>> number of entries.
>
>The "Find text" function (Ctrl+Shift+F)
>works when "Tools" > "Filters" are displaying,
>which may provide some help with that.
>
[snip]

Aha! Thanks for the tip! I didn't know that.

Like the OP I have filters multiplying like rabbits, so your tip will
help eliminate duplicates.

...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.

ma...@bkwds.comcast.net

unread,
Mar 31, 2013, 6:40:28 AM3/31/13
to
On Wed, 13 Mar 2013 16:21:24 +0000, Jim Higgins <this_...@is.invalid>
brought the following to our attention:

>There is no need to group your filters unless you have one filter
>based on X and another filter based on both X & Y that direct mail to
>different places. Then you'd want X&Y to be above only X.
>
>
>>Does the list order matter? top rules checked first? Each new entry shows up at the bottom of the list.
>
>Rules are checked from the top down. They're acted upon as matches
>are found. If a rule matches and that rule ends with "Skip Rest,"
>then checking stops there. Unless you want multiple filters to check
>the same email, all filters should end with "Skip Rest."

Thanks for the reply.. I'm a little behind on this topic. Actually it's
another of the hundreds of technical tasks and projects going on
around here.

The Filter interface hasn't crashed one time this morning, however I
still SAVE changes (clicking an adjacent tab) frequently.. like after
every edit. How come author didn't put a SAVE or APPLY button for quick
saves? No biggie tho.

Have already found many dups and obsolete entries. Looking good!

-Ed

ma...@bkwds.comcast.net

unread,
Mar 31, 2013, 6:44:21 AM3/31/13
to
On Wed, 13 Mar 2013 15:56:56 -0300, Ajo Wissink
<a...@notrealaddress.invalid> brought the following to our attention:
Thanks,

I'm always using the context menu (right mouse) and clicking MAKE FILTER
then clicking Add Details and the entry shows up at the bottom. As
mentioned, I have SO MANY filters defined that it's difficult to
organize them.

-Ed

ma...@bkwds.comcast.net

unread,
Mar 31, 2013, 6:45:58 AM3/31/13
to
On Wed, 13 Mar 2013 22:45:23 +0100, Juergen <mac...@arcor.de> brought
the following to our attention:

>"Tools > Filters > New"
>
>new filter will be inserted after a selected filter in the filter list,
>always. But I can drag&drop any filter before or after any other filter
>in the list... so the second before the first one or the first after the
>last one ;-)

Another good tip.. thanks!!

Can a tool button be defined for Filters New?


-Ed

ma...@bkwds.comcast.net

unread,
Mar 31, 2013, 6:50:32 AM3/31/13
to
On Thu, 14 Mar 2013 03:39:17 -0500, John H Meyers
<jhme...@nomail.invalid> brought the following to our attention:

>> What causes the Filter GUI to crash when dragging entries up or down?
>
>Do you mean that Eudora's built-in "Filters" window crashes,
>or that "EuFO" (an old filter "organizer") crashes?
>
>The most likely suspect would be a corrupt file (filters.pce)
>which is human-readable and has a particular,
>comprehensible structure.
>
>Did corruption begin after starting to use EuFO,
>or are you referring to an old problem you have already had?

Yes.. the Filters window crashes and it's very unproductive and
annoying. I've been in the habit of saving after every single edit by
clicking an adjacent tab to SAVE filters.

Have not used EuFO and cannot seem to find it, or don't understand it
fully. You see, these filters have existed for almost 20 years (~1994
to 2013) and could have gotten corrupted.

-Ed

John H Meyers

unread,
Apr 3, 2013, 7:15:55 AM4/3/13
to
On 3/31/2013 5:40 AM, Ed wrote:

> The Filter interface hasn't crashed one time this morning, however I
> still SAVE changes (clicking an adjacent tab) frequently.. like after
> every edit. How come author didn't put a SAVE or APPLY button for quick
> saves? No biggie tho.

The "Save" main tool button works for me, even for filters:
Customize > File > Save [5th button]

So does Ctrl+S

--

John H Meyers

unread,
Apr 3, 2013, 7:19:28 AM4/3/13
to
On 3/31/2013 5:50 AM, Ed wrote:

> You see, these filters have existed for almost 20 years
> (~1994 to 2013) and could have gotten corrupted.

What was the Eudora version number in 1994?

At any rate, have you reviewed file filters.pce
via a text editor, to look for any obvious corruption?

--

ma...@bkwds.comcast.net

unread,
Apr 5, 2013, 8:24:22 AM4/5/13
to
On Wed, 03 Apr 2013 06:19:28 -0500, John H Meyers
<jhme...@nomail.invalid> brought the following to our attention:

That may take some digging. Those were the days of Win 3.11 or 3.51 with
Trumpet Winsock (Windows didn't have native TCP stack.) The ISP was MAP
or Mallard Access Project. They gave us PC Eudora and WinVN news reader
http://science.ksc.nasa.gov/software/winvn/

The earliest Eudora install file that I have on the Bulk drive is:
ep42b32.exe dated April 1999. It says: v4.2.0.32

The original MAP clients were on 3.5" diskettes and probably RaR'd in a
big archive "DISKETTE ZIPS."

Yes!!
have located the original install file: EUDORA14.EXE, 270KB, Aug-1-94

---------------

I have viewed .pce but not in any detailed way. Also cannot locate the
Eudora filter editor app, or have misplaced it.


-Ed

JJ

unread,
Apr 7, 2013, 4:13:01 AM4/7/13
to
On Fri, 05 Apr 2013 08:24:22 -0400, ma...@bkwds.comcast.net wrote:

>On Wed, 03 Apr 2013 06:19:28 -0500, John H Meyers
><jhme...@nomail.invalid> brought the following to our attention:
>
>>...
>>At any rate, have you reviewed file filters.pce
>>via a text editor, to look for any obvious corruption?
>
>
..........
>
>Yes!!
>have located the original install file: EUDORA14.EXE, 270KB, Aug-1-94


I wasn't able to detect any corruption in my 100+ filters, which began
sending all my new mail to my Junk box back in Novermber. So, for the
last five months I treated Junk as the Inbox. A few days ago I changed
settings on some existing filters and all my new mail started going
Trash!

It was time for drastic action. I went into my Filters and deleted
almost every one that included "Skip Rest/Trash," etc. And guess what?
All new mail is now coming to my Inbox, and addresses I'd color-tagged
and/or .wav-tagged are now working again.

I was probably long overdue for a thorough filter purge, and it
worked. Yes, I'll have to rebuild the filter folder again, but the
good news is we're probably past the "rolex" spam phase. :)

JJ
0 new messages