Kevin A. McGrail wrote:
Not that I am aware of. That sounds more like a style score than
something indicative of spam/ham, though. Have you seen a pattern?
yeah sometimes I get price lists I never asked for from suppliers I've never
heard of and they often use multi-coloured text for
does spamassassin score based on multiple different colours of text used
throughout a spam mail? (eg: a different colour used for each paragraph) if
so, is it possible to tweak the rule and increase that score?
--
View this message in context:
I'm running spamassassin.i386 version 3.3.1-3.el4.rf on centos 4.8 (raq4
server) and I can't get SA to log to syslog. I understand the SA log
defaults to mail but my mail log doesn't show any SA activity. I've got
loadplugin Mail::SpamAssassin::Logger::Syslog in a .pre file. But if I do:#
spamd
Jari Fredriksson wrote:
How do you connect SA to the mail system? The answer depends on that.
I'm using mimedefang-2.70-1.el4.rf. I have the correct 'INPUT_MAIL_FILTER..'
entry in sendmail.mc, no errors with md syntax. sa-mimedefang.cf is all
correct. SA seems to be unaware of the users. I
ps/edit: having looked at the headers of incoming emails it seems that
sendmail is not passing the mail to mimedefang, but I've checked several
times and the INPUT_MAIL_FILTER entry is there and correct in sendmail.mc
--
View this message in context:
I fixed it by cheating. I noticed on another (identical) server the
sendmail.cf was a different size so for some reason restarting sendmail
hadn't been updating the sendmail.cf so I copied the 'old' sendmail.cf over
to the new server and restarted sendmail and now SA is scanning mail
correctly.
Matus UHLAR - fantomas wrote:
do you have network checks enabled? Do you have network plugins (razor,
pyzor, dcc, uribl) loaded? Do you have other plugins (like textcat)
loaded?
no, I am unfamilar with these plugins.
which version of SA do you have installed?
version 3.2.5-1.el4.rf
Kai Schaetzl wrote:
So, how many tokens do you have in your db now?
I hope this command gives the correct answer...
# sa-learn --dump magic
0.000 0 3 0 non-token data: bayes db version
0.000 0514 0 non-token data: nspam
0.000 0
Mikael Syska wrote:
Does it help when you sa-learn the spams ? Does it change the BAYES_
score for that mail ?
I'm going to do another sa-learn when I hit 100 more spams and I'll see then
if it makes a difference. In the meantime I've lowered my hit threshold to
4.
DNS available?
no
--
Kai Schaetzl wrote:
Don't do that.
why not?
--
View this message in context:
http://old.nabble.com/bayes%2C-numbers-of-tokens-and-performance-tp27940005p27946788.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Matus UHLAR - fantomas wrote:
DNS available?
no
well, why? DNS helps very much for catching spam. all blacklists use DNS
(afaik)
sorry, when you said dns I didn't know you were referring to the dnsbl's. I
know the black lists are excellent for filtering spam but I've got those
switched
Kai Schaetzl wrote:
I've been running
with 2 million with no problems.
based on this I see you're right that my db's are tiny and not enough for
the success rate I'm aiming for.
--
View this message in context:
Jason Bertoch-2 wrote:
You should really try to determine why your system isn't
performing well first.
ok I've changed it back to 5
--
View this message in context:
http://old.nabble.com/bayes%2C-numbers-of-tokens-and-performance-tp27940005p27947096.html
Sent from the SpamAssassin - Users
update: after doing some reading on google I found init.pre and added:
loadplugin Mail::SpamAssassin::Plugin::Razor2
and
loadplugin Mail::SpamAssassin::Plugin::Pyzor
and restarted spamassassin.
--
View this message in context:
Yet Another Ninja wrote:
Did you also install the plugins?
These two are not delivered with SA.
I thought they were. In my system I've got:
/var/lib/spamassassin/3.002005/updates_spamassassin_org/25_razor2.cf
/usr/share/spamassassin/25_razor2.cf
and
I've done a bayes learn on 500 spams and 400 hams, my spam hit threshold is 5
and I'm getting a success rate of about 40% in identifying spam, and that's
after doing an sa-update too. I was hoping to get better results than this.
How many spam and ham tokens does SA normally need before it really
it's not 'a' spam I'm referring to, it lots of different spams getting
through to my inbox with only 40% of them being identified as spam. This
strikes me as a poor success rate. What do you mean by 'crappy mail bayes' ?
the bayes learn was done on spam and ham that ended up in my inbox.
--
View
Jari Fredriksson wrote:
That is not the recipe I meant. That calls SA yes, but does not
reject. I can't provide a recipe for procmail as I personally use
maildrop, but the recipe that is needed is one filing the spam to a spam
folder (or /dev/null).
the golden rule for my server is that
Matus UHLAR - fantomas wrote:
you seem to be running mimedefang which takes care about the e-mail. I
have no idea how does mimedefang interact with spamassassin, but I think
you should ask your question in mimedefang mailing list, or at least
search the web for mimedefang and auto-learn.
well this has certainly thrown a spanner in the works and I don't know what
to do next. I was under the impression that sa was scanning my mail and red
flagging any spams, then mimedefang would kick in rejecting the email at
smtp. I'm completely confused now
$ grep add_header
Jari Fredriksson wrote:
How does MimeDefang reject anything if it does not scan it? Your log
header sample looked like it was scanned by MimeDefang. Propably MD
calls SpamAssassin in it's scan process just like amavisd does.
Using a perl package just to reject spam would be an overkill.
Mikael Syska wrote:
[r...@freebsd /]# date -r 1266318121
Tue Feb 16 12:02:01 CET 2010
newsest atime should tell you when it last learned from a message.
thanks for your response, I ran sa-learn --dump magic:
0.000 0 3 0 non-token data: bayes db version
0.000
RW-15 wrote:
On Wed, 17 Feb 2010 00:29:38 +0100
Mikael Syska mik...@syska.dk wrote:
Watching nham, nspam counts is more meaningful.
my nspam and nham counts look the same as they were two weeks ago without
change, which makes me think that bayes isn't learning...
--
View this message in
Arthur Dent-6 wrote:
Try # date -d @1266390928
ah yes thanks Arthur that worked:
[r...@home admin]# date -d @1266390928
Wed Feb 17 07:15:28 GMT 2010
[r...@home admin]#
--
View this message in context:
http://old.nabble.com/is-bayes-learning--tp27616380p27623785.html
Sent from the
Matus UHLAR - fantomas wrote:
you may have autolearn plugin not active. What does X-Spam-Status header
in your mail say?
it says:
X-Spam-Score: 4.463 ()
BAYES_60,HTML_IMAGE_ONLY_24,HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY
X-Scanned-By: MIMEDefang 2.67 on 172.16.1.36
I don't know
I've got a feeling that the spamassassin on my machine is improving in the
way it recognises spam but I'd like to be sure it's not just my imagination.
I did my first manual bayes learn about 2 weeks ago using 200 spams and 200
hams, the process appeared to go properly. I read that autolearn is
David B Funk wrote:
Do this, in a shell, as root, execute the command:
chmod 0777 /var/lib/spamassassin/bayes
David thanks for your help on this. The chmod command has solved the
permission problem. I'm the only user on this server so it shouldn't be too
risky.
--
View this message in
Bowie Bailey wrote:
Check the permissions on the /var/lib/spamassassin/bayes directory and
contents.
Make sure the mimedefang user can read and write to the directory as
well as all of the files.
since I edited the permissions (my previous post) the original error has
gone but is now
Bowie Bailey wrote:
...Check the
permissions on the /var/lib/spamassassin/bayes directory and contents.
Make sure the mimedefang user can read and write to the directory as
well as all of the files.
ok thanks for your response bowie. I looked at the
var/lib/spamassassin/bayes directory in
ever since I did a bayes learn on 200 spams and 200 hams a couple of days ago
I've had the following error appearing in my mail log:
'mimedefang-multiplexor[13951]: Slave 0 stderr: bayes: locker: safe_lock:
cannot create tmp lockfile
/var/lib/spamassassin/bayes/bayes.lock.home.svr5.13952 for
raq550 running strongbolt 2, spamassassin.i386 0:3.2.5-1.el4
I get the following error when trying to do a an sa-learn command:
bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/vendor_perl/5.8.5/Mail
/SpamAssassin/BayesStore/DBM.pm line 196.
Is there a fix for this?
raq550 server
OS: strongbolt2
spamassassin.i386 0:3.2.5-1.el4
I'm trying to run:
sa-learn --spam --showdots --dir /path/to...mbox
but it fails with:
'Learned tokens from 0 message(s) (0 messages examined)'
my spam mail is in a file called mbox but when I run the above command to
the directory
it's okay - I found the solution at:
http://spamassassin.apache.org/full/3.1.x/doc/sa-learn.html
the command needed --mbox to be included. I added this and the learning
worked.
--
View this message in context:
http://old.nabble.com/bayes-learning-%270-messages-found%27-tp27358517p27358559.html
Mark Martinec wrote:
If the argument is a single mbox file, precede it with a --mbox option,
not with --dir .
thanks for your response but I've got a further problem now (I think). I'm
trying to do the same thing with the ham command# sa-learn --showdots --mbox
--ham but nothing's
Bowie Bailey wrote:
So you have to make
sure that when you are testing or learning, you use the same user that
is used in production.
thanks for your response. The only config for my SA is a global one. I'm the
only user so all the settings I've tinkered with are system wide ones. I'm
I have sa version 3.2.5
my autolearn setting always shows as 'no'. Will this eventually come on by
itself or do I need to turn it on?
thanks for any advice.
--
View this message in context:
http://old.nabble.com/is-bayes-enabled-by-default--tp27201682p27201682.html
Sent from the SpamAssassin -
Herbert J. Skuhra wrote:
It would show disabled if use_bayes or use_bayes_autolearn is off.
thanks but in what file would it show this instruction?
I looked in procmailrc, local.cf and 23_bayes.cf - couldn't find anything
which told me whether bayes was enabled or disabled.
--
View this
Kai Schaetzl wrote:
local.cf, if you don't put it in, it won't be there, of course.
that doesn't tell me if bayes is enabled or disabled by default.
Read the documentation:
http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html
the above link shows:
use_bayes ( 0 | 1 )
Herbert J. Skuhra wrote:
You can set use_bayes and bayes_auto_learn to 1 in your local.cf.
so if there is no 'use_bayes' entry in local.cf does that mean bayes is
disabled by default?
--
View this message in context:
Benny Pedersen wrote:
spamassassin 21 -D --lint | less
thanks for this command. It produced quite a long output but some of the
lines were confusing. Regarding bayes I found:
[29394] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[29394] dbg: bayes: no dbs present, cannot
Daryl C. W. O'Shea wrote:
No, bayes is enabled by default provided that you have any required
modules installed.
ok thanks for your feedback Daryl, I think I do have the required modules
installed.
--
View this message in context:
Kai Schaetzl wrote:
Tonjg wrote on Sun, 17 Jan 2010 13:01:14 -0800 (PST):
use_bayes ( 0 | 1 ) (default: 1)
which I think means that even if it's not present in local.cf it's
enabled,
correct me if I'm wrong.
correct. So, this link gave you the answer, right?
But, as I wrote, if you
Benny Pedersen wrote:
ls -l /root/.spamassassin
this command gives:
total 0
--
View this message in context:
http://old.nabble.com/is-bayes-enabled-by-default--tp27201682p27203728.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
R-Elists wrote:
http://lmgtfy.com/?q=sendmail+reject+spam+smtp
wow thanks a million
--
View this message in context:
http://old.nabble.com/newbie%3A-configure-SA-to-reject-spam-tp27149042p27174842.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
David B Funk wrote:
So you need to tell us exactly how you've integrated SA into your sendmail
before we can give you a precise answer.
what I did was edit the local.cf so it contained this:
required_hits 8
rewrite_subject 1
report_header 1
use_terse_report 1
defang_mime 0
report_safe 0
Robert Schetterer wrote:
you can use spamass-milter to reject spam mails over a wanted level
at smtp income stage
how?
how does one use spamass-milter to reject spam mails at smtp income stage?
--
View this message in context:
I'm a newbie to spamassassin, I installed it today on a raq550 running
strongbolt2 which uses sendmail v8.22. I see that spam's are now being
labelled [SPAM] in the subject line but what I want to do is block those
emails from getting to my inbox. What's the next step to refecting those
emails?
On 01/13/2010 07:22 PM, tonjg wrote:
thanks for your response Ned.
your last line describes exactly what I want to do - reject mail, do it at
the smtp stage in sendmail - but I don't know how to achieve this.
--
View this message in context:
http://old.nabble.com/newbie%3A-configure-SA
yes thanks bowie I've managed to integrate SA into sendmail as per the link
you gave but that page has no instructions for how to get sendmail to reject
the spam.
--
View this message in context:
http://old.nabble.com/newbie%3A-configure-SA-to-reject-spam-tp27149042p27152771.html
Sent from the
Kai Schaetzl wrote:
SA does not do this for you. You would need to use some milter or so.
but I thought SA had a way of instructing sendmail to reject/drop the
spam...
--
View this message in context:
http://old.nabble.com/newbie%3A-configure-SA-to-reject-spam-tp27149042p27152807.html
Mike Grau wrote:
Call spamassassin from within a milter.
I'm sorry to be the dumb newbie but how does one call spamassassin from
within a milter?
--
View this message in context:
http://old.nabble.com/newbie%3A-configure-SA-to-reject-spam-tp27149042p27153159.html
Sent from the SpamAssassin
Charles Gregory wrote:
If you are able to scan the mail *during* the SMTP (sendmail) process, you
can issue an 'exit code' to sendmail that will cause sendmail to 'reject'
the mail,
that's exactly what I want, but I can't find any instructions how to do it.
--
View this message in
52 matches
Mail list logo