Print Page | Close Window

autowhitelistforcedelivery.txt file weird entries

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: http://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7127
Printed Date: 18 November 2017 at 3:26am


Topic: autowhitelistforcedelivery.txt file weird entries
Posted By: Terry
Subject: autowhitelistforcedelivery.txt file weird entries
Date Posted: 03 November 2015 at 8:09pm
Since I upgraded to the newest release...we have been getting some really bizarre entries in our whitelist delivery file...like this:
 

਍ 昀栀㌀樀猀稀渀猀砀渀渀攀樀氀栀⬀爀攀挀攀椀瀀琀猀㴀洀攀猀猀愀最椀渀最⸀猀焀甀愀爀攀甀瀀⸀挀漀洀䀀戀漀甀渀挀攀猀⸀猀焀甀愀爀攀甀瀀⸀挀漀洀簀猀挀漀琀琀⸀猀椀琀渀攀爀䀀瀀漀爀琀漀昀瀀漀爀琀氀愀渀搀⸀挀漀洀ഀഀ
਍㄀ 礀㈀ ㌀㌀䀀猀琀甀⸀栀漀猀攀椀⸀愀挀⸀樀瀀簀樀漀攀⸀洀漀氀氀甀猀欀礀䀀瀀漀爀琀漀昀瀀漀爀琀氀愀渀搀⸀挀漀洀ഀഀ
਍㄀ ㄀㤀㐀 ⴀ爀㌀ⴀ㌀㐀㄀㈀㌀䀀爀攀琀甀爀渀⸀猀愀氀攀猀渀攀砀甀猀⸀挀漀洀簀爀椀挀栀愀爀搀⸀眀栀攀攀氀攀爀䀀瀀漀爀琀漀昀瀀漀爀琀氀愀渀搀⸀挀漀洀ഀഀ
Now our users are complaining about previously whitelisted entries being blocked...what happened here...and there are lots of lines like this in the file...



Replies:
Posted By: LogSat
Date Posted: 03 November 2015 at 9:08pm
Terry,

The file is probably now encoded in unicode UTF16 instead of 8-bit ascii as before, but SpamFilter should be able to read it. Could you please zip it and email it to us at support at logsat dot com so we can double-check?


-------------
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: RobStagg
Date Posted: 05 November 2015 at 10:41am
Were the log files and\or whitelist converted to Unicode as part of the upgrade?  Is there a way to switch it back to ASCII?  This has disabled a downstream process.


Posted By: LogSat
Date Posted: 05 November 2015 at 2:41pm
Starting from v4.6.1.119, SpamFilter supports the use of Unicode in the various blacklists/whitelists, which is very useful as it allows to specify keywords in foreign languages for searches in the subjects and body. As a consequence, SpamFilter's logfile and the various blacklist/whitelist files are now encoded in 16bit Unicode (specifically in UTF16 Little Endian) instead of UTF8.

There is no way to revert to ASCII other than reverting back to a version of SpamFilter prior to 4.6.1.119, and re-encoding the various config files back to ASCII.

As a side-note, we can try to assist with the changes in your coding for the downstream process (to the best of our ability...!). If you want to contact me at support at logsat dot com we can try to help.


-------------
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: tcig
Date Posted: 08 November 2015 at 4:00pm
Made a Little script... it works fine.
 
:: Convert unicode to Ansicode
::  was changed without announcement
md ANSI
 for %%a in (*.log *.?log?) do type "%%a">"ANSI\%%a"
 for %%a in (*.log *.?log?) do attrib -r -h -s "%%a"
cd ANSI
:: for %%a in (*.txt *.?txt?) do move /y "%%a" ..\
cd..
:: rd ANSI



Print Page | Close Window