Print Page | Close Window

New SpamFilter not tagging messages now.

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6401
Printed Date: 05 February 2025 at 1:03pm


Topic: New SpamFilter not tagging messages now.
Posted By: MarkR
Subject: New SpamFilter not tagging messages now.
Date Posted: 27 February 2008 at 11:41am

I upgraded our SpamFilter yesterday to the new version 4.0.0.772.  We use the BlockedIPs list.  Although it appears to still be working, SpamFilter isn't tagging messages anymore with the "X-Rejection-Reason:" on messages it allows through to unfiltered accounts.

I found this out because I use an unfiltered account but to save a step in deleting the unwanted spam, I created a filter for my mail account that moves messages with that tag to my Deleted folder.
 
When I performed the upgrade, I just copied all the win32 files (except the spamfilter.ini file) into the working folder.  Did I miss something?



Replies:
Posted By: LogSat
Date Posted: 27 February 2008 at 10:22pm
MarkR,

The behavior you see is by design. Only if the email will be rejected/quarantined or marked as spam due to one of the many "tag and deliver" options, will that header be added. There were actually a few bugs i previous versions that dealt with the "tag and deliver" options that caused that header to be incorrectly added.

While the blacklisting of the IP initially denotes the email as spam, the fact that there is only one whitelisted recipient causes the email to be delivered and thus marked "clean". Had there been other recipients (not whitelisted), or had SpamFilter be configured to "tag" the email as spam, then in this case the header would be correctly added.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: MarkR
Date Posted: 28 February 2008 at 1:16pm

Okay, I understand why now.  You mentioned that there is a way to "tag and deliver."  If a message is tagged as spam, will it then be delivered to all the "To" addresses or only addresses that are unfiltered?

How do I turn on "tag and deliver?"
 
Thanks!
 
Mark


Posted By: LogSat
Date Posted: 28 February 2008 at 7:51pm
There is a "global" setting for SpamFilter that causes spam emails to be tagged, but I don't think you'll want that in your case.

What you're looking for is probably the following option (quoted from the manual):

Unfiltered Emails - Any local email address listed here will cause SpamFilter to bypass all blacklist rules for it. If you have any users who do not want to have their email filtered, enter them here. Wildcards (* and ?, same rules as DOS wildcards) are allowed. You can also use Regular Expressions (RegEx). This list supports the :TAG option to bypass the default "pass all" rule for entries on this list. If an entry is in the form user@domain1.com:TAGSUBJECT it will cause all emails sent to user@domain1.com to be accepted and then delivered to that user no matter what. However emails that are classified as spam by the various filters will have the prefix "SPAM:" added to the subject line. If an entry is in the form user@domain1.com:TAG it will cause all emails sent to user@domain1.com to be accepted and then delivered to that user no matter what. However emails that are classified as spam by the various filters will have the header "X-SF-SPAM:Y" added to them.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: MarkR
Date Posted: 14 April 2008 at 5:12pm

Well, I do need to know what the global setting is and how to activate it to be able to tag all messages with "X-Rejection-Reason:"

Thanks, 
 
Mark


Posted By: LogSat
Date Posted: 14 April 2008 at 10:41pm
Mark,

The "X-Rejection-Reason:nnn" header is added automatically to all emails detected to be spam.

Additionally, you can configure SpamFilter to "tag" spam emails and to then forward them anyways to your destination SMTP server. The "tag" can either be a "SPAM" prefix added to the subject line (the text can be changed in the SpamFilter.ini file), or the tag can consist of the "SF-SPAM:Y" hidden email header. These two tagging options can be configured via the SpamFilter GUI - see the screenshot at http://www.logsat.com/sfi-spam-filter-screenshots/sfi-filtering-options.asp - www.logsat.com/sfi-spam-filter-screenshots/sfi-filtering-options.asp for the exact location

-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: MarkR
Date Posted: 17 March 2009 at 7:00pm

Well, almost a year later.  Our SpamFilter server crashed & burned (not literally) today.  It was expected as the old server OS was getting flakey.  I discovered sometime after we created it that we had forgotten to load a particular Win2k patch that prevented us from updating our AVG subscription to version 8.  We loaded other programs on the server which probably contributed to its demise but it died and we can now start anew.

I started this thread over an issue we had in trying to upgrade to the latest version of SpamFilter.  The upgrade stopped adding "x-rejection-reason:" to email headers.

I remember a discussion with Roberto where he said that although this was by design, it was also an issue that he determined should be reincorporated in the future, and that a "beta" version had been created that would "fix" the new version.

Since the server bit-the-dust, we started from scratch with all new hardware and a fresh load on Win2k etc.  Now I need that "fix" and I can't remember where it is.  Can you help me?

MarkR



Posted By: LogSat
Date Posted: 17 March 2009 at 8:26pm
MarkR,

If I remember correctly, you're looking for SpamFilter to add the header "X-Rejection-Reason" even if an email is delivered because the recipient is in the list of unfiltered email addresses.
If so, I just verified (had to actually test... didn't remember from memory) that the latest build v4.1.2.805 does add both "X-Rejection-Reason" and the "X-SF-WhiteListedReason" in this scenario.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: MarkR
Date Posted: 18 March 2009 at 2:25pm

Excellent memory!  That is it exactly.  In creating the new server, we used 4.0.1.786 as a new install.  I copied over the necessary configuration/data files from our old server and got it working.  Today, I downloaded the 4.1.2.805 and copied them as directed and everything is working again.  Thanks for your help!

Mark




Print Page | Close Window