antispamsniper.com Forum Index antispamsniper.com
The reliable anti-spam protection
 
 FAQFAQ   SearchSearch     ProfileProfile   Log inLog in   RegisterRegister 

Query: Rule Syntax and White Server

 
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat!
View previous topic :: View next topic  
Author Message
GJim



Joined: 07 Feb 2007
Posts: 5

PostPosted: Thu Feb 08, 2007 2:45 pm    Post subject: Query: Rule Syntax and White Server Reply with quote

I've been through the help sections of ASS and TheBat!, and can't find the exact syntax that I need to use for some White-Rules.

Here is an example:

Header{To} =~ "@googlegroups.com"

I'm wanting to mark, as HAM, any message coming in with '*@googlegroups.com' anywhere in the 'To:' section of the message.

I've also tried using paren characters rather than quotation marks. These rules don't seem to be executing; need to know how to write these.

Also, a lot of SPAM messages are being passes as HAM with the reason shown as 'White server: (my mail server)'.

I've only been using this a bit over 1 day, so I realize the the SPAM base needs further training to be effective, but why is ASS marking messages as HAM merely because they come from my mail server ..... all my messages come from there. That shouldn't be a valid reason for marking a message as HAM.

I read the note, in the Beta forum, regarding the White Server issue. I did delete, and reload, the mail servers; the reload was through the automated process. The reload did not fix this issue.

AtDhVaAnNkCsE

G'Jim c):{-
Back to top
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 748

PostPosted: Thu Feb 08, 2007 5:18 pm    Post subject: Re: Query: Rule Syntax and White Server Reply with quote

GJim wrote:
I've been through the help sections of ASS and TheBat!, and can't find the exact syntax that I need to use for some White-Rules.

Here is an example:

Header{To} =~ "@googlegroups.com"

I'm wanting to mark, as HAM, any message coming in with '*@googlegroups.com' anywhere in the 'To:' section of the message.

I've also tried using paren characters rather than quotation marks. These rules don't seem to be executing; need to know how to write these.

You should remove the quotes from your expression to make it work:
Header{To} =~ @googlegroups\.com
Also '.' is a special symbol in regular expressions, used as a replacement of any other symbol. It acts as a usual dot when it is quoted with slash.

GJim wrote:

Also, a lot of SPAM messages are being passes as HAM with the reason shown as 'White server: (my mail server)'.

I've only been using this a bit over 1 day, so I realize the the SPAM base needs further training to be effective, but why is ASS marking messages as HAM merely because they come from my mail server ..... all my messages come from there. That shouldn't be a valid reason for marking a message as HAM.

I read the note, in the Beta forum, regarding the White Server issue. I did delete, and reload, the mail servers; the reload was through the automated process. The reload did not fix this issue.

The messages are marked as ham with a reason "White server" only in one case: there is an account on Servers page with a filtering mode "Do not filter the messages received from this server". This mode applies to all mailboxes on specified server. So if some account is marked with this mode, then all other mailboxes on that server will have it too. Check the list of accounts and change the filtering mode for servers you want to be filtered. If you need the plug-in to avoid filtering spam from some mailbox, then you can add a white rule:
Header{Received} =~ mailbox@server\.com
or
Header{Delivered-To} =~ mailbox@server\.com
Back to top
View user's profile Send private message Send e-mail
GJim



Joined: 07 Feb 2007
Posts: 5

PostPosted: Thu Feb 08, 2007 6:07 pm    Post subject: Re: Query: Rule Syntax and White Server Reply with quote

vetaltm wrote:
The messages are marked as ham with a reason "White server" only in one case: there is an account on Servers page with a filtering mode "Do not filter the messages received from this server". This mode applies to all mailboxes on specified server. So if some account is marked with this mode, then all other mailboxes on that server will have it too. Check the list of accounts and change the filtering mode for servers you want to be filtered.


I have all my EMail accounts (8 accounts across 2 servers) marked as 'Filter messages on server only'. Still, I get the 'White Server' reason in the log. I even re-booted TheBat! after making sure that all the accounts were so marked; still getting 'White Server'.

Using version 1.8.0.8 (demo).

Thanks for the help on the White Rules syntax.

G'Jim c):{-
Back to top
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 748

PostPosted: Thu Feb 08, 2007 6:46 pm    Post subject: Re: Query: Rule Syntax and White Server Reply with quote

GJim wrote:

I have all my EMail accounts (8 accounts across 2 servers) marked as 'Filter messages on server only'. Still, I get the 'White Server' reason in the log. I even re-booted TheBat! after making sure that all the accounts were so marked; still getting 'White Server'.

For account with filtering mode 'Filter messages on server only' the plugin filters the messages only by headers on the server. The messages, recognized as spam by headers, are deleted from server and the rest of them are downloaded to email client and not filtered by other client-side methods. In this case the corresponding log records also contain a reason 'White server', sorry for the confusion. If you want the plugin to filter the downloaded messages by content on the client, then you should set the filtering mode 'Filter messages on server by headers, then on client' for the accounts.
Back to top
View user's profile Send private message Send e-mail
GJim



Joined: 07 Feb 2007
Posts: 5

PostPosted: Thu Feb 08, 2007 8:20 pm    Post subject: Reply with quote

Yep, that worked!

And White Rules are working now, too.

Thanks!

G'Jim c):{-
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group