[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [vps-mail] Bayesian AND BlackLists



Thanks for all the info. I think I've figured out what was wrong and will
share it in case others are at the "stumble-around-in-the-dark" level that I
am.

The default install on VPS2 for SA is version 2.43. Bayes doesn't work until
version 2.5ish. We just did an unsanctioned installation of version 2.61.
Now I can see the man sa-learn and others that people were talking about
(not available in the older version).

Since my default email is Outlook (don't ask <sigh>), I forgot that I could
set up IMAP folders, so I've now added my IMAP folders. I dragged over a
thousand of my recent good emails from my inbox to a learnham folder that I
set up in my IMAP folders and a couple of thousand spams into a learnspam
folder. I then ran "sa-learn --spam /home/jimsmith/learnspam" and
"sa-learn --ham /home/jimsmith/learnham" to "teach" the Bayes filter.

The sa-learn --ham /home/jimsmith/learnham kept erroring out with an out of
memory error (likely a few big attachments in my ham file). I tried the
unlimit command but still had the same problem. I split that folder into
learnham and learnham2 and ran it on each and got what I assume is success.
The resultant message each time when I ran spam or ham learning commands on
files with over 1000 messages was:
"Learned from 1 message(s) (1 message(s) examined)."
I thought it only looked at 1 message in that file but, in looking at the
tokens it appears that it did the entire group of emails (someone let me
know if I'm wrong).

I'm still getting spams in my inbox regularly so I don't know if the bayes
filter is making an impact or not yet (still too early). When I get spams in
my inbox now, I empty my learnspam file and then I move the misdirected spam
to the learnspam file and telnet in and run "sa-learn --spam
/home/jimsmith/learnspam" again to add those to the database.

With well over 1000 spam and ham having been learned, I'd hope that I
wouldn't see very many spams in my inbox. I'll have a better grip after
running it for a while.

Meantime, if anyone sees anything that I've done wrong let me know so others
don't repeat my mistakes (and so I can fix them).

Thanks and happy holidays to everyone as appropriate.

Jim Smith


 --------------------------------------------------------
           Jim Smith, Blarneystone, LLC.
  Website Design, Hosting, Development & Enhancement
   E-MAIL:      jimsmith@xxxxxxxxxxxxxxxx
   WEBSITE:     http://www.blarneystone.com
 --------------------------------------------------------


> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx]On
> Behalf Of anon
> Sent: Thursday, December 18, 2003 10:11 AM
> To: vps-mail@xxxxxxxxxxxx
> Subject: Re: [vps-mail] Bayesian AND BlackLists
>
>
> Jim Smith wrote:
> > I just did a vinstall spamassassin and it looks like the installed
> > version is 2.43.
>
> I have 2.55 - you need to look at the spamassassin.org site to see when
> exactly they added the Bayes stuff (or maybe Scott will chime in here)
> but I think it was 2.54!
>
> > When I swapped from VPS1 to VPS2, my quantity of spams noticeably
> > increased which, from reading here and on ProviderTalk, seems to be
> > the norm.
>
> Not for me it wasn't.
>
> > I like 'simple'. You are correct that I'm not using DNSBL unless I'm
> > not aware of it. I checked Google and got 6000 hits to get DNSBL
> > started. Can you give me, or point me to some "fairly simple' steps
> > for getting it up and running?
> I wish I could, but I'm sure someone else can give a more precise answer.
>
>
> > Thanks so much for your reply. I hope my incessant questions aren't
> > what made your PC lock up <grin>.
>
> I try to put back some of the energy I have gained from people helping
> me here and elsewhere.
>
> #cd /etc/mail
>
> The file you need to modify is xyz.securesites.net.mc (assuming
> xyz.securesites.net is your server name)
>
> First SAVE A COPY of the existing file.
>
> In that file you find "DNS based black hole lists" near the top. All of
> this part is commented out. In the file "dnl something dnl"  means
> "Discard to New Line" so any line beginning with dnl is a comment.
>
> As an example you can add
>
> FEATURE(delay_checks)dnl
> FEATURE(`dnsbl', `sbl.spamhaus.org', `Rejected - see
> http://www.spamhaus.org/SBL')dnl
>
> the above should be on 2 lines, not three.
>
> Go look in http://www.sendmail.org at the docs
> there that deal with DNSBL.
>
> after adding the two lines to the file, do this
> make
> make install
> make restart
>
> I hope I haven't forgotten half the facts. You need to try to look this
> stuff up in sendmail and VPS docs.
>
> hth
>
> ======================================================================
> This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
> Before posting a question, please search the archives (see above URL).

======================================================================
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
Match: Format: Sort by:
Search: