Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Knuddi on August 17, 2004, 04:04:33 PM

Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 17, 2004, 04:04:33 PM
The SME SpamFilter uses the new SpamAssassinV3 (release candidate 1) engine and has updated Razor2, and DCC network test modules associated. In the new Server-Manager panel it has been made very simple to configure Real Time Block/Black Lists (RBLs), White/Black Lists (WBLs) and other SpamAssasssin functions.  

See HowTo at:
http://sme.swerts-knudsen.dk/howtos/howto_29.htm

Please notice that this is a beta release so I am looking forward to get some feedback.

Rgds,
Jesper Knudsen
http://sme.swerts-knudsen.dk
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: mbachmann on August 17, 2004, 04:21:52 PM
You are pure gold, man. Script tries to uninstall prev. versions - good.

What if i had manually added RBL using Ray Mitchell's Howto here: http://no.longer.valid/phpwiki/index.php/Spam%20blocking%20using%20smtpfront-qmail?
Are  black/whitelist-entries kept from previous versions?
What if delete_junkmail.pl is already running?
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 17, 2004, 04:42:53 PM
The install script will detect and old installation of e-smith-spamassassin and uninstall it properly. The script will then update SpamAssassin and Razor2 and DCC.

The Spam Filter has alse been designed to co-operate with ClamAV (either from my site or Pagefault.org)

The only known issue at the moment is that the daily spam reports might not count RBL rejects correctly.

/Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 17, 2004, 04:45:54 PM
Just noticed your additional questions. You need to configure RBLs again via the panel, old configs will be overwritten (default no RBLs).

You should also delete the delete_junkmail.pl script from the /etc/cron.daily folder (I will update the script to the that soon).

WBLs are also not kept as I have created a new configuration file. You can hack it but I recommend to re-configure.

/Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: arnoldob on August 17, 2004, 06:17:49 PM
Hi,
I just updated from your old version. I'll let you know if I see anything strange happening. Thank you very much for all your work!
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Jon_Reynolds on August 18, 2004, 03:55:04 AM
I too have just updated my spam filter from your old one to the new one. I liked the warning that it gave about finding a previous install, very nice.

On a side note, you always mention about getting rid of double-bounce messages because of dictionary attacks. I have found a contrib that first checks to see if the user exists on the system and if not throws up a 553 error rather than generating a bounce message. That contrib along with your double-bounce info has really reduced the load on my server.

You rock Jesper! Your site has been a very nice addition to my Bookmarks file. Also, I just like sayin "swerts-knudsen dude!" in that California surfer dude style.

Thanks for all your hard work,

Jon
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on August 18, 2004, 06:19:23 AM
Quote from: "Jon_Reynolds"
I have found a contrib that first checks to see if the user exists on the system and if not throws up a 553 error rather than generating a bounce message. That contrib along with your double-bounce info has really reduced the load on my server.


Mind sharing the name of the contrib?

Thanks.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Jon_Reynolds on August 18, 2004, 07:09:38 AM
No I wont share! :)

http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/Mailrules/SME5.6/dmc-mitel-mailrules-0.0.1-7.noarch.rpm

It says 5.6 but I am using 6.01-01 and it is working fine...for me, as always YMMV. Also Russel Nelsons anti-virus patch blocks executable content at the smtp level. This stops a lot of viruses from ever entering your network via email which then means your AV and spam filters do not have to process them. Here is the link to that also in case you would like to look at it. Ray Mitchell wrote this one up, Thanks Ray! This is one of the patches I always put on my qmail servers until I found the joy that is SME.

http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Spam%20blocking%20HOWTO%20using%20smtpfront-qmail%20for%20sme%20server.htm

Jon
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: duncan on August 18, 2004, 10:22:00 AM
I am using an updated version of mailrules from here http://www.dungog.net/sme/files/index.php dungog-mailblocking. Has a few more features.
Title: Re: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on August 18, 2004, 03:41:40 PM
Quote from: "Knuddi"
The SME SpamFilter uses the new SpamAssassinV3 (release candidate 1) engine and has updated Razor2, and DCC network test modules associated.


Jesper,

Using my home SME as my test box at the moment...  Wiped clean last night, reloaded with the custom distribution and promptly installed your Clam and SpamAssassin scripts.  Made double-bounce adjustments, and then followed pagefault.org's secure mail how-to.

No RBL's have been specified, and except for enabling Spam Filter through the web console, settings are default.

I've noticed messages appearing in the Inbox with a spam rating above 15.  I've also noticed nothing hitting my junkmail folder.

In previous posts there is reference to adjusting procmail - manually adding filters.  In your previous SpamAssassin scripts, a console module was installed to enable/disable user access to screens, but I don't see that now.

Once I had everything the way I wanted it, I did restart the server.

Did I goof the install?


Thanks for your time!
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: mbachmann on August 18, 2004, 04:36:37 PM
So tried it out and broke webmail.

Aug 18 16:14:49 nautilus1 HORDE[10182]: [imp] DB Error: connect failed:  [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ** Array [on line 108 of "/home/httpd/html/horde/lib/Prefs/sql.php"]

Also i'm missing the X-Spam-Checker-Version like "X-Spam-Checker-Version SpamAssassin 2.63 (2004-01-11) on servername" in the mail header lines.

spamc -V, spamd -V, Spamassassin -V all show 3.0.0-rc1-r36452.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on August 18, 2004, 04:48:19 PM
Quote from: "mbachmann"
So tried it out and broke webmail.

Aug 18 16:14:49 nautilus1 HORDE[10182]: [imp] DB Error: connect failed:  [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ** Array [on line 108 of "/home/httpd/html/horde/lib/Prefs/sql.php"]

Also i'm missing the X-Spam-Checker-Version like "X-Spam-Checker-Version SpamAssassin 2.63 (2004-01-11) on servername" in the mail header lines.


Just curious - upgrade or clean install?  As previously noted, this is on a clean install.  Web mail is woring, and I do have the X-SPam header:

Code: [Select]
Return-Path: <itiolive@mx18.odartbal.biz>
Delivered-To: edited@interceptor.edited.com
Received: (qmail 23360 invoked by alias); 18 Aug 2004 14:36:47 -0000
Delivered-To: alias-localdelivery-edited@edited.com
Received: (qmail 23357 invoked by uid 101); 18 Aug 2004 14:36:47 -0000
Delivered-To: admin@interceptor.edited.com
Received: (qmail 23355 invoked by alias); 18 Aug 2004 14:36:46 -0000
Delivered-To: alias-localdelivery-admin@edited.com
Received: (qmail 23326 invoked from network); 18 Aug 2004 14:36:41 -0000
Received: from localhost by interceptor.edited.com
with SpamAssassin (version 3.0.0-rc1-r36452);
Wed, 18 Aug 2004 10:36:46 -0400
From: "Source Creations Worldwide" <itiolive@mx18.odartbal.biz>
To: "edited" <edited@edited.com>
Subject: [SPAM 8.6 of 5.0] Brian, Stop collector calls - Immediately
Date: Wed, 18 Aug 2004 07:36:37 -0800
Message-Id: <nfirnhjlwgtngamhggzr@mx18.odartbal.biz>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.0.0-rc1-r36452 (2004-08-16) on
interceptor.edited.com
X-Spam-Status: Yes, score=8.6 required=5.0 tests=BIZ_TLD,DOMAIN_RATIO,
HTML_90_100,HTML_MESSAGE,HTML_WEB_BUGS,MIME_HTML_ONLY,
MSGID_SPAM_LETTERS,RCVD_IN_SBL,URIBL_SBL,URIBL_WS_SURBL autolearn=no
version=3.0.0-rc1-r36452
X-Spam-Level: ********
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_4123697E.0D8764E7"


Obviously this is one of the messages that was delivered to my inbox rather than the junkmail folder.  There are many others like it, but this one is mine.  :-)
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: mbachmann on August 18, 2004, 04:59:46 PM
upgrade from 2.63
He tells me that
spamd (pid 3316 3315 3314 3313 3312 2520) is running.
Code: [Select]
service spamd status: spamd: unrecognized service

I killed all spamd procs, issued an /sbin/e-smith/signal-event post-upgrade, rebooted.

All fine now. Got the headers, webmail working again.

Jesper: you should point out that it is definitely necessary to post-upgrade, reboot.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 18, 2004, 06:12:24 PM
I do not understand why a post upgrade should be nessesary? The service you want to check is actually called "spamassassin" and not spamd even though the process is called spamd (weird but true).

In the new spamfilter I per default enable procmail for all existing users and all new IF they are local users. Remember that procmail cannot filter on users that are just ebing forwarded. Do remember to enable the filter and press the Save/Restart button?

I am sitting in Beijing right and a little long away from home so further investigation will be delayed a few days I am afraid.

/Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: phowardcom on August 18, 2004, 06:17:20 PM
will this spam filter work if I am using the SME server to forward emails to my internal exchange server?

Or will it only work for local mailboxes?
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: albatroz on August 18, 2004, 07:05:50 PM
Dungog.net paid email filtering contrib also comes with a spamassassin 2.6x installation/configuration, I wonder how does your contrib could affect it.

Thanks in advance
Alejandro Lengua
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 19, 2004, 01:24:53 AM
The filter will work just fine but will not sort to junkmail and autodelete above 15. Therefore I would recommend that you disable these values. The result will be that the email will be tagged in the subject field with [SPAM score of sensitivity] when they have been detected as spam.

/Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on August 19, 2004, 04:18:21 AM
Just to be sure I did a signal-event post-upgrade, but my messages marked spam are still hitting the inbox.

Jesper - is there anything I can check or send you that may help, or am I an isolated incident?


Thanks!
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: smeghead on August 19, 2004, 07:02:43 AM
.. had dig through the script and noticed that there are no obvious hooks into the email stream; the old setup used to replace the qmail-queue file with a custom one that called the orig after the spam check.

How is the new setup hooking the email stream?

I use the Dungog a/v stuff and this does it by calling spamassassin via the amavis.conf file if the option is checked on, is this how the new setup works?
Title: Re: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: jmarcosm on August 19, 2004, 11:26:08 PM
Is possible to install this in a 5.6 vers.? I have already installed spamassassin and clamav.

Thanks in advance

Marcos


Quote from: "Knuddi"
The SME SpamFilter uses the new SpamAssassinV3 (release candidate 1) engine and has updated Razor2, and DCC network test modules associated. In the new Server-Manager panel it has been made very simple to configure Real Time Block/Black Lists (RBLs), White/Black Lists (WBLs) and other SpamAssasssin functions.  

See HowTo at:
http://sme.swerts-knudsen.dk/howtos/howto_29.htm

Please notice that this is a beta release so I am looking forward to get some feedback.

Rgds,
Jesper Knudsen
http://sme.swerts-knudsen.dk
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: jmarcosm on August 19, 2004, 11:30:16 PM
Is possible to install this in a 5.6 vers.? I have already installed spamassassin and clamav.

Thanks in advance

Marcos
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Rogue on August 19, 2004, 11:58:38 PM
I have noticed a problem - it seems mail retreived via fetchmail is not being filtered.

I don't know if this is a result of this update, or was happening before, as I have only just added the fetchmail accounts.

Yesterday I received about 500 emails, of which about 300 were spam. The daily report shows only 13 emails, no spam (which is about right for the domain account on the server).

Any ideas on how to get the fetchmail mail filtered through SA?
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 20, 2004, 11:20:43 AM
A few answeres to above questions.

- The SpamFilter will only work on 6.0.x
- The spamfilter hooks into the queue dependant of other installed packages.

1) If pagefault.org's antivirus is installed then is follow the rules set by Damien.

To enable Spamassassin after installing and configuring these packages via the web manager panel at the command line type the commands:

/sbin/e-smith/db configuration setprop amavis-ng qmail-queue /var/qmail/bin/qmail-spamc
/sbin/e-smith/signal-event email-update.

2) If my own ClamAV script is installed then it will change the qmail-queue parameter in the amavis.conf file

3) If none of the above then it will directly hook into the queue system via:

/sbin/e-smith/db configuration setprop smtpfront-qmail ExternalInterfacesFilter /usr/bin/qmail-spamc
/sbin/e-smith/signal-event email-update

I do not know how dungog.net
interacts so I cannot say whether they can work together and how.

With respect to fetchmail then I will try to see how I can get this to work - stay tuned.

Sgt-Spam, I do not understand why you do get your email filtered and they arrive in the inbox. I do enable procmail per default. Could you post or email the procmail file for a given user?

/home/e-smith/files/users/xxx/.procmailrc

/Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on August 20, 2004, 11:58:11 AM
Quote from: "Knuddi"
Sgt-Spam, I do not understand why you do get your email filtered and they arrive in the inbox. I do enable procmail per default. Could you post or email the procmail file for a given user?

/home/e-smith/files/users/xxx/.procmailrc

/Jesper


Actually, I don't have a .procmailrc file (ls -al to show hidden) in any of my accounts.  I even created an account after the fact to see if that would help.

The script I used to install (not sure if it's been updated but I'll try a re-install after I hit 'Submit') is here (http://www.friedhoffservices.com/spamfilter_install.txt).

Thanks for your time!
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 20, 2004, 12:41:21 PM
The script you used is correct and the latest - there is no need to re-install.

I assume that you have enabled the sorting funtions in the spamfilter :-) so my best suggestion would be to try to manually enable procmail. If you have UserPanel installed then try to enable for one user and check the .procmailrc file again.

You can also do the following (also requires usermanager but is easy):

# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"

/Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on August 20, 2004, 01:50:24 PM
Thanks for the advice Jesper.

I downloaded / installed Dungog's userpanel and associated dependencies, then downloaded lat-procmail and executed it as you suggested.

Wa-la - email above the spam threshold is now being filtered to the junkmail folder, and messages marked spam above 15 are being deleted.

I looked back through your how-to and attempted to read the script that runs and did not see mention of the userpanel on the how-to or procmail in the script.  Did I miss a prerequisite (or misread the how-to / script)?  Not trying to be dumb (it comes easy to me) - just want to make sure when I go to load this at the office I've done it the right way.  Your additional steps are no trouble; just want to make sure I don't have any surprises.


Again, thanks, and good work!
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 20, 2004, 03:03:44 PM
Actually I have integrated the vital portions of the UserPanel and Lat-procmail in the spamfilter RPM to avoid having these as required installs.

I guess I have to have a look to see whether something wasn't done right.

Rgds,
Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: mrjhb3 on August 21, 2004, 09:43:30 PM
Jesper,

This is good work, OK great work!  I upgraded SA on one of my test boxes without a hitch.  Up above you state that you will lose your RBL and WBL entries.  Your previous RBL entries really aren't lost until you save/restart on the spamfilter panel the first time.  For the RBL entries, is it possilbe to modify your script to read the output from /sbin/e-smith/db configuration getprop smtpfront-qmail RBLList?  If so, then if there are entries, you could capture them, and import them into /home/e-smith/spamassassin_V3 using  /sbin/e-smith/db spamassassin_V3 set rbl.global \|RBL1\|\RBL2\|.  That way, one wouldn't lose what they already had set.  Or, instead of re-inventing the wheel, just have your panel read the RBLList entries from the smtpfront-qmail property.  Once you save your entries from the spamfilter panel, it updates the entries in both DB's anyway.  For the WBL entries is it possible to modify your script to read the entries in the /home/e-smith/spamassassin DB and extract the entries from wbl.global and put them in /home/e-smith/spamassassin_V3?  That way, those entries are lost as well.  When you upgrade to spamfilter, the previous spamassassin DB still resides on the server.  Just my 2 cents worth.  You have done a great job with putting this together.  I, and the many others that have come to use/test your scripts appreciate your efforts.

Thanks,

JB
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Jon_Reynolds on August 22, 2004, 05:42:02 AM
Hey Jesper,

One thing I have noticed that in the spam report it is not giving a percentage blocked for RBL's. I have watched the log and am seeing 451's so I know it is using them to block but just not recording in the spam result file mailes to the administrator. Is there an easy way to correct this? I am using the new spam filter by you and pagefaults latest AV.

Thanks for any help,

Jon
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on August 23, 2004, 02:26:42 PM
Hi,

I have now released an updated SpamFilter. It can be downloaded at:

# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.1-1.noarch.rpm

Items corrected in RPM:
- Daily spam statistics should now correctly count RBL rejects
- procmail was not always updated correctly leaving tagged emails in inbox rather than being transfers to junkmail
- procmail was not always updated correctly leaving emails with score above 15 left in Inbox

Install script enhancements when upgrading from e-smith-spamassassin (SpamAssassin V2) (done in spamfilter_install.sh)
- WBL are being migrated to SpamFilter
- If RBL list had been installed as per Ray Mitchell's Howto these are migrated to SpamFilter

Rgds,
Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: mbachmann on August 23, 2004, 03:13:02 PM
Works so nice. Hooray for Denmarks Knudsen.

Period Beginning : Fri Aug 20 00:00:03 2004
Period Ending    : Sat Aug 21 00:00:03 2004

Reporting Period : 24.00 hrs
--------------------------------------------------

Total spam rejected   :       84 (  81.55%)
       RBL rejected   :        2 (   1.94%)
Total ham accepted    :       19 (  18.45%)
                        -------------------
Total emails processed:      103 (    4/hr)

Average spam threshold :        7.84
Average spam score     :       30.43
Average ham score      :        1.17
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Jon_Reynolds on August 23, 2004, 10:55:21 PM
First off, Jesper, you rock! Thanks for all the time and effort you put into these contribs of yours and for the excellent howto's you write up for the rest of us. You are a credit to humanity. ;)

A just in case. I have been having a problem with my Primary i-bay asking for username/password. How it changed I have no idea, the last thing I installed was Jespers SA update and ran

/sbin/e-smith/db configuration setprop amavis-ng qmail-queue /var/qmail/bin/qmail-spamc
/sbin/e-smith/signal-event email-update

Because I was using pagefaults AV. I then followed this thread and downloaded and ran:

# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"

After this was done is when I noticed my Primary i-bay asking for a username/password. I found that the /etc/httpd/conf/httpd.conf file had been changed to look like this for the Primary i-bay:

#------------------------------------------------------------
# Primary ibay directories (Primary i-bay)
#------------------------------------------------------------

<Directory /home/e-smith/files/ibays/Primary/html>
    Options Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
#    AuthName "Primary i-bay"
#    AuthType Basic
#    AuthExternal pwauth
#    require user Primary
#    Satisfy all
</Directory>

<Directory /home/e-smith/files/ibays/Primary/cgi-bin>
    Options ExecCGI
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
 #   AuthName "Primary i-bay"
 #   AuthType Basic
 #   AuthExternal pwauth
 #   require user Primary
 #   Satisfy all
</Directory>

<Directory /home/e-smith/files/ibays/Primary/files>
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
 #   AuthName "Primary i-bay"
 #   AuthType Basic
 #   AuthExternal pwauth
 #   require user Primary
 #   Satisfy all
</Directory>

As you can see I commented out the lines that are requiring authentication and now everything is working again.

I am posting this here just in case something happened that might be explainable. I don't see how but just in case.

Thanks Jesper,

Jon
Title: New spam filter
Post by: jmvelez on August 23, 2004, 11:46:31 PM
I installed the spam filter.  I do no know it fetchmail is working since I do not get to much email on that account.  Bitdefender is working.

My question is do I need to make a folder so the spam email goes there.  I am getting emails with Spam message like this [SPAM 6.6 of 5.0] Velez Jose, All-time Low Rates in San Juan 3.26% ......

Thank You
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: 1111 on August 24, 2004, 12:11:33 AM
Jesper,

Since you're generally not using rpm format, could you also publish an uninstall script with each of your contributions? It makes cleaning up a little easier.

Thanks.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: kmccarn on August 24, 2004, 08:32:32 PM
Thanks as always Jesper. (I will be sending $$ after I start upgrading)

1 quick question - is there a limit on the number of entries in the white-list ?? We tend to end up with some very extensive lists.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: edb on August 25, 2004, 06:35:42 AM
Knuddi

I tried to download and install your Spam script as per instructions but I get a connection refused error for all rpms? At the server I type  "sh spamfilter_install.sh" have you changed anything?
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: idyll on August 26, 2004, 02:02:02 AM
I found one small syntactic error in the latest SA script, and have forwarded the information to Jesper.

My system was stock contribs.org, v6.0.1, with only the RBL enabled changes. The volume of SPAM was starting to annoy us so I opted to try (again) Jesper's latest SpamAssassin contrib.

My previous experience with earlier version of this contrib was checkered as it installed in addition to the stock SA and resulted in double tagging and general weirdness. Never could make it behave!

THIS version now works wonderfully after (at least in my instance) I hand-edited the .procmailrc files.

Right after install, this contrib was tagging correctly but sorting nothing. Weird. I found the following "error" in the syntax...

----- snip ------
~/.procmailrc

# -------------------------------------------------------------------------
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to the junkmail folder
# Configured by SME-SpamFilter from sme.swerts-knudsen.dk
# -------------------------------------------------------------------------
:0
* ^X-Spam-Status: Yes
$MAILDIR/;junkmail/

--- snip -----


the correct syntax come into play after changing it to this...

--- snip -----

# -------------------------------------------------------------------------
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to the junkmail folder
# Configured by SME-SpamFilter from sme.swerts-knudsen.dk
# -------------------------------------------------------------------------
:0
* ^X-Spam-Flag: YES
$MAILDIR/;junkmail/

--- snip ----------

I am no procmail expert, so please correct me, but the  envelope information indicates the word "Flag" when it determines a given email is indeed within the defined levels. The word "Flag" and then POSSIBLY having the word YES in all caps (this is where I am unclear) is what fixed my instance.

So, your mileage may vary. It makes our server behave like a champ and I await my first few days' worth of statistics to share.

regards

patrick
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Henk on August 27, 2004, 09:59:05 PM
First of all thanks a lot Knuddi, great contrib. But there are still a few problems.

After installation spam wasn't sorted to the junkmail folder. I tried every possible solution from this topic, but nothing didn't work.

I decided to install the userpanel contrib from http://www.dungog.net/sme/files/userpanel/ and activated procmail for every user (# lat-procmail -c "*|enabled|no|some|normal" ) After that spam is sorted in the junkmail folder!.

Spamsorting doesn't work for the admin account btw, I cannot get that to work.

Newly creating accounts are setup correctly btw, and spam is sorted into the junkmail folder. I didn't check this before installing the userpanel contrib, so I don't know if new account work correctly without that contrib.

Maybe handy to know. I'm using the pagefault antivirus contrib also in this server.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Jon_Reynolds on August 27, 2004, 10:47:59 PM
Here is the output of my spamfilter statistics:


Period Beginning : Thu 26 Aug 2004 12:43:08 PM AKDT
Period Ending    : Fri 27 Aug 2004 12:43:08 PM AKDT

Reporting Period : 24.00 hrs
--------------------------------------------------

Total spam rejected   :     5979 (  97.79%)
       RBL rejected   :     5819 (  95.18%)
Total ham accepted    :      135 (   2.21%)
                        -------------------
Total emails processed:     6114 (  255/hr)

Average spam threshold :        0.24
Average spam score     :        0.50
Average ham score      :       -0.11
---------------------------------------------------

Why does it keep lowering my Averages down? The threshold should be 5 the spam score is .50? Is anybody else seeing this also?

Jon
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: bushinc on September 01, 2004, 08:48:32 PM
> In the new spamfilter I per default enable procmail
> for all existing users and all new IF they are
> local users.

I noticed that you are still changing all local users:
Email Delivery: Both Deliver Locally and Forward
Is this what you mean by enabling procmail on all existing users if they are local?

I didn't notice if it changes for remote only users as well.  This may be an issue with someone who will see lots of mail queue up on their server for users who never check mail.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: trenskow on September 02, 2004, 03:53:20 PM
Hi all
After installing the spam filter, and looking though this thread, i doesnt seem, that my spam filter is removing any spam mails, og isnt showing them in my mrtg page if it does.
http://www.trenskow.dk/mrtg

i have installed user-panel from dungon, and then tried
wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
lat-procmail -c |enabled|

then the ssh prompt gives me
>
and wants me to type something.
I am quite new at linux, so what am i doing wrong?
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: mbachmann on September 03, 2004, 11:54:44 AM
After some days running it shows some broken processes:

ps -A -H

...
0249 ?        00:00:00       pyzor <defunct>
 2956 ?        00:00:45     spamd
10484 ?        00:00:00       pyzor <defunct>
 2957 ?        00:00:41     spamd
10679 ?        00:00:00       dccproc <defunct>
10680 ?        00:00:00       pyzor <defunct>
...

Don't know why, will keep watching.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on September 03, 2004, 01:12:31 PM
Quote from: "trenskow"
Hi all
After installing the spam filter, and looking though this thread, i doesnt seem, that my spam filter is removing any spam mails, og isnt showing them in my mrtg page if it does.
http://www.trenskow.dk/mrtg

i have installed user-panel from dungon, and then tried
wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
lat-procmail -c |enabled|

then the ssh prompt gives me
>
and wants me to type something.
I am quite new at linux, so what am i doing wrong?


Quoted from a previous message:
Quote from: "Knuddi"
The script you used is correct and the latest - there is no need to re-install.

I assume that you have enabled the sorting funtions in the spamfilter  so my best suggestion would be to try to manually enable procmail. If you have UserPanel installed then try to enable for one user and check the .procmailrc file again.

You can also do the following (also requires usermanager but is easy):

# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"

/Jesper


This has actually helped me several times...
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: trenskow on September 03, 2004, 05:43:52 PM
Hi and thanks.

[/quote]# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"
Quote


when i do this, it returns
bash: lat-procmail: command not found
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: trenskow on September 03, 2004, 05:44:19 PM
Hi and thanks.

Quote
# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"


when i do this, it returns
bash: lat-procmail: command not found
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on September 03, 2004, 05:50:56 PM
Quote from: "trenskow"
Hi and thanks.

Quote
# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"


when i do this, it returns
bash: lat-procmail: command not found


lat-procmail will need to be executable (I'm assuming it already is).  If you're in the directory where the program exists, do ./lat-procmail -c "*|enabled|no|some|normal"  Otherwise, you'll need to provide the path to the executable.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Rigger on September 03, 2004, 06:04:07 PM
Getting the following error in the server manager. Installed on a fresh 6.0.1-01 install.

Quote

Spam Filter Settings
Software error:

Can't call method "props" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line 206.

For help, please send mail to the webmaster (admin), giving this error message and the time and date of the error.


Seems to be working as spam is being sorted to junkmail folders but cannot access server panel. Any ideas?

antivirus_install.sh install also before spam filter


Doug M.
"Rigger"
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 03, 2004, 08:28:14 PM
Rigger,

Could you post the content of /home/e-smith/spamassassin_V3 if it exists?

Rgds,
Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: trenskow on September 03, 2004, 08:30:34 PM
Quote from: "sgt-spam"
Quote from: "trenskow"
Hi and thanks.

Quote
# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"


when i do this, it returns
bash: lat-procmail: command not found


lat-procmail will need to be executable (I'm assuming it already is).  If you're in the directory where the program exists, do ./lat-procmail -c "*|enabled|no|some|normal"  Otherwise, you'll need to provide the path to the executable.


hi again, and thanks for taking time helping me.
But am i totally misunderstanding what to do, cause when i go to a user lib, where lat-procmail is, ie. /home/e-smith/files/users/rasmus
and type
./lat-procmail -c "*|enabled|no|some|normal"
i get this error
bash: ./lat-procmail: /usr/bin/perl: bad interpreter: Permission denied

is there something basic here in smeserver, i have missed, or am i just unlucky
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on September 03, 2004, 08:54:01 PM
A few pages back there's a wget statement (posted by Knuddi I believe).  That download's the 'lat-procmail' executable.  You may or may not have to chmod it to make it executable.

After you have the program downloaded, you run:
./lat-procmail -c "*|enabled|no|some|normal"

If you're not running lat-procmail from the directory you downloaded it to, you need to specify the path.

For example, if you downloaded it to /root/, but you're in /home/e-smith/files/users/admin, run:
/root/lat-procmail -c "*|enabled|no|some|normal
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Rigger on September 03, 2004, 09:19:48 PM
Quote from: "Knuddi"
Rigger,

Could you post the content of /home/e-smith/spamassassin_V3 if it exists?

Rgds,
Jesper


The file is there but it is empty.

I'll also note that I did not see any error messages while the install script was running.

Doug M.
"Rigger"
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 03, 2004, 11:19:45 PM
Rigger,

Delete the file and install the SpamFilter again (just the RPM). You might need to remove whatever version you have installed right now with rpm -e


# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.3-1.noarch.rpm

I will dig into how to fix the original problem which I am quite sure has to do with the RBL and WBL migration in the install script.

Rgds,
Jesper
Title: Remove SpamFilter
Post by: Cygnus600 on September 04, 2004, 11:50:13 PM
How do I remove SpamFilter?
Is it sufficient with the command:
rpm -e sme-spamfilter

I have installed SpamFilter 1.0.3-1
Thanks in advance
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 05, 2004, 09:28:23 AM
Yes, for this purpose rpm -e is sufficient. Please make sure to also delete the /home/e-smith/spamassassin_V3 before you do the new install. The SpamFilter creates a default config file upon installation and the reason for the:

Can't call method "props" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line 206

Is due to a failed creation.

You should also be able to just delete the spamassassin_V3 file (no spamfilter removal) and then issue the follwing on the command line:

# /sbin/e-smith/signal-event spamfilter-init-procmail

Check that the spamassassin_V3 file was created in /home/e-smith/spamassassin_V3 and that it contains 3 sections:

conf.global=
rbl.global=
wbl.global=

Rgds,
Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Cygnus600 on September 05, 2004, 09:41:43 AM
Thanks for your reply Knuddi

And a complete uninstall. How do I do that?


Kind regards
Cygnus600
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 05, 2004, 10:13:23 AM
you should be fine with a rpm -e. You should first disable spam filter in server-manager to ensure that its not active.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Cygnus600 on September 05, 2004, 10:18:30 AM
Thank you very much for your quick reply.

Regards
Cygnus600
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: ntblade on September 06, 2004, 09:28:21 PM
Hi,
Thanks for the the great work.
I configured RBL using smtpfront-qmail then the Spam Filter sserver manager panel then the anti Virus server manager panel.

I also do not have x-scanned by spam assasin in my incoming mail headers.  I'm sure I didn't miss any steps.  Where should I look to try and fix this?

Many thanks
NTB
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 06, 2004, 09:38:40 PM
The spamfilter checks how the antivirus filter is configured and hooks itself in behind. You should save the Antivirus data first (in server-manager) and then the spamfilter. The RBLs via smtpfront will be overwritten by the spamfilter so configure that again.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: slicknic on September 07, 2004, 10:56:56 AM
I am running SME server 6.01 with the pagefault antivirus contrib installed. I was running Jespers previous Spamassassin script and at the weekend installed the new V3 one.

However instead of getting the reports sent to my inbox I get the following email....

"Illegal division by zero at /usr/bin/spamfilter-stats.pl line 233."

Could this be a problem with permissions somewhere? I had a look at the spamfilter-stats.pl script and could not make any headway with it.

I would be grateful for any help. My system does seem to be filtering spam and delivering mail all ok though.

Nick
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 07, 2004, 11:20:37 AM
Hi Nick,

I actually just got this error myself this morning and the fix is easy (until I release a new version).

open /usr/bin/spamfilter-stats.pl

go to line 233 and change the "if $total" to "if $spamcount"

my $above15percent = (($above15/$spamcount) * 100) if $spamcount;

Test it by running:

./spamfilter-stats.pl
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: slicknic on September 07, 2004, 11:43:38 AM
Many thanks, that fixed the problem!! :-D
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: gijs on September 07, 2004, 02:40:39 PM
Hi Knuddi!

Thanks a lot for your contrib. It works very fine, but I've got the following:
I can't delete the following RBL's. It give's the message that they are deleted, but they are still in the list.

bl.spamcop.net  
contacts.abuse.net
dynablock.njabl.org
relays.ordb.org
sbl-xbl.spamhaus.org

Where can I delete them manually?

thanks
Gijs
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 07, 2004, 02:48:21 PM
One of the consequences of the RBL migrate bug :-)

You can delete them manually in /home/e-smith/spamassassin_V3

Just leave the:

rbl.global=

/Jesper
Title: SpamAssassin was updated
Post by: Denbert on September 08, 2004, 08:01:17 AM
Hi Jesper,

I’m using your fantastic contrib. with great pleasure.

Yesterday the Spamassasin was updated by cron:

The following updates were downloaded and installed:
  - spamassassin-3.0.0-rc3.i386.rpm
  - spamassassin-tools-3.0.0-rc3.i386.rpm
  - perl-Mail-SpamAssassin-3.0.0-rc3.i386.rpm

regards,
The e-smith-USA script

This morning the Spamassasin was Downgraded by cron???

The following updates were downloaded and installed:
  - spamassassin-3.0.0-rc2.i386.rpm
  - spamassassin-tools-3.0.0-rc2.i386.rpm
  - perl-Mail-SpamAssassin-3.0.0-rc2.i386.rpm

regards,
The e-smith-USA script

Has there been a bug in the rc3 version or is this a bug in the cron script?

Anyway the script works great and are killing more than 100 spam mails a day 

Cheers
Title: Problems installing SA
Post by: edb on September 08, 2004, 06:30:36 PM
SME server v6.0.1
Installed SA as per the first posting in this thread but the installation hung at the very last part. Seen the FAQ that made ref to firewall settings for Razor and Echo so I made the changes and attempted to rerun the install script but I now keep getting error 404 file not found errors. Any ideas what went wrong?
Thanks for any help.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 08, 2004, 10:08:14 PM
Where in the script does it indicate that? Could you post or email the script output?

Rgds,
Jesper
jkn@swerts-knudsen.dk
Title: Re: SpamAssassin was updated
Post by: Michiel on September 08, 2004, 11:50:37 PM
Quote from: "Denbert"
This morning the Spamassasin was Downgraded by cron???

The following updates were downloaded and installed:
  - spamassassin-3.0.0-rc2.i386.rpm
  - spamassassin-tools-3.0.0-rc2.i386.rpm
  - perl-Mail-SpamAssassin-3.0.0-rc2.i386.rpm


This happens if both the old version and the new version are available on Jesper's server. The update script kind of gets confused if it finds an older version, but doesn't really downgrade SA.

I saw Jesper removed the old version, so you shouldn't be seeing that message again.

regards,
Michiel
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: edb on September 10, 2004, 12:47:21 AM
Here is the output: Still not working?

Downloading RPMs from http://sme.swerts-knudsen.dk
Checking for existing installations.... Please wait!
Installing SpamFilter on SME 6.0.....
--09:04:56--  http://sme.swerts-knudsen.dk/downloads/SpamFilter/perl-Mail-SpamAssassin-3.0.0-rc1.i386.rpm
           => perl-Mail-SpamAssassin-3.0.0-rc1.i386.rpm'
Resolving sme.swerts-knudsen.dk... done.
Connecting to sme.swerts-knudsen.dk[192.38.236.80]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:04:56 ERROR 404: Not Found.

--09:04:56--  http://sme.swerts-knudsen.dk/downloads/SpamFilter/spamassassin-tools-3.0.0-rc1.i386.rpm
           => spamassassin-tools-3.0.0-rc1.i386.rpm'
Resolving sme.swerts-knudsen.dk... done.
Connecting to sme.swerts-knudsen.dk[192.38.236.80]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:04:56 ERROR 404: Not Found.

--09:04:56--  http://sme.swerts-knudsen.dk/downloads/SpamFilter/spamassassin-3.0.0-rc1.i386.rpm
           => spamassassin-3.0.0-rc1.i386.rpm'
Resolving sme.swerts-knudsen.dk... done.
Connecting to sme.swerts-knudsen.dk[192.38.236.80]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:04:57 ERROR 404: Not Found.

Retrieving http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.1-1.noarch.rpm
error: skipping http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.1-1.noarch.rpm - transfer failed - Unknown or unexpected error
Installation of SpamFilter complete.
Title: RBL list breaks
Post by: psoren on September 10, 2004, 06:58:46 AM
On my server, if i add "contacts.abuse.net" to the RBL blaclist, then it doesn't reject anymore. Anyone else having that problem?

Per
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 10, 2004, 10:39:32 AM
Hi edb,

You are using a old script trying to download modules no longer there. Download the new spamfiler_install.sh script and try again.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 10, 2004, 02:37:40 PM
To those of you that have problems in getting tagged emails either auto deleted or moved to the junkmail folder when configured in the panel.

I have not yet found out why and where my installations fails but if you enable procmail the hard way for all users you should be fine for now. This can be done this way:

1) Install UserPanel (if you do not already have it installed)
# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/Userpanel/perl-Unicode-String-2.06-1.i386.rpm
# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/Userpanel/perl-Unicode-IMAPUtf7-1.02-1.i386.rpm
# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/Userpanel/e-smith-userpanel-1.6.0-3.noarch.rpm

2) Install Lat-tools
# rpm -Uvh http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/lazy-admin-tools/e-smith-lazy_admin_tools-0.9.0-1.noarch.rpm

3) enable procmail for all users
# lat-procmail -c "*|enable|no|some|normal"
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: edb on September 10, 2004, 06:13:17 PM
Thanks Jesper that did the trick for solving my problems. Thanks again
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: RayG on September 11, 2004, 05:55:29 AM
I did a fresh Contribs SME 6 install this morning. Added a bunch of users with lat-users. And then installed Spamassassin and ClamAV with these great scripts. I then added my custom Spamassassin rules and --linted them to make sure they were ok with 3.0. There were a few minor problems like long descriptions but there was one problem I'm not sure has anything to do with my rules.

I don't remember the exact error message but it's something to the effect of "cannot parse rewrite_subject". Looking at the local.cf file I see "rewrite_subject" on a line with no value after it. For now I'm just deleting that line from the file but it comes back, as expected, every time I make changes in the spamfilter server manager panel. Any ideas where I went wrong in the install or how I might track down and fix the problem ?
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: smeghead on September 11, 2004, 11:41:55 AM
Take a look at:

/etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf

the rewite_subject verb requires an argument of either 0 or 1 (Yes or No).

It will rewite the subject line with the word SPAM if so configured.

A brief synopsis of this a few other salient settings can be found at:

http://www.cs.utah.edu/support/faq/email/spamassassin.html

HTH
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 11, 2004, 07:53:13 PM
Actually the rewrite_subject command has been changed in 3.0 to:

rewrite_header Subject [SPAM _SCORE_ of _REQD_]
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: RayG on September 11, 2004, 10:33:39 PM
Quote from: "Knuddi"
Actually the rewrite_subject command has been changed in 3.0 to:

rewrite_header Subject [SPAM _SCORE_ of _REQD_]


I just read that in the 3.0 rc 4 release notes. So I'm wondering where rewrite_subject is coming from on a fresh SME 6 and spamassassin 3.0 install ?

I've deleted the local.cf file in the custom template directory and the rewrite_subject command is still showing up when I hit the save button in the user panel. I'm having some difficulty finding the template fragments that local.cf is built from. A clue here would be most helpfull.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: RayG on September 11, 2004, 11:01:58 PM
Ok. The "rewrite_subject" with no value seems to be coming from /home/e-smith/spamassassin_V3. What is used to create that file ?

[EDIT]
I did /sbin/e-smith/db spamassassin_V3 delprop conf.global rewrite_subject
and rewrite_subject is removed from the database file. But something is putting it back when I push the "save" button in the spamfilter panel.

[EDIT]
I found the offending line in the spamfilter server manager panel function and commented it out. I delproped rewrite_subject from the spamassassin_V3 database again and then tried the save button in the server manager panel. Rewrite subject is no longer showing up in the database or the local.cf file. Spamassassin --lint comes back clean now. Looks like the problem is solved.

Jesper, would it be appropriate to remove this line for future releases of your fine Spamfilter contrib ?

Am I the only person who --lint's new rules or am I just the only one worrying about the warning that pops up ?
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: mbachmann on September 13, 2004, 02:33:01 PM
Server is still encountering a few -pyzor <defunct> subprocesses sometimes (issue ps -A -H on commandline) but i do not see when and why they are triggered. The big bugger is: spamd eats up all the memory and restarting spamd takes a good 5-10 minutes.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 13, 2004, 02:55:05 PM
Ray,

You are right the SpamFilter does actually write this in the local.cf file. I had removed it when I did a --lint but ?!?"?!? I will release a new version within days that will remove this via the templates (to ensure that all old installations benefit as well).

Thanks,
Jesper
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 13, 2004, 10:05:14 PM
All,

I have now released an updated version of the spam-filter that should remove most (if not all) of the issues noticed in this thread.

See the revision history for details on:

http://sme.swerts-knudsen.dk/howtos/howto_29.htm

for details.

Thanks all of you for your valuable feedback.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: sgt-spam on September 14, 2004, 01:08:09 AM
I started another thread as well in this forum, but wanted to ask for those following here:

Is anyone using MRTG to graph RBL statistics?  I'd like to do that, but am unsure where the RBL stats live, and how to make MRTG read them.


Thanks.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: edb on September 14, 2004, 04:22:08 PM
Anyone know why my Spam filter statistics read: RBL Rejected : 0 (0.00%) yet I have all the suggested RBL sites blocked. Any ideas?

Period Beginning : Mon Sep 13 00:00:01 2004
Period Ending    : Tue Sep 14 00:00:01 2004

Reporting Period : 24.00 hrs
--------------------------------------------------

Total spam rejected   :      407 (  14.68%)
       RBL rejected   :        0 (   0.00%)
Total ham accepted    :     2366 (  85.32%)
                        -------------------
Total emails processed:     2773 (  116/hr)

Average spam threshold :        5.00
Average spam score     :       12.82
Average ham score      :       -0.01
Title: server error
Post by: bjennings on September 15, 2004, 05:02:37 AM
I am getting an internal server error 500 whenever I try to save/restart the spamfilter panel.  Can someone give me a suggestion on where to look for the problem.  I was running dungog's spamassasin rpm....but I don't know if that has anything to do with it or not.  Any help is appreciated.  Thanks
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Rogue on September 15, 2004, 06:31:26 AM
I have noticed that the daily email summary doesn't seem to distribute the emails across the hours properly.

Period Beginning : Tue Sep 14 15:00:04 2004
Period Ending    : Wed Sep 15 15:00:04 2004

Reporting Period : 24.00 hrs
--------------------------------------------------

Total spam rejected   :      187 (  84.62%)
       RBL rejected   :        0 (   0.00%)
Total ham accepted    :       34 (  15.38%)
                        -------------------
Total emails processed:      221 (    9/hr)

Average spam threshold :        8.00
Average spam score     :       18.79
Average ham score      :        1.40


Statistics by Hour
-------------------------------------
Hour                 Spam         Ham
-------------    --------    --------
2004-09-14, 15            14           3
2004-09-14, 16            21           3
2004-09-14, 17            19           4
2004-09-14, 18            27           9
2004-09-14, 19            28           2
2004-09-14, 20            20           5
2004-09-14, 21            24           5
2004-09-14, 22            14           0
2004-09-14, 23            20           3
2004-09-15, 00             0           0
2004-09-15, 01             0           0
2004-09-15, 02             0           0
2004-09-15, 03             0           0
2004-09-15, 04             0           0
2004-09-15, 05             0           0
2004-09-15, 06             0           0
2004-09-15, 07             0           0
2004-09-15, 08             0           0
2004-09-15, 09             0           0
2004-09-15, 10             0           0
2004-09-15, 11             0           0
2004-09-15, 12             0           0
2004-09-15, 13             0           0
2004-09-15, 14             0           0
2004-09-15, 15             0           0

As you can see from teh above email, apparently I only receive email after 3pm, despite my mail server bhaving to the contrary  :-P

Could this have something to do with my timezone (GMT +10 - Sydney, Australia) or some other factor with my setup?
Title: Re: server error
Post by: okepc on September 20, 2004, 10:30:23 AM
Quote from: "bjennings"
I am getting an internal server error 500 whenever I try to save/restart the spamfilter panel.  Can someone give me a suggestion on where to look for the problem.  I was running dungog's spamassasin rpm....but I don't know if that has anything to do with it or not.  Any help is appreciated.  Thanks


Im having this problem too...
Still havent figured out why.
It seems to happen to the user-manager panel too.
Maybe they are written in the same way?
Lots of updates installed offcourse.
Any idea knuddie?

admin_error_log
[Mon Sep 20 04:23:14 2004] spamfilter: Insecure dependency in eval while running with -T switch at /usr/lib/perl5/vendor_perl/5.6.1/Text/Template.pm line 319.
[Mon Sep 20 04:23:14 2004] [error] [client 127.0.0.1] malformed header from script. Bad header=<pre>Insecure dependency in ev: /etc/e-smith/web/panels/manager/cgi-bin/spamfilter
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: okepc on September 20, 2004, 11:46:03 AM
Removed -T switch
Changed -w to -W

Next error is:

[Mon Sep 20 05:44:33 2004] spamfilter: The DB is open read-only at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line 479
[Mon Sep 20 05:44:33 2004] [error] [client 127.0.0.1] malformed header from script. Bad header=<pre>The DB is open read-only : /etc/e-smith/web/panels/manager/cgi-bin/spamfilter
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on September 24, 2004, 12:47:26 PM
I do not understand why the stats are not distributed across all hours. I scan the /var/log/maillog file and use the dates listed there. Check the distribution of hours by doing a:

cat /var/log/maillog | grep spamd

with respect to the line 479 error then I am trying to determine who you want to download spamassassin updated via the USA script. I do not understand why the file should be read-only (/home/e-smith/altiplano)

Generally, then SpamAssassin V3 has been officially released and the install script will now install the final release. If you haven't updated the sme-spamfilter RPM to 1.0.4 then I would recommend you do so:

# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.4-1.noarch.rpm

Have fun,
Jesper
Title: fetchmail / spamassassin
Post by: egerards on September 30, 2004, 11:22:39 AM
I was browsing this topic on my search for a solution for the problem that emails retrieved with fetchmail, were not scanned by Spamassassin (nor Amavis antivirus). I saw I was not the only one and that a solution had not been found yet.

I seem to have found a solution: together with Spamassassin I also have the antivirus panel from knudsen installed. I was 'playing' with the 'Scan incoming / outgoing email' settings and eventually noticed that emails retrieved with fetchmail are only scanned by Spamassassin / Amavis if 'Scan outgoing email' is set to Yes.

The only drawback of this solution is that every outgoing email is scanned, which takes some extra time. But I can live with this...  :-)
Title: Problem with sorting after install
Post by: josht on October 02, 2004, 06:25:04 AM
After rebuilding my server from scratch (I'd upgraded it more times than I'd like to remember, and finally decided to start fresh and clean up things - particularly the email folder structure), I downloaded the current release of the SpamFilter and built it per Jesper's instructions.  I also ran the commands to stop double bounce messages.  Otherwise this is a stock 6.01 from the ISO image.

Anyhow, the error I get is this, as shown in my maillog:

Oct  2 00:03:23 booboo spamd[2650]: connection from localhost [127.0.0.1] at port 32860
Oct  2 00:03:23 booboo spamd[2650]: info: setuid to qmaild succeeded
Oct  2 00:03:23 booboo spamd[2650]: Creating default_prefs [/var/qmail/.spamassassin/user_prefs]
Oct  2 00:03:23 booboo spamd[2650]: Cannot write to /var/qmail/.spamassassin/user_prefs: Permission denied
Oct  2 00:03:23 booboo spamd[2650]: Couldn't create readable default_prefs for [/var/qmail/.spamassassin/user_prefs]
Oct  2 00:03:23 booboo spamd[2650]: processing message <RNZIE8fDQf7ucVQ@moose-mail.com> for qmaild:401.
Oct  2 00:03:26 booboo dccproc[2707]: open(/var/dcc/map): Permission denied
Oct  2 00:03:26 booboo spamd[2650]: identified spam (8.6/5.0) for qmaild:401 in 2.7 seconds, 2660 bytes.
Oct  2 00:03:26 booboo spamd[2650]: result: Y  8 - BIZ_TLD,FRONTPAGE,MISSING_SUBJECT,NO_REAL_NAME,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_BY_IP,RCVD_DOUBLE_IP_SPAM scantime=2.7,size=2660,mid=<RNZIE8fDQf7ucVQ@moose-mail.com>,autolearn=no

This was from a sample spam - and what happens is the spam is identified but not sorted to junkmail like it should be.  I'm assuming I need to fix permissions in the locations specified, but I'm not sure what they will need to be, or if that'll even fix the problem.  Any pointers?
[/quote]
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on October 02, 2004, 09:08:55 AM
josht,

Did you install the spamfilter RPM? The install script within the RPM should set the permissions correct (at least that was the intention).

You can do it manually by:

# Since SpamAssassin is called via Qmail make sure that
# some directories are created via proper rights
/bin/mkdir -p /var/qmail/.spamassassin
/bin/mkdir -p /var/qmail/.pyzor
/bin/mkdir -p /var/qmail/.razor
/bin/chmod 755 /var/qmail/.spamassassin
/bin/chmod 755 /var/qmail/.pyzor
/bin/chmod 755 /var/qmail/.razor
/bin/chown -R qmailq:qmail /var/qmail/.spamassassin
/bin/chown -R qmailq:qmail /var/qmail/.pyzor
/bin/chown -R qmailq:qmail /var/qmail/.razor
Title: Does the RBL list reject work?
Post by: psoren on October 02, 2004, 11:44:23 AM
Is there anyway to test if the rejecting works. Since installing RBL listing, i have never seen any reject message in the log file. I have now installed with knuddis script (great stuff), but the daily reports have never shown any rejecting either.
In MRTG i can see that i get about 6% spam, so there should really be some rejections or....??

Per
Title: Permissions problem
Post by: josht on October 02, 2004, 01:47:27 PM
I installed via your script, so I'm assuming that the RPM was downloaded in the process - the filter is active and is marking spam, just not performing the distributed checks and moving it afterwards.

I ran the last six commands you gave manually - the directories already existed so I didn't re-create them.  I'll see if that worked, because lord knows I get enough spam that I'll have an answer soon.

If you're taking feature requests, I preferred the old markup behavior from 2.5+, where SA added the extra header field rather than rewriting the subject line.  It'd also be nice to see a feature for controlling the Bayes autolearning from within the SpamFighter web interface (maybe if the install script created a default training address?).

Other than this experience, your module has been a terrific help for me and I've used it in several other places - this has been the first difficulty I ever had with any version.
Title: Still no go
Post by: josht on October 02, 2004, 08:33:33 PM
I tried both executing the commands you gave and re-loading the RPM, neither fixed the problem.  Spam continues to be marked up properly in the subject line, but then it's delivered into the Inbox regardless of whether it scores high enough for auto-delete or not.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: pvanassouw on October 13, 2004, 10:10:51 AM
I have the same problem on my 2 servers.
Has anyone already solved the problem.

Oct 12 21:02:52 spambox spamd[28399]: Creating default_prefs [/var/qmail/.spamassassin/user_prefs]
Oct 12 21:02:52 spambox spamd[28399]: Cannot write to /var/qmail/.spamassassin/user_prefs: Permission denied
Oct 12 21:02:52 spambox spamd[28399]: Couldn't create readable default_prefs for [/var/qmail/.spamassassin/user_prefs]
Oct 12 21:02:52 spambox spamd[28399]: processing message <s16c467c.024@mail.myserver.com> for qmaild:401.
Oct 12 21:02:55 spambox dccproc[30588]: open(/var/dcc/map): Permission denied
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on October 13, 2004, 11:38:26 AM
My best suggestion to ensure that marked emails will be autodeleted and/or sorted is to manually enable procmail for all users.

Do you have the UserPanel installed? if so then install also the LAT tools
and do

# lat-procmail -c "*|enabled|no|some|normal"

LAT:
http://sme.swerts-knudsen.dk/downloads/e-smith-lazy_admin_tools-0.9.0-1.noarch.rpm

UserPanel (1.60 for SME 6.0.x):
http://sme.swerts-knudsen.dk/downloads/Userpanel/
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: pvanassouw on October 13, 2004, 11:44:00 AM
Sorry i didn’t mentioned but the server is configured as a delegated mail server.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: pvanassouw on October 13, 2004, 11:46:51 AM
Sorry i didn’t mentioned but the server is configured as a delegated mail server.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Knuddi on October 13, 2004, 08:18:12 PM
And then (as you can read in the FAQ on my site) there can be no filtering done as procmail only works with local users.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: psc on October 16, 2004, 04:29:23 PM
Hi Jesper,

great work, i just have one wish.
I want to redirect spam messages to a specific mail accoutnt instead of the "junkmail" folder.

To do so i modified the "30_spamfilter_sort" templete:
--------------------
        $OUT .= ":0\n";
        $OUT .= "* ^.*X-Spam-Flag: YES\n";
        $OUT .= "! junkmail\@mydom.com\n";
--------------------
Works fine.


Maybe in future versions, you can add this option also.

Thanks
Peter
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: RayG on October 17, 2004, 04:18:01 PM
Quote from: "psc"
great work, i just have one wish.
I want to redirect spam messages to a specific mail accoutnt instead of the "junkmail" folder.

Maybe in future versions, you can add this option also.


I have been doing this for a while too and feel it would be nice to add as an official option.
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: bobk on October 18, 2004, 02:14:32 AM
Knuddi,

Using SME 6.0.1-01 with ClamAV installed from your site.

When installing spamfilter it gives me this error at the end.
Code: [Select]
ERROR: You cannot set a config record without a type.
Installation of SpamFilter complete.


I get this error when accessing the Spam Filter panel.
Quote
Spam Filter Settings
Software error:
Can't call method "props" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line


The file /home/e-smith/spamassassin_V3 is empty. I tried deleting it, stoping spamassassin, removing the spamfilter rpm and then re-installing. I get the same results as above.

Any Ideas?
Title: What is using port 2525????
Post by: TrevorB on October 18, 2004, 05:06:46 AM
Jesper,

I have installed your latest spamassassin contrib and it's working fine. In actual fact it does MORE than I expected, but not sure why.

My ISP blocks port 25 so I have been redirecting 2525 to 25, but this appears to not be necessary anymore...???

I have previously opened port 2525, and now taken the redirect off and my mail is still coming through (I am assuming at the wrong point in the chain). Which particular item is using port 2525 and what am I bypassing?

To get my particular setup working correctly, which config files do I need to change (happy to generate fragments and make it a configurable item if I know which ones...).

TIA
Trevor B
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: lu2fgn on October 18, 2004, 12:59:23 PM
Hi Jesper

Thanks for the grate job.
I am not a big/good programer, I did install the
spamfilter and I am getting these mail every day
to the Admin acount.

Subject: Cron <root@servidor1>    /usr/bin/spamfilter-stats.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>


ERROR: Date::Manip unable to determine TimeZone.
   Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
   Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
   Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
   Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/spamfilter-stats.pl line 317
   main::parse_arg('yesterday', '') called at /usr/bin/spamfilter-stats.pl line 96

Will apreciate any help.
Best regards

Alberto
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: Dirk on October 18, 2004, 09:32:07 PM
Just wanted to share the problems i fixed for myself
regarding the spammassassin problem

Everytime i wanted to save the panel i got a server error 500 this was due to the rpms from the devel directory on ibilio i installed.
When i installed the old e-smith-lib again the problem was gone.
So i replaced all rpms back to the original ones.

For the people that have double spam tags like
[*****SPAM*****(12.5 of 5.0][*****SPAM*****(12.5 of 5.0)] i tracked it down to the .procmailrc file in the user directory that contained the lines;
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
#
:0fw: spamc.lock

Remove it and double tagging is gone.
Well this works for me, hope its helpfull

Dirk
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: edb on October 20, 2004, 12:38:32 AM
Anyone know why every once in awhile the CPU usage rises to 100%. Started for me again on Monday morning.


Active CPU Load %


--------------------------------------------------------------------------------
The statistics were last updated Tuesday, 19 October 2004 at 17:20,
at which time 'mail' had been up for 0:04:02.
--------------------------------------------------------------------------------
Daily' Graph (5 Minute Average)
 Max Active 100.0 %   Average Active 97.0 %   Current Active 99.0 %  

--------------------------------------------------------------------------------
Weekly' Graph (30 Minute Average)
 Max Active 99.0 %   Average Active 51.0 %   Current Active 98.0 %  

--------------------------------------------------------------------------------
Monthly' Graph (2 Hour Average)
 Max Active 99.0 %   Average Active 13.0 %   Current Active 88.0 %

How do I stop this??
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: deunan on October 28, 2004, 08:21:35 PM
Quote from: "lu2fgn"
Hi Jesper
Thanks for the grate job.
I am not a big/good programer, I did install the
spamfilter and I am getting these mail every day
to the Admin acount.
Subject: Cron <root@servidor1>    /usr/bin/spamfilter-stats.pl
<snip>
Alberto


Hi everyone, I am having the same problem as Alberto..

The errors is as follows..

Code: [Select]

Subject: Cron <root@olympus>    /usr/bin/spamfilter-stats.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>

ERROR: Date::Manip unable to determine TimeZone.
Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/spamfilter-stats.pl line 317
main::parse_arg('yesterday', '') called at /usr/bin/spamfilter-stats.pl line 96


I'm running 6.01-01..  Hopefully some would be able to shed some light whether it is something that we have to worry about or not.  Any inputs greatly appreciated!


Sincere regards and thanks!
Title: Not sorting to junk folders
Post by: peter_b_19 on November 04, 2004, 08:53:21 AM
Hi,
I have installed spam assassin and it is working no problems with fetchmail collecting mail from pop3 accounts.  It tags spam subject line with the [SPAM 12.5 of 8.0] but does not sort the mail to the users junk mail or delete even when score it reached.

Is there any way to fix this, i have tried searching but not really found any answers.

I have the current vesion (29-10-2004) from Swerts-Knudsen.dk and calm AV all seems to be working fine, just doesent sort or delete.

Thanks for any help any one can give.

(That is really a great site and great work Jesper.)
Title: [ANNOUNCE]: New Spam Filter Server Manager Module
Post by: marianol on November 16, 2004, 06:56:20 PM
I'm running into the same problems that peterb and deunan have.

I'm running SME 6.0.1  :-D
I've installed the last scripts for spamassasin and calamv from http://sme.swerts-knudsen.dk/

And this are the errors i'm getting from Crondaemon:

------------ :hammer:
From: Cron Daemon [mailto:root_at_publimen.com.ar]
Sent: Martes, 16 de Noviembre de 2004 12:00 a.m.
To: root_at_publimen.com.ar
Subject: Cron <root@tequila> /usr/bin/antivirus-stats.pl


ERROR: Date::Manip unable to determine TimeZone.
   Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
   Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
   Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
   Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/antivirus-stats.pl line 231
   main::parse_arg('yesterday', '') called at /usr/bin/antivirus-stats.pl line 81

------------ :hammer:
From: Cron Daemon [mailto:root_at_publimen.com.ar]
Sent: Martes, 16 de Noviembre de 2004 12:00 a.m.
To: root_at_publimen.com.ar
Subject: Cron <root@tequila> /usr/bin/spamfilter-stats.pl


ERROR: Date::Manip unable to determine TimeZone.
   Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
   Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
   Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
   Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/spamfilter-stats.pl line 319
   main::parse_arg('yesterday', '') called at /usr/bin/spamfilter-stats.pl line 97


----------- :pint:

I have now changed my timezone from the one that my time server (tock.nap.com.ar was giving me ART as my time zone) was giving me to GMT-3 and disabeled the time zone. I did this because the error says that is unable to determine

I will post in a couple of days if something changes.
Title: No luck in changing the timezone...
Post by: marianol on November 23, 2004, 09:49:27 PM
Everythig got really messy.. I'm using a Net time server so I got to change it to manual. I did it an I changed the time from ARG to GMT-3 That is the timezone of Argentina.
After that al my e-mail dates were 3 hours in advance of the current time. Checked and double checked the server time bat the server time was OK.
So, i coudn't wait for the cron jobs to run because this is my production server :-D  and I already got my phone ringging asking why the time of evey mail in the company was wrong  :hammer: .

So I'll try this in a few weeks when I have some time to set up a testing server.


In the mean time I'm still recveiving this two mails:

Quote

-----Original Message-----
From: Cron Daemon [mailto:root_at_publimen.com.ar]
Sent: Martes, 23 de Noviembre de 2004 12:00 a.m.
To: root_at_publimen.com.ar
Subject: Cron <root_at_tequila> /usr/bin/spamfilter-stats.pl


ERROR: Date::Manip unable to determine TimeZone.
   Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
   Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
   Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
   Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/spamfilter-stats.pl line 319
   main::parse_arg('yesterday', '') called at /usr/bin/spamfilter-stats.pl line 97


Quote

-----Original Message-----
From: Cron Daemon [mailto:root_at_publimen.com.ar]
Sent: Martes, 23 de Noviembre de 2004 12:00 a.m.
To: root_at_publimen.com.ar
Subject: Cron <root_at_tequila> /usr/bin/antivirus-stats.pl


ERROR: Date::Manip unable to determine TimeZone.
   Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 629
   Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 747
   Date::Manip::ParseDateString('yesterday') called at /usr/lib/perl5/vendor_perl/5.6.1/Date/Manip.pm line 1683
   Date::Manip::UnixDate('yesterday', '%s') called at /usr/bin/antivirus-stats.pl line 231
   main::parse_arg('yesterday', '') called at /usr/bin/antivirus-stats.pl line 81




See ya...  8-) [/quote]