RE: Spamassassin Letting a Lot of Spams Through - SpamAssassin

This is a discussion on RE: Spamassassin Letting a Lot of Spams Through - SpamAssassin ; Well you normally need to add in extra rules from rulesemporium.com also. 3.1.7 is ages old (there's surprise for a debian port!) and gting sa-update will help also. I'd check your running rbl's and uri-rbls (check you've got dns checks ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: RE: Spamassassin Letting a Lot of Spams Through

  1. RE: Spamassassin Letting a Lot of Spams Through

    Well you normally need to add in extra rules from rulesemporium.com also. 3.1.7 is ages old (there's surprise for a debian port!) and gting sa-update will help also. I'd check your running rbl's and uri-rbls (check you've got dns checks set and running ok). If you struggle I'll get more info on this when i've better access to my system than a windows mobile pda!

    As for bayes, force the bayes to a globally writable dir, as right now only root can access it!

    --
    martin


    -----Original Message-----
    From: aladdin
    Sent: Sunday, September 14, 2008 6:35 PM
    To: users@spamassassin.apache.org
    Subject: Re: Spamassassin Letting a Lot of Spams Through

    Thanks, Martin, for the reply.

    Well, I guess I get the idea; what that doesn't explain now is why my spam
    scores (on what one would think is really obvious spam) are so low and why
    the log says it can't find the bayes database.

    On Sunday 14 September 2008 12:01, Martin.Hepworth wrote:
    > Hi
    >
    > /usr/share/spamassassin - contains version release time rules, always
    > used unless next dir exists.
    >
    > /var/lib/spamassassin// - contains 'sa-update'ed rules to bring
    > release time rules upto date without needing a full version release
    >
    > /etc/mail/spamassassin - contains site wide rules and settings.
    >
    > ~/.spamassassin contains user specific rules.
    >
    > So copying rules from /usr/share/spamassassin to ~/.spamassassin will
    > achieve nothing.
    >
    > Get the idea now?
    > --
    > martin
    >
    > -----Original Message-----
    > From: aladdin
    > Sent: Sunday, September 14, 2008 3:13 PM
    > To: users@spamassassin.apache.org
    > Subject: Re: Spamassassin Letting a Lot of Spams Through
    >
    > On Sunday 14 September 2008 10:06, aladdin wrote:
    > > On Sunday 14 September 2008 05:07, you wrote:
    > > > On Sun, 2008-09-14 at 01:05 -0400, aladdin wrote:
    > > > > > So, evidently, it can't find my bayes database. So, since I want
    > > > > > to use a system-wide database, where is it
    > > > > > (/usr/share/spamassassin?, which has a lot of likely looking files
    > > > > > in it), and how do I tell spamd to use it?
    > > >
    > > > By default it is in the .spamassassin directory of the user SA runs in.
    > > >
    > > > Using /usr/share/spamassin sounds like a bad idea to me: you're
    > > > attempting to mix site-specific data with system files.
    > > >
    > > >
    > > > Martin

    > >
    > > Hmmm! Oddly enough, that's where apt (the Debian package manager) put
    > > them. So, I guess that leads to two more areas of questions:
    > >
    > > 1. Is there no precedent for stopping spam using system-wide files? I am
    > > almost the sole user of this machine and would like to do this, if it's
    > > possibe. Why would apt put them there otherwise?
    > >
    > > 2. If question one leads to user-specific files & directories, do I just
    > > take the contents of /usr/share/spamassassin and copy it into
    > > ~/.spamassassin? The contents of /usr/share/spamassassin are:
    > > ################################################## #########
    > > total 676
    > > drwxr-xr-x 2 root root 4096 2008-09-07 19:24 ./
    > > drwxr-xr-x 256 root root 12288 2008-09-07 19:24 ../
    > > -rw-r--r-- 1 root root 5681 2007-02-15 00:28 10_misc.cf

    >
    >
    >
    > > -rw-r--r-- 1 root root 18944 2007-02-15 00:28 triplets.txt
    > > -rw-r--r-- 1 root root 1843 2007-02-15 00:28 user_prefs.template
    > > ################################################## ##################
    > > Are these the files to be copied to ~/.spamassassin?

    >
    > As it turns out, I do have a ~/.spamassassin directory. It's current
    > contents are:
    > ################################################## ###############
    > -rw------- 1 anw anw 1306624 2008-09-14 03:38 auto-whitelist
    > -rw------- 1 anw anw 88190 2008-07-28 16:52 bayes_journal
    > -rw------- 1 anw anw 684032 2008-07-28 16:52 bayes_seen
    > -rw------- 1 anw anw 5283840 2008-07-28 16:52 bayes_toks
    > -rw-r--r-- 1 anw anw 1487 2008-07-28 16:52 user_prefs
    > ################################################## ###############
    >
    > Should I just copy the above into it and change the owner/group, and that's
    > how spamassassin is supposed to work?


    --
    Thanks and regards,

    Allen Williams
    Office: +1.321.309.7931
    Mobile: +1.321.258.1272

    ************************************************** ********************
    Confidentiality : This e-mail and any attachments are intended for the
    addressee only and may be confidential. If they come to you in error
    you must take no action based on them, nor must you copy or show them
    to anyone. Please advise the sender by replying to this e-mail
    immediately and then delete the original from your computer.
    Opinion : Any opinions expressed in this e-mail are entirely those of
    the author and unless specifically stated to the contrary, are not
    necessarily those of the author's employer.
    Security Warning : Internet e-mail is not necessarily a secure
    communications medium and can be subject to data corruption. We advise
    that you consider this fact when e-mailing us.
    Viruses : We have taken steps to ensure that this e-mail and any
    attachments are free from known viruses but in keeping with good
    computing practice, you should ensure that they are virus free.

    Red Lion 49 Ltd T/A Solid State Logic
    Registered as a limited company in England and Wales
    (Company No:5362730)
    Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
    United Kingdom
    ************************************************** ********************


  2. Re: Spamassassin Letting a Lot of Spams Through

    Yeah, I'm strugglin'! I'm new to spamassassin, and don't know what rbl's and
    uri-rbl's are, and, if you've had a chance to see further emails, my
    sa-update is broken. When you get to your system, I'd appreciate any further
    insight you may have.

    Thanks!

    On Sunday 14 September 2008 16:21, Martin.Hepworth wrote:
    > Well you normally need to add in extra rules from rulesemporium.com also.
    > 3.1.7 is ages old (there's surprise for a debian port!) and gting sa-update
    > will help also. I'd check your running rbl's and uri-rbls (check you've got
    > dns checks set and running ok). If you struggle I'll get more info on this
    > when i've better access to my system than a windows mobile pda!
    >
    > As for bayes, force the bayes to a globally writable dir, as right now only
    > root can access it!
    >
    > --
    > martin
    >
    >
    > -----Original Message-----
    > From: aladdin
    > Sent: Sunday, September 14, 2008 6:35 PM
    > To: users@spamassassin.apache.org
    > Subject: Re: Spamassassin Letting a Lot of Spams Through
    >
    > Thanks, Martin, for the reply.
    >
    > Well, I guess I get the idea; what that doesn't explain now is why my spam
    > scores (on what one would think is really obvious spam) are so low and why
    > the log says it can't find the bayes database.
    >
    > On Sunday 14 September 2008 12:01, Martin.Hepworth wrote:
    > > Hi
    > >
    > > /usr/share/spamassassin - contains version release time rules, always
    > > used unless next dir exists.
    > >
    > > /var/lib/spamassassin// - contains 'sa-update'ed rules to bring
    > > release time rules upto date without needing a full version release
    > >
    > > /etc/mail/spamassassin - contains site wide rules and settings.
    > >
    > > ~/.spamassassin contains user specific rules.
    > >
    > > So copying rules from /usr/share/spamassassin to ~/.spamassassin will
    > > achieve nothing.
    > >
    > > Get the idea now?
    > > --
    > > martin
    > >
    > > -----Original Message-----
    > > From: aladdin
    > > Sent: Sunday, September 14, 2008 3:13 PM
    > > To: users@spamassassin.apache.org
    > > Subject: Re: Spamassassin Letting a Lot of Spams Through
    > >
    > > On Sunday 14 September 2008 10:06, aladdin wrote:
    > > > On Sunday 14 September 2008 05:07, you wrote:
    > > > > On Sun, 2008-09-14 at 01:05 -0400, aladdin wrote:
    > > > > > > So, evidently, it can't find my bayes database. So, since I want
    > > > > > > to use a system-wide database, where is it
    > > > > > > (/usr/share/spamassassin?, which has a lot of likely looking
    > > > > > > files in it), and how do I tell spamd to use it?
    > > > >
    > > > > By default it is in the .spamassassin directory of the user SA runs
    > > > > in.
    > > > >
    > > > > Using /usr/share/spamassin sounds like a bad idea to me: you're
    > > > > attempting to mix site-specific data with system files.
    > > > >
    > > > >
    > > > > Martin
    > > >
    > > > Hmmm! Oddly enough, that's where apt (the Debian package manager) put
    > > > them. So, I guess that leads to two more areas of questions:
    > > >
    > > > 1. Is there no precedent for stopping spam using system-wide files? I
    > > > am almost the sole user of this machine and would like to do this, if
    > > > it's possibe. Why would apt put them there otherwise?
    > > >
    > > > 2. If question one leads to user-specific files & directories, do I
    > > > just take the contents of /usr/share/spamassassin and copy it into
    > > > ~/.spamassassin? The contents of /usr/share/spamassassin are:
    > > > ################################################## #########
    > > > total 676
    > > > drwxr-xr-x 2 root root 4096 2008-09-07 19:24 ./
    > > > drwxr-xr-x 256 root root 12288 2008-09-07 19:24 ../
    > > > -rw-r--r-- 1 root root 5681 2007-02-15 00:28 10_misc.cf

    > >
    > >
    > >
    > > > -rw-r--r-- 1 root root 18944 2007-02-15 00:28 triplets.txt
    > > > -rw-r--r-- 1 root root 1843 2007-02-15 00:28 user_prefs.template
    > > > ################################################## ##################
    > > > Are these the files to be copied to ~/.spamassassin?

    > >
    > > As it turns out, I do have a ~/.spamassassin directory. It's current
    > > contents are:
    > > ################################################## ###############
    > > -rw------- 1 anw anw 1306624 2008-09-14 03:38 auto-whitelist
    > > -rw------- 1 anw anw 88190 2008-07-28 16:52 bayes_journal
    > > -rw------- 1 anw anw 684032 2008-07-28 16:52 bayes_seen
    > > -rw------- 1 anw anw 5283840 2008-07-28 16:52 bayes_toks
    > > -rw-r--r-- 1 anw anw 1487 2008-07-28 16:52 user_prefs
    > > ################################################## ###############
    > >
    > > Should I just copy the above into it and change the owner/group, and
    > > that's how spamassassin is supposed to work?


    --
    Thanks and regards,

    Allen Williams
    Office: +1.321.309.7931
    Mobile: +1.321.258.1272


+ Reply to Thread