So I needed to import a lot of filter

Forum for MailWasher Pro 7 and/or older 2011/2012 versions.
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: So I needed to import a lot of filter

Sat Aug 14, 2010 10:41 am

I was just curious on the colors, not a big deal as you can fix it using the 2010 color picker but I wondered if you'd noticed the limitations I'd seen on the 2010 color selection.

Some of us have been using 2010 for a long time now and it is very different than v6 in the way the tools work. I'd have to agree that some of the methods of setting things aren't obvious or optimum but they are still workable. For a long time I ran both versions and checked back and forth, I still run an old version for spamcop.net reporting. Check back once in a while and see if they get 2010 into a state you prefer to v6, if they do then switch over.
I am not a Firetrust employee just a MW user.
--
First rule of computer consulting: Sell a customer a Linux computer and you'll eat for a day,
sell a customer a Windows computer and you'll eat for a lifetime.
Ira
Travelling Tuatara
Posts: 32
Joined: Fri Aug 13, 2010 12:51 pm

Re: So I needed to import a lot of filter

Sat Aug 14, 2010 11:23 am

Sidewinder wrote: Create a filter using the Spam Tool Rule and set it up for Friends List and put it at the top of the list. Set the Rating to +200 and Never mark for delete.
So I created it, but how do you get a rule from the bottom to the top of the list? At the current rate it will take about 5 minutes to move up 100 filters at 4 seconds per line.

Ira
User avatar
Sidewinder
Weary Womble
Posts: 11676
Joined: Sun Mar 29, 2009 2:05 pm

Re: So I needed to import a lot of filter

Sat Aug 14, 2010 11:35 am

Ira wrote:
Sidewinder wrote: Create a filter using the Spam Tool Rule and set it up for Friends List and put it at the top of the list. Set the Rating to +200 and Never mark for delete.
So I created it, but how do you get a rule from the bottom to the top of the list? At the current rate it will take about 5 minutes to move up 100 filters at 4 seconds per line.

Ira
I don't see that kind of delay here by mouse clicking on the up arrow.
I am not a Firetrust employee. Just a MW User & Volunteer BETA Tester.
Remember "FREEDOM IS NEVER FREE" U.S.N.
DT W7 64 HP SP1 16GB Ram - LT W7 32 HP SP1 4GB Ram - iPad4 64 GB Ram WiFi/Cellular IOS 9.3 Beta 3
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: So I needed to import a lot of filter

Sat Aug 14, 2010 11:38 am

If it is slow moving them try restarting MW and not doing any mail checking, that should get them moving as fast as possible.

It is a shame that the up/down-arrow doesn't auto repeat, my clicky-finger is tired too. I dread doing a new filter and having to click 50 times to move it up. Same issue with moving a rule up, going from position 80 to 5 really bites.
I am not a Firetrust employee just a MW user.
--
First rule of computer consulting: Sell a customer a Linux computer and you'll eat for a day,
sell a customer a Windows computer and you'll eat for a lifetime.
Ira
Travelling Tuatara
Posts: 32
Joined: Fri Aug 13, 2010 12:51 pm

Re: So I needed to import a lot of filter

Sat Aug 14, 2010 11:40 am

If it just instereted the new rule at the current position, it would be so much more useful.

Ira
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: So I needed to import a lot of filter

Sat Aug 14, 2010 12:19 pm

That would be great too, at least you could plan ahead and save 50 or 60 clicks.

I'd like it for filters and for rules as both are less than wonderful now when you add a new one.
I am not a Firetrust employee just a MW user.
--
First rule of computer consulting: Sell a customer a Linux computer and you'll eat for a day,
sell a customer a Windows computer and you'll eat for a lifetime.
ru
rusticdog

Re: So I needed to import a lot of filter

Sat Aug 14, 2010 3:20 pm

We think there's enough differences in the Filtering, both structure and using a different engine, we could never guarantee results. Especially too give all filters now over a message regardless.
Ira
Travelling Tuatara
Posts: 32
Joined: Fri Aug 13, 2010 12:51 pm

Re: So I needed to import a lot of filter

Sun Aug 15, 2010 5:04 am

Well, hopefully my work helps some of your old users. me, I'm removing 2010 and waiting for my refund. Now that it works, it's just so much worse in all ways for what I want.

Ira
ru
rusticdog

Re: So I needed to import a lot of filter

Mon Aug 16, 2010 2:29 pm

Ira wrote:Well, hopefully my work helps some of your old users. me, I'm removing 2010 and waiting for my refund. Now that it works, it's just so much worse in all ways for what I want.

Ira

Can you elaborate on that Ira. Feel free to post here or email us.


Thanks
User avatar
Wizcrafts
Guardian Gecko
Contact:
Location: Flint, Michigan, USA
Posts: 407
Joined: Wed Sep 17, 2008 5:37 am

Re: So I needed to import a lot of filter

Sat Aug 21, 2010 6:37 pm

Ira;
If you read this, you should know that your import tool fails to sanitize angle brackets and ampersands in the Filter name and Filter Description fields. These are illegal characters in the new RegExpr engine and including them causes MWP to either crash, or the filters to be overwritten with the default set of three.

Do not allow these in the name or description (or any conditions): < > & ® © (or any accented letters, like á)

I also found that certain specialty characters cause a crash. Once of them is the Registered symbol. I'm fairly certain the a Copyright circle will also crash MWP. I finally learned this the hard way and converted the Registered mark into its numeric equivalent. ISO codes were rejected.

Also, the converted choked on a filter it did not understand and terminated the conversion prematurely. It took me over an hour to figure out what was causing the hiccup and fix it. The problem filter is working just fine under version 6.x, but needed to be expanded for v2010. Here is the bad condition that crashed the converter during importing:

Code: Select all

[enabled],"No Subject","No Subject",16711680,AND,Delete,Subject,doesn'tContainRE,.
Here is my fixed filter for the new version:

Code: Select all

  <Filter Name="No Subject" Enabled="True">
    <Description>No Subject</Description>
    <MatchAll>True</MatchAll>
    <Rating>-100</Rating>
    <Colour>#FFCC0098</Colour>
    <TextColour>White</TextColour>
    <AutoDelete>False</AutoDelete>
    <Rule>
      <Field>Subject</Field>
      <Operator>NotContain</Operator>
      <Type>RegEx</Type>
      <Expression>.{1,}</Expression>
    </Rule>
Until I changed the Regular Expression from a period only into a .{1,} quantifier, it crashed your converter and ended importing half way through the filter.

Thanks for the great work you have already done on the converter.
Submitted respectfully by Wiz.
Member of the MailWasher Beta Tester Team
Fighting spam by writing, updating and publishing MailWasher Pro custom filters.
See www.wizcrafts.net/mwp-filters.html
gasman
Active Albatross
Posts: 122
Joined: Tue Sep 30, 2008 8:51 am

Re: So I needed to import a lot of filter

Sat Aug 21, 2010 8:53 pm

Sidewinder wrote: Create a filter using the Spam Tool Rule and set it up for Friends List and put it at the top of the list. Set the Rating to +200 and Never mark for delete.
Sidewinder,

How do you point it to the Friends list please?

Not to worry, found the option. :)

TIA
paul.mac
Rattled Rabbit
Posts: 3
Joined: Thu Oct 16, 2008 10:00 am

Re: So I needed to import a lot of filter

Tue Aug 24, 2010 7:38 am

I'm sorry but I don't understand what to do with this filter import tool. I downloaded it and ran it and well nothing, no filters in MW pro at all. Am I missing the obvious?

Thanks

Paul
User avatar
stan_qaz
Omniscient Kiwi
Location: Gilbert, Arizona
Posts: 8671
Joined: Fri Jul 25, 2008 5:13 am

Re: So I needed to import a lot of filter

Tue Aug 24, 2010 7:53 am

Here:
spam-tool-rule-1.png
spam-tool-rule-1.png (12.22 KiB) Viewed 13037 times
I am not a Firetrust employee just a MW user.
--
First rule of computer consulting: Sell a customer a Linux computer and you'll eat for a day,
sell a customer a Windows computer and you'll eat for a lifetime.
User avatar
Sidewinder
Weary Womble
Posts: 11676
Joined: Sun Mar 29, 2009 2:05 pm

Re: So I needed to import a lot of filter

Tue Aug 24, 2010 8:50 am

paul.mac wrote:I'm sorry but I don't understand what to do with this filter import tool. I downloaded it and ran it and well nothing, no filters in MW pro at all. Am I missing the obvious?

Thanks

Paul
I haven't used the tool but reading between the lines I think the tool looks at the V6 filters and performs a change to them and puts the output into a text file at a location of your choosing. You then have to open the output text file in a text editor and copy and paste the data into the filter input screen in MWP 2010.
I am not a Firetrust employee. Just a MW User & Volunteer BETA Tester.
Remember "FREEDOM IS NEVER FREE" U.S.N.
DT W7 64 HP SP1 16GB Ram - LT W7 32 HP SP1 4GB Ram - iPad4 64 GB Ram WiFi/Cellular IOS 9.3 Beta 3
User avatar
Wizcrafts
Guardian Gecko
Contact:
Location: Flint, Michigan, USA
Posts: 407
Joined: Wed Sep 17, 2008 5:37 am

Re: So I needed to import a lot of filter

Tue Aug 24, 2010 9:52 am

paul.mac wrote:I'm sorry but I don't understand what to do with this filter import tool. I downloaded it and ran it and well nothing, no filters in MW pro at all. Am I missing the obvious?

Thanks

Paul
Close MailWasher 2010, if it is open. Run the filter converter. Make sure it has the proper locations for the old and new filters. The old filters are named "filters.txt" and are located in your logged in identity's %AppData%\MailWasherPro directory. The new filters are named "Filters.xml" and are to be located in your logged in identity %AppData%\Firetrust\MailWasher folder. You can open that directory from MWP 2010, via Help > User Files. Rename the default Filters.xml to Filters-default.xml. Be sure MailWasher 2010 is NOT open while you make any direct changes to the Filters file, or they will be overwritten.

As long as you browse to the exact location of your identity's MWP user files, and MWP is closed, the Import converter should save them as Filters.xml.

If the converter shows an error message, assume it coughed on a poorly formed rule and terminated early. That is what happened to me. It took a long time before I figured out why it couldn't process that particular rule, but I fixed it in the end. The converter is a work in progress, by a volunteer.
Submitted respectfully by Wiz.
Member of the MailWasher Beta Tester Team
Fighting spam by writing, updating and publishing MailWasher Pro custom filters.
See www.wizcrafts.net/mwp-filters.html

Return to “MailWasher Pro 7”