RE: Rules not working

2013-09-09 Thread Raymond Jette
Currently I'm using SElinux. I'll disable it and see what happens. -Original Message- From: Martin Gregorie [mailto:mar...@gregorie.org] Sent: Monday, September 09, 2013 11:28 AM To: users@spamassassin.apache.org Subject: Re: Rules not working On Mon, 2013-09-09 at 14:50 +000

RE: Rules not working

2013-09-09 Thread Raymond Jette
I just create a new .cf file on my second MTA and I'm having the same problem. I don't think this is with my systems. I'm beginning to think it's with the packages in the Fedora repository. I'm setting up a test MTA now so I can confirm that. Has anyone else seen this issue when running SA o

RE: Rules not working

2013-09-09 Thread Raymond Jette
I don’t really think it is permissions related. Spamd runs as root (I know this needs to change). The local.cf file is read in correct. The custom cf files I create have the same owner and permissions as local.cf. -Original Message- From: Benny Pedersen [mailto:m...@junc.eu] Sent: Mo

RE: Rules not working

2013-09-09 Thread Raymond Jette
:19 +, Raymond Jette wrote: > Thanks for the information. When running it this way everything > works. I'm not sure why it is not working with normal mail flow. > I don't think you mentioned which O/S you are using. However, you may (it depends on your O/S) find spamassassin

RE: Rules not working

2013-09-09 Thread Raymond Jette
Yes. I am using selinux. -Original Message- From: Benny Pedersen [mailto:m...@junc.eu] Sent: Monday, September 09, 2013 3:40 AM To: users@spamassassin.apache.org Subject: RE: Rules not working Raymond Jette skrev den 2013-09-09 03:09: > Yes. The permissions are correct. Yes,

RE: Rules not working

2013-09-09 Thread Raymond Jette
Thanks for the reply. I'm not sure why but my spamd is running as root (I will have to change this). I've done my tests, from spamd, from both the root and exim users. These test work both times and I see the rules being loaded. -Original Message- From: Martin Gregorie [mailto:mar..

RE: Rules not working

2013-09-08 Thread Raymond Jette
Thank you. I will re-run it with the correct parameters. From: jdow [j...@earthlink.net] Sent: Sunday, September 08, 2013 10:08 PM To: users@spamassassin.apache.org Cc: Raymond Jette Subject: Re: Rules not working > ps -AF | grep spamd root 12

RE: Rules not working

2013-09-08 Thread Raymond Jette
ot;local.cf" is read first of all, of course. {^_^} On 2013/09/08 18:34, Raymond Jette wrote: > I stoped spamd > > # systemctl stop spamassassin.service > > Then I ran in debug mode > > # echo | spamd -D > /root/spamdDiag 2>&1 > > The following line shows a

RE: Rules not working

2013-09-08 Thread Raymond Jette
manage to find things by just going over and over the same ground trying to look deeper each time. {^_^} On 2013/09/08 18:36, Raymond Jette wrote: > The following lines also show a test rule hitting: > > [root@mx1 rjette]# cat mailflow.txt | grep match_ > Sep 8 21:31:47.662 [1028

RE: Rules not working

2013-09-08 Thread Raymond Jette
al flags and values. Run tests through it using regular mail and a manual "spamc". Stop the -D spamd. Restart the normal spamd. This should only take a minute or two. {^_^} On 2013/09/08 18:09, Raymond Jette wrote: > Yes. The permissions are correct. Yes, the debug output show

RE: Rules not working

2013-09-08 Thread Raymond Jette
he -D spamd. Restart the normal spamd. This should only take a minute or two. {^_^} On 2013/09/08 18:09, Raymond Jette wrote: > Yes. The permissions are correct. Yes, the debug output shows that the > files and rules were found and matched against the test message. > ___

RE: Rules not working

2013-09-08 Thread Raymond Jette
Run tests through it using regular mail and a manual "spamc". Stop the -D spamd. Restart the normal spamd. This should only take a minute or two. {^_^} On 2013/09/08 18:09, Raymond Jette wrote: > Yes. The permissions are correct. Yes, the debug output shows that the > file

RE: Rules not working

2013-09-08 Thread Raymond Jette
t; Subject: Re: Rules not working > > On 2013/09/08 16:55, Raymond Jette wrote: >> When I add add custom rules to /etc/mail/spamassassin/local.cf the rules >> work as expected. If I create any *.cf file and put the rules in they do >> not work. My test rule is: &g

RE: Rules not working

2013-09-08 Thread Raymond Jette
I checked the permissions. Everything is set correctly. Thanks for the reply. From: Dave Funk [dbf...@engineering.uiowa.edu] Sent: Sunday, September 08, 2013 8:55 PM To: Raymond Jette Cc: users@spamassassin.apache.org Subject: Re: Rules not working On

RE: Rules not working

2013-09-08 Thread Raymond Jette
16:55, Raymond Jette wrote: > When I add add custom rules to /etc/mail/spamassassin/local.cf the rules work > as expected. If I create any *.cf file and put the rules in they do not > work. My test rule is: > > body test_match_all /.*/ > scoretest_match_all -0

Rules not working

2013-09-08 Thread Raymond Jette
When I add add custom rules to /etc/mail/spamassassin/local.cf the rules work as expected. If I create any *.cf file and put the rules in they do not work. My test rule is: body test_match_all /.*/ scoretest_match_all -0.01 Rules only work if they are in local.cf. If I run th

RE: Rule to catch PO#

2008-12-02 Thread Raymond Jette
I am using: /bPO(?:\b ?#?|\d)/i Here is what I am getting from sa: Content analysis details: (-0.1 points, 5.0 required) pts rule name description -- -- 0.0 MISSING_MIDMissing Message-Id: head

RE: Rule to catch PO#

2008-12-02 Thread Raymond Jette
1. I am running Spamassassin from within MailScanner. I don't believe spamd would have to be restarted but I will try. 2. I don't think this is the case. When I added the rule it worked half way. the \i does not seem to work through. Thanks -Original Message- From: Bowie Bailey [mailto

possible sa-learn issue

2008-09-02 Thread Raymond Jette
Good morning, This morning I ran a sa-learn -dump magic and saw the following: Nspam 201 Nham 242 Soon after I ran spamassassin -D -lint to look for problems and it reported: Bayes: not available for scanning, only 189 spam(s) in bayes DB < 200 I re-ran sp-learn -dump magic and saw the

sa-learn with IMAP

2008-09-01 Thread Raymond Jette
Good afternoon, I am trying to use sa-learn with a Microsoft Exchange server. The users move spam / ham message from there Inbox to a Public folder. The public folder is accessable via IMAP. How can I get the message from Exchange for sa-learn to work using IMAP? Thanks for any help you ma