[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Spamihilator » Thema anzeigen - Rule Filter Information

Rule Filter Information

For all users, who don't speak German!

Moderator: Forum-Team

Rule Filter Information

Beitragvon boat_broker » 9. Mär 2010, 19:28

I have Spami 9.9.53 and am trying to use the Rule Filter to delete any email with a blank "Re" or "Fwd" subject line. Is there a symbol or command for Spami to recognise a "blank" or an empty space? I would want it to pass along an email that had the subject "Re: Words" but to mark "Re: " as spam. I woud expect that the blank area could be one or more characters that were "invisable", though I suspect that they are just a blank field.

I checked the Wiki and noticed that there were no instructions for the Rule Filter. Is there any other resource to check?

Thanks
Mike
boat_broker
Spam-Jäger
Spam-Jäger
 
Beiträge: 18
Registriert: 16. Mär 2006, 22:24

Re: Rule Filter Information

Beitragvon Chactory » 9. Mär 2010, 20:31

Hi Mike!

Perhaps you can define your demanded rule with a regular expression. Please read about regexes in the .

Regards, Chactory

Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 9612
Registriert: 9. Jan 2004, 23:19
Wohnort: Kiel (D)

Re: Rule Filter Information

Beitragvon boat_broker » 27. Mär 2010, 20:00

Thanks Chactory,

I had considered using Regular Expressions before but I was too lazy to try and learn how they worked. When I saw the new “Rules” Section I was kind of hoping that it might do the same thing easier. However, I have yet to see any update on just how to use the Rules Section. Is there any discussion of that section or instructions for that section?

Getting back to regular expressions. After playing around with them for a while I believe that the RegEx \b[Rr][Ee]\b:\s\B will do what I was asking, to knock out any email with a blank after the “Re:” while not eliminating a message with a word after the blank. I extrapolated this to Fw: and Fwd: as well (\b[Ff][Ww]\b:\s\B and \b[Rr][Ee]\b:\s\B) so I believe that I am covered. Comments would be welcome.

It looks like the Rules Section may allow me to use RegExs in specific areas of an email (ie Subject or body, etc). I am looking forward to exploring the potential of this "wizard".

While this note was responding to Chactory, any responses would be welcome.

Mike
boat_broker
Spam-Jäger
Spam-Jäger
 
Beiträge: 18
Registriert: 16. Mär 2006, 22:24

Re: Rule Filter Information

Beitragvon Quellcore » 28. Mär 2010, 20:21

CPU: (@ 45*100 = 4500 MHz)
Board:
Ram: 16GB (Timings 10-10-10-28 2T @ 1866 MHz)
SSD:
HDD-1: WD Caviar® SE16 640 GB, SATA2, 16 MB Cache, 7200 RPM
HDD-2: SAMSUNG EcoGreen F4 ST2000DL004 2TB 32MB Cache
Graphic: ATI Radeon HD 5850

Win 7 Ultimate 64-Bit / ESET NOD32 Antivirus 8.0 / Firefox 34 / Thunderbird 31
Spamihilator 1.6.0
Benutzeravatar
Quellcore
Assistent
Assistent
 
Beta-Tester
 
Beiträge: 1706
Registriert: 8. Mai 2004, 13:03
Wohnort: Long Island / USA

Re: Rule Filter Information

Beitragvon Chactory » 28. Mär 2010, 23:06

Hi boat_broker and Quellcore!

This discussion is becoming more and more excellent! :)

Hmm ... how I understand it, Mike was searching for a RegEx, which will recognize a subject line containing the "RE:" passus only. So he seems to have searched for something like a negation with a RegEx, sort of "nothing more follows". That's why he was trying out the "\B", which meant to recognize that no word follows. Until now, I have no idea how to describe with a RegEx, that the subject contains "RE:", and nothing more ...

Cheers, Chactory

Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 9612
Registriert: 9. Jan 2004, 23:19
Wohnort: Kiel (D)

Re: Rule Filter Information

Beitragvon Quellcore » 28. Mär 2010, 23:23

Dateianhänge
Rule.png
Rule.png (10.95 KiB) 7385-mal betrachtet
Zuletzt geändert von Quellcore am 28. Mär 2010, 23:28, insgesamt 1-mal geändert.
CPU: (@ 45*100 = 4500 MHz)
Board:
Ram: 16GB (Timings 10-10-10-28 2T @ 1866 MHz)
SSD:
HDD-1: WD Caviar® SE16 640 GB, SATA2, 16 MB Cache, 7200 RPM
HDD-2: SAMSUNG EcoGreen F4 ST2000DL004 2TB 32MB Cache
Graphic: ATI Radeon HD 5850

Win 7 Ultimate 64-Bit / ESET NOD32 Antivirus 8.0 / Firefox 34 / Thunderbird 31
Spamihilator 1.6.0
Benutzeravatar
Quellcore
Assistent
Assistent
 
Beta-Tester
 
Beiträge: 1706
Registriert: 8. Mai 2004, 13:03
Wohnort: Long Island / USA

Re: Rule Filter Information

Beitragvon Chactory » 28. Mär 2010, 23:26


Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 9612
Registriert: 9. Jan 2004, 23:19
Wohnort: Kiel (D)

Re: Rule Filter Information

Beitragvon boat_broker » 30. Mär 2010, 15:36

Quellcore,

Thanks for your expansive reply. I am still trying to digest it.

I believe that you correctly identified my intent with \b[Rr][Ee]\b:\s\B. However, with the RegEx Coach VM it does seem to work. It recognizes "Re:" and "Re: " and "Re: " (a re followed by a tab). At the same time it passes "Re: boats" and "Re:boats". So far, all is good.

I will let you know if I change anything and I will go back to my formula and try to explain my reasoning. I do need to review the "anchor" concept that you mentioned. I should also note that I came up with this as an entry into the Spam Words file not the Rule Filter. I believe that it will be the same in the Rule Filter but it should be a little more precise.

Thank you so much for the time you put into your reply. It was way more than I had hoped.

Mike
boat_broker
Spam-Jäger
Spam-Jäger
 
Beiträge: 18
Registriert: 16. Mär 2006, 22:24

Re: Rule Filter Information

Beitragvon boat_broker » 31. Mär 2010, 00:04

Quellcore,

I’ve been pecking away at this today and my head is spinning. I am curious if the virtual machine that you are using is available. I have been getting different results than you mention (or I am interpreting them incorrectly) when I use by Edi Weitz that is mentioned in the Spamihilator Wiki

Thanks,
Mike
boat_broker
Spam-Jäger
Spam-Jäger
 
Beiträge: 18
Registriert: 16. Mär 2006, 22:24

Re: Rule Filter Information

Beitragvon Quellcore » 31. Mär 2010, 03:24

CPU: (@ 45*100 = 4500 MHz)
Board:
Ram: 16GB (Timings 10-10-10-28 2T @ 1866 MHz)
SSD:
HDD-1: WD Caviar® SE16 640 GB, SATA2, 16 MB Cache, 7200 RPM
HDD-2: SAMSUNG EcoGreen F4 ST2000DL004 2TB 32MB Cache
Graphic: ATI Radeon HD 5850

Win 7 Ultimate 64-Bit / ESET NOD32 Antivirus 8.0 / Firefox 34 / Thunderbird 31
Spamihilator 1.6.0
Benutzeravatar
Quellcore
Assistent
Assistent
 
Beta-Tester
 
Beiträge: 1706
Registriert: 8. Mai 2004, 13:03
Wohnort: Long Island / USA

Re: Rule Filter Information

Beitragvon boat_broker » 31. Mär 2010, 17:19

Thanks Quellcore,

I downloaded the QuickREx program that you linked to and went to set it up. However, in the Global Flags section I found the check box for the "ORO Perl Flags (Case insensitive)" but not for "Jakarta ORO Perl". There is one for "Jakarta-Regexp Flags (Case insensitive) (Multiline)", is that what you were referring to?

Out of curiosity, how did you determine to select those two implementations?

Obviously, I'm going to have to send myself some emails. My RegEx seemed to be working in my Spami but maybe it was focused on something else. Like you mentioned, the two different RegEx engines give me different results.

Mike
boat_broker
Spam-Jäger
Spam-Jäger
 
Beiträge: 18
Registriert: 16. Mär 2006, 22:24

Re: Rule Filter Information

Beitragvon Quellcore » 1. Apr 2010, 02:45

Dateianhänge
QuickREx_01.png
QuickREx_01.png (5.01 KiB) 7343-mal betrachtet
CPU: (@ 45*100 = 4500 MHz)
Board:
Ram: 16GB (Timings 10-10-10-28 2T @ 1866 MHz)
SSD:
HDD-1: WD Caviar® SE16 640 GB, SATA2, 16 MB Cache, 7200 RPM
HDD-2: SAMSUNG EcoGreen F4 ST2000DL004 2TB 32MB Cache
Graphic: ATI Radeon HD 5850

Win 7 Ultimate 64-Bit / ESET NOD32 Antivirus 8.0 / Firefox 34 / Thunderbird 31
Spamihilator 1.6.0
Benutzeravatar
Quellcore
Assistent
Assistent
 
Beta-Tester
 
Beiträge: 1706
Registriert: 8. Mai 2004, 13:03
Wohnort: Long Island / USA

Re: Rule Filter Information

Beitragvon Chactory » 1. Apr 2010, 07:32


Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 9612
Registriert: 9. Jan 2004, 23:19
Wohnort: Kiel (D)

Re: Rule Filter Information

Beitragvon Quellcore » 1. Apr 2010, 11:16

Hallo Chactory!

at the very bottom, you might have to unfold "Global Flags" ;-)

Gruß
Quellcore
CPU: (@ 45*100 = 4500 MHz)
Board:
Ram: 16GB (Timings 10-10-10-28 2T @ 1866 MHz)
SSD:
HDD-1: WD Caviar® SE16 640 GB, SATA2, 16 MB Cache, 7200 RPM
HDD-2: SAMSUNG EcoGreen F4 ST2000DL004 2TB 32MB Cache
Graphic: ATI Radeon HD 5850

Win 7 Ultimate 64-Bit / ESET NOD32 Antivirus 8.0 / Firefox 34 / Thunderbird 31
Spamihilator 1.6.0
Benutzeravatar
Quellcore
Assistent
Assistent
 
Beta-Tester
 
Beiträge: 1706
Registriert: 8. Mai 2004, 13:03
Wohnort: Long Island / USA

Re: Rule Filter Information

Beitragvon Quellcore » 2. Apr 2010, 05:08

CPU: (@ 45*100 = 4500 MHz)
Board:
Ram: 16GB (Timings 10-10-10-28 2T @ 1866 MHz)
SSD:
HDD-1: WD Caviar® SE16 640 GB, SATA2, 16 MB Cache, 7200 RPM
HDD-2: SAMSUNG EcoGreen F4 ST2000DL004 2TB 32MB Cache
Graphic: ATI Radeon HD 5850

Win 7 Ultimate 64-Bit / ESET NOD32 Antivirus 8.0 / Firefox 34 / Thunderbird 31
Spamihilator 1.6.0
Benutzeravatar
Quellcore
Assistent
Assistent
 
Beta-Tester
 
Beiträge: 1706
Registriert: 8. Mai 2004, 13:03
Wohnort: Long Island / USA

Nächste

Zurück zu English Forum

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 9 Gäste

cron

 industrious-southeast