Cronjob with sa-learn

2006-11-29 Thread Markus Braun
Hello, i tried to create a cron job to add spam messages as spamemails. The following command : 0 1 * * * vmail sa-learn --spam /var/opt/vmail/.info/oliver/Maildir/.spam/cur *.* But i get this retourn: archive-iterator: readdir found no mail in 'domain1.de' directory

Re: Spam

2006-11-03 Thread Markus Braun
http://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html#item_clear_report_template Thanks about the link. i will take a look at this the next days. But can i something more do, agains the spam problem? Marcus

Re: Spam

2006-11-03 Thread Markus Braun
you will get a format that's more suitable to put in the headers. What do you mean, whaat this two options do, i found nothing on the spamassassin site. At the moment i use bayes and the emails are marked like this in the header: But some emails come through the spamassasin filter like this

Ham Learning

2006-11-03 Thread Markus Braun
Hello, when i learn with sa-learn some emails as ham i get this error message: Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/share/perl5/Mail/SpamAssassin/HTML.pm line 182. Can somebody explain me what this mean? bye marcus

Re: Spam

2006-11-02 Thread Markus Braun
I would like also to report the spams, but i dont wont get so much spams as i can see there. This is probably because you have an unconditional warn message = X-Spam-Report: $spam_report in your Exim configuration - check your ACL. I dont know what you exactly meen, what wrong is? But i

Re: Spamassassin Spam Header

2006-03-02 Thread Markus Braun
Sounds like you didn't kill spamd first. this is my top: 7091 root 9 0 20092 1096 1096 S 0.0 0.1 0:01.17 spamd 7303 backuppc 8 0 5468 3364 1124 S 0.0 0.3 1:02.43 BackupPC 7315 backuppc 9 0 3032 1536 1100 S 0.0 0.1 0:07.87 BackupPC_trashC 7428 root 9 0 38596

Re: Spamassassin Spam Header

2006-02-15 Thread Markus Braun
Also be careful with bayes_file_mode.. you want 7's here not 6's like you might think. This is really not a mode, but a mask, and it is sometimes used in directory creation. bayes_file_mode 0777 hello again, so i make a cronjob the spamassassin is learning the spams from the spam folder

Re: Spamassassin Spam Header

2006-02-06 Thread Markus Braun
header L_S_SW_LOWPRSubject =~/\bS[o0]ftw[a4]r[e3] At L[o0]w Pr[i1]c[e3]s?\b/i You have a spurious line wrap above. Join it to the end of the line above so that it will have the w followed by the Pr[. That will help. ALWAYS run SpamAssassin --lint when you make a change like that and

Re: Spamassassin Spam Header

2006-02-01 Thread Markus Braun
You can drop these into a .cf file in your site-config directory (/etc/mail/spamassassin/ for most people): header L_S_ULT_PHARMSubject =~/\bThe Ultimate Online Pharmaceutical\b/i score L_S_ULT_PHARM 3.0 describe L_S_ULT_PHARM spam from the ultimate online pharmacy header L_S_SW_LOWPR

Re: Spamassassin Spam Header

2006-02-01 Thread Markus Braun
It looks OK, except the file for some reason has HTML tags in it.. The real file must not have HTML in it. Which HTML Tags do you mean in the rule.cf? header L_S_ULT_PHARMSubject =~/\bThe Ultimate Online Pharmaceutical\b/i score L_S_ULT_PHARM 3.0 describe L_S_ULT_PHARM spam from the

Re: Spamassassin Spam Header

2006-01-29 Thread Markus Braun
Are you sure your sa-learning was done as the correct user? What user did you use? (root? nobody? The message recipient?) I logged in as root. I type sa-learn -spam and then the name of the email file. Do you use spamd? yes spamd is loaded. Do you normally pass a -u parameter to either

Spamassassin Spam Header

2006-01-28 Thread Markus Braun
Hello again, sorry but iI have still the problem , that i dont understand the spam bayes function. I have SA-learn about 50 emails they are spam. But always the same header as spam comes as ham into my mailbox. e.g.: The Ultimate Online Pharmaceutical Software Software At Low Pr1ce How can

Re: Spamassassin Bayes

2006-01-23 Thread Markus Braun
Suppose you address it as foo.bar.baz. Then you can simply do a host foo.bar.baz and get the address for that machine. That becomes the only entry to trusted_networks. Your internal_network is a different proposition. In your case I might set it to 127.0.0.1 if you have exactly one machine of

Re: Spamassassin Bayes

2006-01-16 Thread Markus Braun
Are you running German-language rules on 3.0.x? If so this is (unfortunately) expected. If you are only running English-language rules files, then this would probably indicate that you had rules from 2.6x on a 3.x SA install. I have spamassassin installed on a debian sarge version with

RE: Spamassassin Bayes

2006-01-16 Thread Markus Braun
The trusted_networks setting specifies which mail servers you trust not to forge header information. Normally, this will just be the servers that you directly control. You can either list your mailservers individually, or you can list your entire network so that you automatically trust any

Re: Spamassassin Bayes

2006-01-16 Thread Markus Braun
It's more like I know all machines in 10.2.3.xxx belong to my network which is safe and which I trust, so I'll add 10.2.3.xxx/24 to trusted_networks I don't think it's safe to add a external network like gmx to your trusted_networks list. But what is my internal network. I have one

Re: Spamassassin Bayes

2006-01-15 Thread Markus Braun
debug: tests=ALL_TRUSTED,MISSING_DATE,MISSING_SUBJECT,NO_REAL_NAME Here is a BIG problem! You got an ALL_TRUSTED on this spam. Assuming you fed in a spam that came from outside and the headers are still there showing that, it shoudl NEVER get an ALL_TRUSTED indication. This results in a

Re: Spamassassin Bayes

2006-01-13 Thread Markus Braun
sa-learn will help here. Another way to help is by grabbing some of the rulesets off of rulesemporium.com that cover the spam which is giving you the most trouble. I have made spamassassin -D --lint but i got the warnings in the attached file. i have debian and installed it with: apt-get

SpamScore Email

2005-11-25 Thread Markus Braun
Hello, i am new on this list. I have a problem. I installed exim4, courier and spamassassin. But every email i sent it out, is marked bei spam. e.g. Spam Score 1.6 Can i turn it of or is some configuration error? Thanks a lot marcus