AGENT FILTER EXPIRY PROBLEM
This year, all current versions of Agent will stop supporting
filters which expire after a number of days.
(Non-expiring filters will still be supported.)
Any Agent filters which are due to expire on or after 6 June 2017
will instead expire today, like there were zero days remaining.
(Only filters which are due to expire on or before 5 June 2017
will expire on the correct day.)
* Today is Tuesday 7 March 2017. Filters can be set to expire
up to 90 days from now, no more. Any filters which would
expire in 91 days or more will instead expire today.
* On Wed 8 March 2017, the maximum is 89 days.
* On Thu 9 March 2017, the maximum is 88 days.
... and so on.
* On Sun 4 June 2017, the maximum is 1 day.
* On Mon 5 June 2017, all expiring filters will expire the same day.
This goes whether or not "of inactivity" is check-marked.
FIX FOR AGENT 8.00
Here is a modification to Agent 8.00 which will keep filter expiry
working for another 22 years.
Please post all questions and discussion about this modification
in this group alt.usenet.offline-reader.forte-agent.modified
and not in the parent group alt.usenet.offline-reader.forte-agent.
I will be posting any further discussion and replies about this
fix in this newsgroup alt.usenet.offline-reader.forte-agent.modified.
PREPARATION
You will need a hex editor to modify agent.exe. For this, I used
HxD from
https://mh-nexus.de/en/hxd/
After modifying agent.exe, you will edit your filters before they
are run and set the expiry days again.
1) To ensure that filters are not run before you edit them, you
may need to:
* Temporarily disable automatic email retrieval;
* Temporarily disable any 3rd-party automation tool that
you use for automatic Usenet retrieval.
2) If you don't remember the expiry days for all of your filters,
now might be the time to make a note.
In case you ever want to go back, back up these files:
-- in the Agent program folder:
agent.exe
-- in the Agent data folder:
FILTERS.IDX
FILTERS.DAT
WORDS.IDX
WORDS.DAT
MFILTERS.IDX
MFILTERS.DAT
MWORDS.IDX
MWORDS.DAT
THE MODIFICATION
1 MODIFY AGENT.EXE
Open Agent 8.00's agent.exe file in your hex editor. Search for
the hex values "C6 45 FC 02 6A 01 6A 01 68 CB 07 00 00 8D 8D 34".
Screen-shot: --->
http://i.imgur.com/31eIP2E.gif
You will find these bytes at offset 003D5AB0:
003D5AB0: C6 45 FC 02 6A 01 6A 01 68 CB 07 00 00 8D 8D 34
When you find it, change the byte at offset 003D5AB9 from
'CB' to 'E1', like this:
Screen-shot: --->
http://i.imgur.com/vXikPUJ.gif
Do not change any other bytes from 'CB' to 'E1'. Change only the
one byte at offset 003D5AB9.
Save the modified agent.exe and replace the original with the mod.
You will use the modified agent.exe for all things from now on.
2 NEXT, EDIT AND ADJUST YOUR FILTERS
Start up the modified Agent. The first thing you will do is edit
all of your filters (both Usenet and email) which have a check-mark
in "Expire this filter after". All your filters that expire will
initially have strange expiry dates. You will be adjusting these
filters to correct the expiry date.
1) If a filter is set to expire but has no check-mark in "of inactivity",
the number of days will be wrong (initially). Manually adjust the
number of days and then click "OK" to save the change.
Screen-shot: --->
http://i.imgur.com/atlztc5.gif
2) If a filter is set to expire and has a check-mark in "of inactivity",
the "days remaining" will be wrong (initially). Just click "OK" to
re-save the filter, and Agent will re-set the "days remaining" for you.
Screen-shot: --->
http://i.imgur.com/HqTmqqZ.gif
You will need to use the modified agent.exe from now on with your
filters.
IF YOU EVER WANT TO GO BACK
A. If you have not added or changed any filters
A.1 Restore the backups of these files: agent.exe, FILTERS.IDX,
FILTERS.DAT, WORDS.IDX, WORDS.DAT, MFILTERS.IDX, MFILTERS.DAT,
MWORDS.IDX, and MWORDS.DAT.
A.2 If it has been more than a day or two, then open and re-save
any filters which have check-marks in both "Expire this filter"
and "of inactivity".
When you restore the old filter files after (say) 20 days, it
will look to Agent as if the filters have been inactive for
(say) 20 days. Filters with "of inactivity" checked might
have zero or near in "days remaining" and be about to expire.
Re-saving these filters will reset the 'days remaining'.
B. If you have made changes to filters which you want to keep, then:
B.1 Restore the original unmodified agent.exe from backup.
(Don't restore the other files.)
B.2 It is extremely important that you edit/adjust your filters
using the unmodified agent.exe BEFORE the filters are run,
that is, BEFORE Agent gets headers, gets email, or applies
filters. Edit/adjust all filters which have a check-mark in
"Expire", both filters with and filters without a check-mark
in "of inactivity".
If you don't edit/adjust your filters, all filters that
expire will expire as soon as they are run (the expiry
dates will have been set backwards by 22 years).
When filters expire, they are deleted.
--
Kind regards
Ralph