Making Rules?

General discussion about PopTray. You love it? You hate it? Talk about it here.

Moderators: KY Dave, jojobear99, Rdsok

Post Reply
Guest

Making Rules?

Post by Guest » Fri Jun 11, 2004 11:22 pm

Hello, all.
I am brand new and my english is not so good as it should be. But i will try. Sorry.
I am a dutch man and I get for almost 99% post with a subject in my own lanquage. So I think, I wil make a rule for some english words as, a, the, me, and, big, bigger etc etc. These words does not excists in my language. And because most of these words (and moreor less, of course) ar sometimes in the subject i will mark them as SPAM.
Whem i try to make rules for this words i have two problems.

1)
Do I have to make for each word 1 rule or can I place/put more words in one and the same rule. And when this is possible, how do I have to write this. For excample (THE, The, the, VIAGRA, Viagra, viagra)

2)
An other problem is that when I make a rule for the word (again for excample --- ump ---) the post wil be marked as SPAM. But when I send myself post with a subject as dump ( my name) it also will be merked as SPAM. Another excample is the word --- have --- pure english. But in holland we have words as --- haven, haver, gehavend, etc, etc.... And this kind of words will also be marked. And that is not the meening.

Who will help me in the right direction. And please, dont use difficult words.
Bye, bye, Dump.

User avatar
Rdsok
PopTray Family
Posts: 1472
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Sat Jun 12, 2004 2:28 am

Hello,

I'll try to use simple words for you, if you have any questions, just ask. I will try to answer them, if I can't help explain it to you, there are several others that may help.

If you have a 3.1 beta version, you can use regular expressions to have one rule test for many things. Regular expressions are a little hard to learn at first, really they look hard but with just a little use they get easier after a little while. To learn more about regular expressions use the following link.

Guide to Write Regular Expression Rules in PopTray

If you not using one of the beta versions or don't use regular expressions, you will have to use one rule per word or phrase. I would warn you against using just one word to mark or deleting something as spam. Let me use the following as an example.

SUBJECT-->CONTAINS--> the

then any word that had 'the' like 'theater' in it somewhere would be marked or deleted. If I had used the letter 'a' like you mentioned, any word with the letter 'a' in it would be marked. So be careful how you make your rules.

TIPS
------
I would suggest trying to use a phrase or sentence just to be safer when you can.

Use the whitelist for emails from people you know. This will help protect emails from them just in case one of your rules isn't written good.

At first, don't have your rules delete automatically, wait until you have tested them a lot.

User avatar
ComputerBob
Guru
Posts: 278
Joined: Sat Jun 14, 2003 5:27 pm
Location: The Gulf Coast of the Sunshine State, USA
Contact:

Post by ComputerBob » Sat Jun 12, 2004 3:47 am

Hey Randy,

I just figured out how you've managed to post over 200 messages here since March of this year.

It's because you help so many people.

8)
ComputerBob - Making Geek-Speak Chic™
http://www.computerbob.com
One Of The Largest One-Person Sites On The Web
With Tons of Information, Software, Help, and Fun

User avatar
Rdsok
PopTray Family
Posts: 1472
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Sat Jun 12, 2004 4:38 am

Well that, and too much spare time at work and home... Luckily it has been picking up a lot lately. It's also one way I can help contribute a little back to what PopTray (ie Renier) has done for me.

dump
Still here
Posts: 5
Joined: Fri Jun 11, 2004 10:56 pm

Post by dump » Sat Jun 12, 2004 7:08 pm

Hello, Rdsok.
Thanks for answering. I have understand the most of what you have said.
I will try the link, but I have still one question. What do you mean with---- Use the whitelist for emails from people you know. This will help protect emails from them just in case one of your rules isn't written good. ------
Sure, I add my friends to the safe list. Do you mean that a friend in de safe list is more important than a rule who is in the subject of a friend?
So the mail will not be marked as SPAM?
Goodbye, Dump.
P.s. I use the version, 3.o.3.

User avatar
Rdsok
PopTray Family
Posts: 1472
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Sat Jun 12, 2004 7:35 pm

Hi dump,

According to the Dutch.ptlang file this is how whitelist is translated..

White List=Veilige lijst

I hope I got the correct one for you there. I can not verify that translation. Safe list is very close so I think we are saying the same thing.

If I understand you correctly, the White List or Veilige lijst will protect your friends email from being marked as spam if a rule would normally mark it as spam.

Guest

Post by Guest » Sat Jun 12, 2004 8:32 pm

Okidoki, you looked for (and find) the wright word. Veilige lijst.
And Yes, we say the same about the rules and the subjects. After my vacation, who begins over 5 days, I will try to make rules.
Thank you for your help and for now, I see you again.
Goodbye, Dump.
The Netherlands, Purmerend.

GaryGo
Enthusiast
Posts: 48
Joined: Mon Mar 29, 2004 7:37 pm
Location: Upstate NY, USA

Post by GaryGo » Tue Jun 15, 2004 3:15 pm

Rdsok wrote:If you are not using one of the beta versions or don't use regular expressions, you will have to use one rule per word or phrase. I would warn you against using just one word to mark or deleting something as spam. Let me use the following as an example.
SUBJECT-->CONTAINS--> the
In 3.0.3 without regular expressions, we can use three rules,
SUBJECT-->WILDCARD--> the *
SUBJECT-->WILDCARD--> * the
SUBJECT-->WILDCARD--> * the *

Note that there is a blank space in these rules. These rules will find a subject that starts with "the", ends with "the", or has "the" in the middle, and these will not catch "mother".

These may still be dangerous rules, but every user has different needs.

Gary

dump
Still here
Posts: 5
Joined: Fri Jun 11, 2004 10:56 pm

Post by dump » Tue Jun 15, 2004 8:30 pm

Sorry, but how can I see that I have the v 3.0.3 without or with regular expression? I ask this so that I am sure that I everything undertstands.
Goodbye, Dump.

User avatar
Rdsok
PopTray Family
Posts: 1472
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Tue Jun 15, 2004 11:03 pm

Version 3.03 does not have regular expressions, only the 3.1 beta version have this option. So you can, if you choose to, use the rules that GaryGo mentions.

dump
Still here
Posts: 5
Joined: Fri Jun 11, 2004 10:56 pm

Post by dump » Wed Jun 16, 2004 1:37 pm

Okay, that is clear. Thanks for all. Tomorrow starts my vacation. I see you later. (much later).
Goodbye, Dump.

GaryGo
Enthusiast
Posts: 48
Joined: Mon Mar 29, 2004 7:37 pm
Location: Upstate NY, USA

Post by GaryGo » Wed Jun 16, 2004 8:25 pm

GaryGo wrote:SUBJECT-->WILDCARD--> the *
SUBJECT-->WILDCARD--> * the
SUBJECT-->WILDCARD--> * the *
Also, note that these rules will not catch
--- I am "the best." ---
because the double-quote does not match a blank space. This is hard to solve without regular expressions. You need multiple rules for every type of punctuation.

But the three blank space rules will catch most of the cases.

Gary

dump
Still here
Posts: 5
Joined: Fri Jun 11, 2004 10:56 pm

Post by dump » Thu Jun 17, 2004 12:13 am

Thanks Garygo, after my vacation I maybe start with your suggestions. For now solong.
Goodbye. Dump.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests