Print Page | Close Window

Text File Format Questions

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=1191
Printed Date: 05 February 2025 at 9:14am


Topic: Text File Format Questions
Posted By: Desperado
Subject: Text File Format Questions
Date Posted: 30 June 2003 at 5:53pm

Support,

I have a couple of questions that may seem strange, but due to an anoying issue with my SendMail configuration, I need to know what effect some file issues may have.  Some ot the files are actually being shared by both programs so that I only have to configure things in one place.

1. Is there and speed penalty of confusion caused if a whitelist or blacklist file is specified, the file exists, but it  is empty?

2. Is there a problem if there is NO CR/LF after the last entry in ANY of the text files?

3 Is there a problem if there is an EXTRA CR/LF at the end of ANY test file?

4. In the INI file, what happens if there is "white space" after one or more domains in the hosted domains list?  Meaning, spaces on the same line after a domain entry. 

5. If SpamFilter is running, and a domain entry is added to the INI file, will it be detected, will it be ignored or will it break something?

6. In the INI file, what is the "MultiThreaded" option?

7. In the INI file, if I add a seconf DNS server, will it be used, will it be ignored or will it break something?

Thank You,

Dan S.




Replies:
Posted By: LogSat
Date Posted: 30 June 2003 at 9:03pm

Dan,

 

The answers are below.

 

1. Is there and speed penalty of confusion caused if a whitelist or blacklist file is specified, the file exists, but it  is empty?

No problem, you can have files with a 0 size, they will not hurt.

 

2. Is there a problem if there is NO CR/LF after the last entry in ANY of the text files?

Again no problem

 

3 Is there a problem if there is an EXTRA CR/LF at the end of ANY test file?

Again no problem…

 

4. In the INI file, what happens if there is "white space" after one or more domains in the hosted domains list?  Meaning, spaces on the same line after a domain entry.
Ehm… still no problem…

 

5. If SpamFilter is running, and a domain entry is added to the INI file, will it be detected, will it be ignored or will it break something?

You thought this was going to be a piece of cake by now! Nope here. The INI file is read only when the SpamFilter starts. Any changes that are made to it by an external application while SpamFilter is running will be overwritten by SpamFilter when the “Save Settings” is clicked in the GUI.

 

6. In the INI file, what is the "MultiThreaded" option?
Not used. We had tried to have each incoming connection thread spawn separate threads to perform multithreaded DNS lookups. Unbelievable as it seems, this actually hurt performance rather than improving it, so we disabled it, but left the INI option just in case… Each incoming connection uses a separate thread. That same thread performs the sequantial DNS lookups.

 

 

7. In the INI file, if I add a seconf DNS server, will it be used, will it be ignored or will it break something?

It should break things. A 2nd DNS server is not supported yet.

 

Roberto Franceschetti
LogSat Software



Posted By: Desperado
Date Posted: 30 June 2003 at 9:26pm

Roberto,

OK .. Thanks, mostly good news.  What is the chance that the local domains list will be able to be in a stand alone txt file so that it doesn't need to be in the ini file and SpamFilter doesn't need to be restarted.  OR .... What happens if I figure out and way to get the information into the ini file and then I issue a net stop and net start on the service.  The problem is that when we add a new domain to sendmail, or we add a new "mailbag" domain to sendmail, we want it to magically port over to our primary and secondary servers.  We have this with sendmail already using scheduled scripts.  It is just REAL cumbersome to have to make the additions in 2 machines and 4 software configurations.  Something is always forgotten.

This is our only wall to figure an answer to before everything is nice and automatic and the not so technical folks can add and remove domains.

Thoughts?

Dan



Posted By: LogSat
Date Posted: 01 July 2003 at 6:52pm

We'll be moving some more local lists away from the ini to external files very soon, as soon as we take care of some crashes some users are seing.

Roberto




Print Page | Close Window