[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vps-mail] SquirrelMail with BayesSpam is ... squirrelly
- Subject: [vps-mail] SquirrelMail with BayesSpam is ... squirrelly
- From: "Jim Smith" <maillists@xxxxxxxxxxxxxxxx>
- Date: Tue, 3 Feb 2004 12:53:36 -0500
I've set up SquirrelMail with BayesSpam and it started working beautifully.
As I added to its database, it got more and more accurate and I got more
excited. However, I noticed as I add more spam/ham, it takes longer and
longer to log in to SquirrelMail (SM). Then I started getting memory error
messages such as the ones below:
==================================
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 60 bytes) in
/usr/local/squirrelmail/plugins/bayesspam/bayesspam_functions.php on line
523
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 0 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 64 bytes) in Unknown on line 0
===================================
Apparently, SM isn't a server-side filter; it doesn't filter until I log in.
When I log in and there are 5-10 messages for it to process, it does so in
10-20 seconds. If there are many more than that, it chokes and I get the
error messages or a "Cannot find server or DNS Error" message. After that,
the only way to access SM is to reboot Apache to get it to work again.
My thought is to cut SM out of the equation altogether since iManager does
everything that SM does (and iManager is much faster). I'm thinking if we
can get Bayes to work server-side on the VPS2 with individual databases for
each mailbox that would be much better. I could get clients to set up IMAP
or go to iManager. They'd have an Inbox, Spam, Maybe-Spam. They'd also have
should_be_spam and should_be_goodmail.
When they get an email that SA has misdirected to their inbox that is spam,
they go to iManager and copy it into their "should_be_spam" folder. If they
get a legit email in their spam folder they'd go to iManager and copy it
into their "should_be_goodmail" folder. There would be a button in iManager
to learn and then delete everything in both of those folders and an
automated cron job that also does so every night.
For someone not wanting to go to iManager, they could do the same thing by
using IMAP through Outlook. They'd just copy the email into the appropriate
folder without needing to get out of their current email program and that
night the updates would take effect.
It all makes sense to me but of course I have no idea how to put the pieces
together <grin>. It sounds like some people have already done similar stuff
but I need help in doing something similar on my server. My clients (and
myself) are getting covered up with spams and it appears that Bayes is the
solution. I just need help getting the solution to work before my clients
start abandoning ship. The antivirus protection is a great selling point
with this latest worm... now I need to have a good antispam solution for
them.
Any help would be appreciated.
Thanks,
Jim Smith
--------------------------------------------------------
Jim Smith, Blarneystone, LLC.
Website Design, Hosting, Development & Enhancement
E-MAIL: jimsmith@xxxxxxxxxxxxxxxx
WEBSITE: http://www.blarneystone.com
--------------------------------------------------------
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index