Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 24, 2008, 04:45:44 AM


Login with username, password and session length


Pages: 1 ... 14 15 [16] 17   Go Down
  Print  
Author Topic: How-to: Train SpamAssassin - Updated May 30 2007  (Read 46324 times)
w98
Galactic Royalty
*****
Offline Offline

Posts: 438



WWW
« Reply #225 on: October 16, 2007, 08:07:57 AM »

I don't think we can blame LP for this one, I believe it's because of the CPanel upgrade.

Most servers that I personally deal with (I use one, and have several clients I do freelance programming for spread across other servers) all show me the exact same behavior you describe. Our subject rewrites no longer work, they all have "***SPAM***" as a prefix now, regardless of our user_prefs, but this was already explained as something we could not control with the upgrade.

The other one, of course, is the SpamAssassin explanation as to why something was flagged as spam, and using the X-Spam-Status and X-Spam-Report message headers, and the back-end mail filtering seems to ignore the "spam box". Again, I believe this is a change instituted by the whole CPanel/SpamAssassin setup in Cpanel v11. Personally, I'm getting tired of rewriting my code and documentation to all of these changes ;o) It's getting much, much harder to automate the process of taking care of spam.

Personally, I'm just tired of this issue dragging on for so long -- it's been, what, two months now (mid-August!!) -- SpamAssassin *still* stops running every couple of days on my server, and I'll get dozens of spam in my Inbox per day. One of my client ends up with hundreds of spam messages per day when this happens. I've been tempted to watch incoming Emails and send an automated message to support whenever I see that spam scoring is turned off, and requesting it get restarted... but that'd probably get really annoying and LP wouldn't be very happy with me, heh.

I've looked at other third-party filtering but that's just a pain. Unfortunately I have no good answer for you other than to manually move spam messages back into your spam folder manually or set up a mail filter in your own Email client (Outlook, Thunderbird, etc).

I don't think Mitch's response yesterday was accurate -- CPanel 11 has most definitely changed the behavior of SpamAssassin.
Logged

gadgetfan
Intergalactic Cowboy
*****
Offline Offline

Posts: 52


« Reply #226 on: October 16, 2007, 09:55:45 AM »

I've looked at other third-party filtering but that's just a pain. Unfortunately I have no good answer for you other than to manually move spam messages back into your spam folder manually or set up a mail filter in your own Email client (Outlook, Thunderbird, etc).

I was afraid you'd say that Very Happy  No offense intended, your work is much appreciated, but I can't blame you for wanting to give up on this particular project.  I'll disable SA and hope that I start getting spam again (I know, ridiculous Smile ) and do client-side filtering.  My bigger concern is that the spam still may not return.  In the other thread (http://www.lunarforums.com/email_with_your_lunarpages_hosting_plan/recent_change_to_spamassassin-t44092.0.html), someone just noted that they've never had SA enabled and they've seen a marked decline in spam over the last few days too...that brings back my concern about legitimate email being lost.

I don't think Mitch's response yesterday was accurate -- CPanel 11 has most definitely changed the behavior of SpamAssassin.

Well, to be fair, I asked if anything had changed in the past few days.  From what I recall, Mitch is well aware that the cpanel changes in August included notable SA implementation changes.

That said, I'm still not sure that he's correct, since the behavior changes for me and this other poster began only a few days ago.
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 6918



WWW
« Reply #227 on: October 16, 2007, 10:07:57 AM »

Quote
I don't think Mitch's response yesterday was accurate -- CPanel 11 has most definitely changed the behavior of SpamAssassin.

Yeah, usually consider recent being the last few days and not the last few months. Wink  If you want to double check, support should be able to look in on your specific account and give you a little more information than I can over the forum here though.  Very Happy
Logged

w98
Galactic Royalty
*****
Offline Offline

Posts: 438



WWW
« Reply #228 on: October 16, 2007, 01:27:59 PM »

Oh I know for a fact that Email I have routed through LP has gone missing -- my iandouglas.com MX record points to LunarPages, and I've had a number of clients call me asking why I haven't replied to Emails I never received.
Logged

w98
Galactic Royalty
*****
Offline Offline

Posts: 438



WWW
« Reply #229 on: November 15, 2007, 07:54:13 PM »

Hey all, sorry my silence lately. Anyone running the newest version with the flag turned on to check for new versions, I apologize for a script error on my side; I recently moved my iandouglas.com site to a new hosting provider.
Logged

gadgetfan
Intergalactic Cowboy
*****
Offline Offline

Posts: 52


« Reply #230 on: December 20, 2007, 07:25:58 AM »

Hey all, sorry my silence lately. Anyone running the newest version with the flag turned on to check for new versions, I apologize for a script error on my side; I recently moved my iandouglas.com site to a new hosting provider.

Ian - I hadn't run the script in a bit, but this script error seems to be back, just FYI.
Logged
webharvest
Pong! (the videogame) Master
*****
Offline Offline

Posts: 24


WWW
« Reply #231 on: December 21, 2007, 04:16:14 PM »

I get the following error:

Software error:
Could not connect to iandouglas.com to check for a new version of this software.<br />

I hadn't ran the script in awhile.  It use to work but now I get this error.  How do I fix this.

Thanks
Logged

devilkin
Intergalactic Cowboy
*****
Offline Offline

Posts: 60


WWW
« Reply #232 on: December 22, 2007, 02:16:55 AM »

Seems there's a small error in the script: the "re-scan mailboxes" line is missing an " to make the link work. Other than that - thanks Smile
Logged
webharvest
Pong! (the videogame) Master
*****
Offline Offline

Posts: 24


WWW
« Reply #233 on: December 22, 2007, 06:21:59 AM »

Thanks.  Just so everyone is clear line 505 should be

print '<p><a href="/cgi-bin/'.$0.'">re-scan mailboxes</a><br />' ;

Notice the added " prior to the >

Thanks
Logged

w98
Galactic Royalty
*****
Offline Offline

Posts: 438



WWW
« Reply #234 on: December 23, 2007, 07:36:34 AM »

Had an error at iandouglas.com too that was keeping the 'new version check' script from running, sorry 'bout that.

Merry Christmas everyone,
Ian
Logged

w98
Galactic Royalty
*****
Offline Offline

Posts: 438



WWW
« Reply #235 on: March 02, 2008, 05:40:27 PM »

I've added a poll message here in the Email forum about a feature for the next release of the SpamAssassin trainer script. Please check it out and let me know how you'd like to handle Email notification when scanning is completed. I've left the poll open for 30 days, so that should coincide pretty well with an April release of the new script, which will be the same Perl/CGI web-friendly output as it is right now, plus a PHP version for those who hate Perl, plus a Perl version more suitable to automating as a cron job.
Logged

fantasma
Newbie
*
Offline Offline

Posts: 1


« Reply #236 on: March 08, 2008, 05:45:20 AM »

Hi Ian,

Went to your website, and read about your tech background. Thanks for taking the time out of your busy schedule to help with Spam Assassin.  I'm a newb at this, but I managed to get the .cgi updated according to your post.  Since my company has a LP business account, I am overseeing all their email accounts as webmaster.  We have yet to accrue 200 ham mail to the globalham account at the moment, which probably accounts for 0 tokens results when I run the program. 

My question really has to do with the SPAM portion of this.  I think I may have missed the information on setting up the myspam folder. How do we train SA to know what SPAM is?  Do I have to set up a new folder somewhere on the server, or configure it in our control panel?  Confused Do my colleagues have to set up a separate SPAM folder in their email clients i.e. Outlook?

Thanks again for your help and great efforts to help the LP community!   Happy Happy Joy Joy
Logged
w98
Galactic Royalty
*****
Offline Offline

Posts: 438



WWW
« Reply #237 on: March 08, 2008, 10:07:16 AM »

Hi Fantasma,

Yes, you need to configure the script both for a 'ham' folder as well as a 'spam' folder. Ideally, if you call them something like 'scan-ham' and 'scan-spam', the folders will be right next to each other.

When you say the trainer is reporting 0 tokens for ham, do you mean that it learned from 0 messages, or that the reported number at the bottom of the output says 0 ham messages?

It sounds like there might be a configuration problem.

Ian
Logged

Christo
Newbie
*
Offline Offline

Posts: 3


« Reply #238 on: March 27, 2008, 02:39:49 AM »

Hey, what a heck of a nice script!

I am looking at installing it to solve some very annoying spam issues on my domain!!

1. Does anyone know whether it is possible to install the script and have it work without too much hassle, on grafias server ?!

2. Am I the only one that noticed that the command inside the spamassassain area of cpanel to create a spambox, seems NOT to make any new mailbox on the imap folder tree (on grafias) ?!!?!!!?!

3. Why the restriction that you HAVE to run it on the primary domain of the account...??!!  I ask because as it so happens, I use almost EXCLUSIVELY an add-on domain on my account.... the primary domain gets little or no traffic...  Do recent versions of the script let you focus on training SA on an addon domain, rather than on the primary ?!

Great script, looking forward to your replies!!

Christo
Logged
w98
Galactic Royalty
*****
Offline Offline

Posts: 438



WWW
« Reply #239 on: March 27, 2008, 08:10:14 AM »

1. My script is in use on many LunarPages servers as well as other hosting providers who use CPanel, so yes it should work just fine.

2. Flagging CPanel to create the 'spam' folder only allows it to create the folder once a piece of spam has been received. It will not create it for a given account until spam is received at that account.

3. There's an option in the script for add-on domains, but since I don't use add-on domains myself here at LP I haven't thoroughly tested it. If you're willing to help me test it, I'll be happy to help you get up and running. My contact information is at www.iandouglas.com or you can send me a private message here.
Logged

Pages: 1 ... 14 15 [16] 17   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM