Re: Body replacement problem
Glad you got it fixed. Now if only a body replacement for this organic support hardware I have was that easy. {^_-} - Original Message - From: "Dawid Wyngaard" <[EMAIL PROTECTED]> Evan / jdow, Thanks for the help. After a bit more digging on the net I found the solution. The is a spamass-milter config file (/etc/sysconfig/spamass-milter) that I had to edit and take the -m option out. After this it's been working without any problems Thanks, Dawid van Wyngaard -Original Message- From: jdow [mailto:[EMAIL PROTECTED] From: "Evan Platt" <[EMAIL PROTECTED]> At 10:37 PM 11/1/2005, you wrote: Evan, Thanks. I have tried it but I still have the same results... Not sure then. Does running spamassassin with -d --lint give any errors? (Or possibly a clue as to what the issue is)? All together now on three: 1, 2, 3 Did you restart your daemonized spamassassin however it got daemonized? (In his case it appears his filter tool does it for him. He should restart it.) {^_^}
RE: Body replacement problem
Evan / jdow, Thanks for the help. After a bit more digging on the net I found the solution. The is a spamass-milter config file (/etc/sysconfig/spamass-milter) that I had to edit and take the -m option out. After this it's been working without any problems Thanks, Dawid van Wyngaard -Original Message- From: jdow [mailto:[EMAIL PROTECTED] Sent: 02 November 2005 10:39 AM To: users@spamassassin.apache.org Subject: Re: Body replacement problem From: "Evan Platt" <[EMAIL PROTECTED]> > At 10:37 PM 11/1/2005, you wrote: >>Evan, >> >>Thanks. I have tried it but I still have the same results... > > Not sure then. Does running spamassassin with -d --lint give any > errors? (Or possibly a clue as to what the issue is)? All together now on three: 1, 2, 3 Did you restart your daemonized spamassassin however it got daemonized? (In his case it appears his filter tool does it for him. He should restart it.) {^_^} This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx "
Re: Body replacement problem
Dawid Wyngaard wrote: > I have installed SA 3.0.4 with Sendmail, Cyrus IMAP, Procmail, > spamass-milter & clamav-milter on Redhat FC3. The current problem > that Im experiencing is when an email arrives it get scanned with > SA, get scored and forward to the users mail box without the subject > and body being replaced if its spam. > > When I view the header of the message I can see the SA scores, > problems that were picked / tests that were done. > > Here is a copy of my conf files: > > PROCMAILRC: > > VERBOSE=ON > DROPPRIVS=yes > INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc What's in this file? > :0 fw > * < 256000 > | /usr/bin/spamc -f > :0 > * ^X-Spam-Status: Yes > $HOME/spam Looks pretty much like the recommended default setup for calling SA from procmail. > local.cf: > # How many hits before a message is considered spam. > required_hits 2 **VERY** dangerous!! Out of the box, SA is tuned for a spam threshold of 5. You *WILL* see a lot of FPs if you drop it down! That said, careful tuning of custom local rules *can* make this work quite well. I would suggest starting with the default threshold for a while though. > # Change the subject of suspected spam > rewrite_header subject *SPAM(_SCORE_)* > # Encapsulate spam in an attachment (0=no, 1=yes, 2=safe) > report_safe 2 Should be OK. > # Enable the Bayes system > use_bayes 1 > bayes_auto_learn 1 These Bayes options aren't strictly necessary, but I usually set them explicitly myself. Along with other Bayes options that I have set differently from the defaults. > # Enable or disable network checks > skip_rbl_checks 0 > use_razor2 1 > use_dcc 1 > use_pyzor 1 > > # Mail using languages used in these country codes will not be marked > # as being possibly spam in a foreign language. > ok_languages all These should all be OK; you noted in a reply that --lint is clean. > sendmail.cf: > INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass.sock,F=, > T=C:15m;S:4m;R:4m;E:10m')dnl > define(`confINPUT_MAIL_FILTERS', `spamassassin')dnl > define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, > {if_name}, {if_addr}')dnl Hmm. Do you really want to call SA from both a milter *AND* procmail? You're effectively calling SA twice if you do so; and that is known to have some *odd* results. I would recommend removing the milter call; it's a little easier to debug when calling SA from procmail on a (more or less) per-user basis rather than a per-message basis in sendmail. (Note that in the context of a milter, per-message does NOT equal per-user!) -kgd -- Get your mouse off of there! You don't know where that email has been!
RE: Body replacement problem
Jdow, After the changes I actually restarted my server if that helpsI fortunately have the luxury of restarting the box at anytime currently Thanks, Dawid van Wyngaard -Original Message- From: jdow [mailto:[EMAIL PROTECTED] Sent: 02 November 2005 10:39 AM To: users@spamassassin.apache.org Subject: Re: Body replacement problem From: "Evan Platt" <[EMAIL PROTECTED]> > At 10:37 PM 11/1/2005, you wrote: >>Evan, >> >>Thanks. I have tried it but I still have the same results... > > Not sure then. Does running spamassassin with -d --lint give any > errors? (Or possibly a clue as to what the issue is)? All together now on three: 1, 2, 3 Did you restart your daemonized spamassassin however it got daemonized? (In his case it appears his filter tool does it for him. He should restart it.) {^_^} This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx "
RE: Body replacement problem
Evan, Yes I can run spamassassin -d no problem and the --lint option gives no error with my config file. Thanks, Dawid van Wyngaard -Original Message- From: Evan Platt [mailto:[EMAIL PROTECTED] Sent: 02 November 2005 08:49 AM To: spamassassin-users@incubator.apache.org Subject: RE: Body replacement problem Importance: High At 10:37 PM 11/1/2005, you wrote: >Evan, > >Thanks. I have tried it but I still have the same results... Not sure then. Does running spamassassin with -d --lint give any errors? (Or possibly a clue as to what the issue is)? This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx "
Re: Body replacement problem
From: "Evan Platt" <[EMAIL PROTECTED]> At 10:37 PM 11/1/2005, you wrote: Evan, Thanks. I have tried it but I still have the same results... Not sure then. Does running spamassassin with -d --lint give any errors? (Or possibly a clue as to what the issue is)? All together now on three: 1, 2, 3 Did you restart your daemonized spamassassin however it got daemonized? (In his case it appears his filter tool does it for him. He should restart it.) {^_^}
Re: Body replacement problem
From: "Evan Platt" <[EMAIL PROTECTED]> At 10:05 PM 11/1/2005, you wrote: Hi, I have installed SA 3.0.4 with Sendmail, Cyrus IMAP, Procmail, spamass-milter & clamav-milter on Redhat FC3. The current problem that I'm experiencing is when an email arrives it get scanned with SA, get scored and forward to the users mail box without the subject and body being replaced if it's spam. # Change the subject of suspected spam rewrite_header subject *SPAM(_SCORE_)* I believe this is case sensitive - and is rewrite_header Subject .(Caps on the S). Someone will correct me if I'm wrong.. :) Note that something like this has some interesting plusses when sorting spam by score in the inbox: rewrite_header Subject *SPAM* _SCORE(00)_ ** And indeed, it probably does have to be capitalized as shown. {^_-}
RE: Body replacement problem
At 10:37 PM 11/1/2005, you wrote: Evan, Thanks. I have tried it but I still have the same results... Not sure then. Does running spamassassin with -d --lint give any errors? (Or possibly a clue as to what the issue is)?
RE: Body replacement problem
Evan, Thanks. I have tried it but I still have the same results... Thanks, Dawid van Wyngaard -Original Message- From: Evan Platt [mailto:[EMAIL PROTECTED] Sent: 02 November 2005 08:14 AM To: spamassassin-users@incubator.apache.org Subject: Re: Body replacement problem Importance: High At 10:05 PM 11/1/2005, you wrote: >Hi, > >I have installed SA 3.0.4 with Sendmail, Cyrus IMAP, Procmail, >spamass-milter & clamav-milter on Redhat FC3. The current problem >that I'm experiencing is when an email arrives it get scanned with >SA, get scored and forward to the users mail box without the subject >and body being replaced if it's spam. ># Change the subject of suspected spam >rewrite_header subject *SPAM(_SCORE_)* I believe this is case sensitive - and is rewrite_header Subject .(Caps on the S). Someone will correct me if I'm wrong.. :) This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx "
Re: Body replacement problem
At 10:05 PM 11/1/2005, you wrote: Hi, I have installed SA 3.0.4 with Sendmail, Cyrus IMAP, Procmail, spamass-milter & clamav-milter on Redhat FC3. The current problem that I'm experiencing is when an email arrives it get scanned with SA, get scored and forward to the users mail box without the subject and body being replaced if it's spam. # Change the subject of suspected spam rewrite_header subject *SPAM(_SCORE_)* I believe this is case sensitive - and is rewrite_header Subject .(Caps on the S). Someone will correct me if I'm wrong.. :)
Body replacement problem
Hi, I have installed SA 3.0.4 with Sendmail, Cyrus IMAP, Procmail, spamass-milter & clamav-milter on Redhat FC3. The current problem that I’m experiencing is when an email arrives it get scanned with SA, get scored and forward to the users mail box without the subject and body being replaced if it’s spam. When I view the header of the message I can see the SA scores, problems that were picked / tests that were done. Here is a copy of my conf files: PROCMAILRC: VERBOSE=ON DROPPRIVS=yes INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc :0 fw * < 256000 | /usr/bin/spamc -f :0 * ^X-Spam-Status: Yes $HOME/spam local.cf: # How many hits before a message is considered spam. required_hits 2 # Change the subject of suspected spam rewrite_header subject *SPAM(_SCORE_)* # Encapsulate spam in an attachment (0=no, 1=yes, 2=safe) report_safe 2 # Enable the Bayes system use_bayes 1 bayes_auto_learn 1 # Enable or disable network checks skip_rbl_checks 0 use_razor2 1 use_dcc 1 use_pyzor 1 # Mail using languages used in these country codes will not be marked # as being possibly spam in a foreign language. ok_languages all sendmail.cf: INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass.sock,F=,T=C:15m;S:4m;R:4m;E:10m')dnl define(`confINPUT_MAIL_FILTERS', `spamassassin')dnl define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl Any help is appreciated. Thanks, Dawid van Wyngaard This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx "