[Dspam-user] Gateway Time-out

2012-08-01 Thread newsepr
When re-training message via the webui, it seems to take forever, and I end up getting: Gateway Time-out The gateway did not receive a timely response from the upstream server or application. Is this a mysql issue, apache issue, or a dspam issue? Any thoughts on how to go about fixing thi

[Dspam-user] WebUI - Subject

2011-08-30 Thread newsepr
I belong to many maillists... however only one is experiencing this behavior, which I consider to be cosmetic, but a pain... In the webui History tab, any replies that people send to the group (ie not the first message), shwo up with a subject of simply "Re:". And no text, even though the email h

Re: [Dspam-user] dspam - Delivering Mail from quarantaine

2011-02-15 Thread newsepr
On 2/14/2011 9:29 AM, KHP wrote: > Hi there. > > I've got a little problem with my 3.9.1rc-dspam. If i try to deliver old > mails from quarantine, sometimes the signature isnt in the database > anymore. so dspam says: > 27344: [02/14/2011 09:05:41] Unable to find a valid signature. Aborting. >

Re: [Dspam-user] dspam_maintenance error / dspam_clean crash

2011-02-11 Thread newsepr
I second this. The git version has some fixes for a couple very nasty bugs. Not sure if it will solve your problem, but it solved two of mine. Ed On 2/11/2011 8:35 PM, Tom Hendrikx wrote: > Hi Julien, > > there have been several of these issues fixed in the repo after release > of rc1. Could yo

[Dspam-user] stats files

2011-02-05 Thread newsepr
Would there be any consequence to clearing out the following files: epross.rstats 6271,30937,833,233,0,0 epross.stats 6285,31098,841,234,0,0 global Would it also reset the stats displayed by dspam_stats -H ? ---

[Dspam-user] Perms on /var/dspam/data/

2011-02-04 Thread newsepr
What are the correct perms for /var/dspam/data/? Currently I have: drwxr-xr-x 2 dspam mail 4096 2011-02-04 10:56 . drwxr-xr-x 18 root mail 4096 2011-01-29 16:03 .. -rw-rw 1 dspam dspam 0 2010-07-29 10:35 epross -rw-rw 1 dspam dspam 44 2008-05-05 09:00 epross.alerts

Re: [Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied [SOLVED]

2011-01-28 Thread newsepr
I've really got to hand it to Franz... offlist, we traded a few emails and his suggestions prodded me to figure out the problem. - 1) I was for some reason, misinterpreting /usr/lib/sm.bin/smrsh as a file, not a directory. - 2) When I migrated from RHEL to Ubuntu, I brought over and then mangled

Re: [Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-28 Thread newsepr
OK - after trying this out with another program (mailman), I've realized that this is not a dspam issue. So, I apologize for the bandwith here, and remain very thankful to Franz for his help, above and beyond. I am going to broaden my search of a solution - now that I knwo that mailman is affecte

Re: [Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-28 Thread newsepr
Maybe this is interesting, maybe not. I can train the messages from the quarantine via the webui. Now, doesn't the webui make the same call as sending to s...@com? On 1/28/2011 9:42 AM, Edward P. Ross wrote: > 1.) I changed my smrsh folder perms and ownership to what you had. > 2.) Then I in

Re: [Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-27 Thread newsepr
I hate responding again... I've set /usr/bin/dspam to 551, 6777, 6775, 755, 777, 2777, 1777, 4777, and a few others, and all with the same error. Then I tried 2510 which is what I was using on my old RHEL4 box. Same error as well. On 1/27/2011 11:34 PM, Frantisek Hanzlik wrote: > news...@acroca

Re: [Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-27 Thread newsepr
Hi Franz - /etc/mail was: drwxr-sr-x 9 smmta smmsp /etc/mail/smrsh/ drwsr-sr-x 2 root root I changed them to what you had below (755 root:root). Same error: Cannot exec /etc/mail/smrsh: Permission denied Jan 27 21:14:10 acrocatlabs sm-mta[11770]: p0QDZfKc004026: to="|/usr/bin/dspam --user g

Re: [Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-27 Thread newsepr
Hi Franz - Thanks for the quick reply... Here they are: ls -l /usr/bin/dspam -r-xr-s--- 1 root mail 258639 2011-01-26 15:25 /usr/bin/dspam ls -l /usr/bin/procmail -rwsr-sr-x 1 root mail 89176 2010-08-04 19:49 /usr/bin/procmail On 1/27/2011 9:18 PM, Frantisek Hanzlik wrote: > > I'm running dsp

Re: [Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-27 Thread newsepr
If anyone here is running ubuntu/sendmail, could you post the output of ls -la /etc/mail/smrsh ? On 1/26/2011 1:30 PM, news...@acrocat.com wrote: > When I send messages to s...@acrocat.com, I see the following in the > error log: > > : SYSERR(root): Cannot exec /etc/mail/smrsh: Permission denied >

[Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-26 Thread newsepr
When I send messages to s...@acrocat.com, I see the following in the error log: : SYSERR(root): Cannot exec /etc/mail/smrsh: Permission denied Jan 26 10:21:11 acrocatlabs sm-mta[5541]: p0QAL8iW005539: to="|/usr/bin/dspam --user global --class=spam --source=error", ctladdr= (8/0), delay=00:00:00, x

[Dspam-user] Cannot exec /etc/mail/smrsh: Permission denied

2011-01-26 Thread newsepr
When I send messages to s...@acrocat.com, I see the following in the error log: : SYSERR(root): Cannot exec /etc/mail/smrsh: Permission denied Jan 26 10:21:11 acrocatlabs sm-mta[5541]: p0QAL8iW005539: to="|/usr/bin/dspam --user global --class=spam --source=error", ctladdr= (8/0), delay=00:00:00, x

[Dspam-user] can not write to queue directory /var/spool/mqueue-client/

2011-01-25 Thread newsepr
I moved my dspam server to another machine... I've set it up to the point where it is working, but I get these messages in teh log when I try to move messages from quarantine: sendmail[14836]: NOQUEUE: SYSERR(dspam): can not write to queue directory /var/spool/mqueue-client/ (RunAsGid=550, require

[Dspam-user] 2 dspam.conf files

2011-01-23 Thread newsepr
I got dspam installed on Ubuntu - but I see 2 dspam.conf files: - /etc/dspam.conf - /etc/dspam/dspam.conf Which one do I use, and why are there 2? Ed -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD valu

[Dspam-user] Install from source

2011-01-22 Thread newsepr
I downloaded 3.9.1 RC1 from Sourceforge, ran configure, make and make install... But after install, /var/dspam is empty, and I don't see any of the files I expect such as trusted.users, etc. anywhere. Did I do something wrong? dspam --version gives me: DSPAM Anti-Spam Suite 3.9.1 (agent/library

[Dspam-user] DSPAM Ubuntu

2011-01-21 Thread newsepr
Is there a DSPAM Ubuntu package? Installing from apt-get installed 3.6.8. I can build from source, but would prefer to install a package if possible. Ed -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD val

Re: [Dspam-user] Error when forwarding to spam@...

2010-08-31 Thread newsepr
Its got to be a perms issue - because this was working up until I got the last issue fixed w/r/t to quarantine. My sendmail aliases file looks like: spam: "|/usr/bin/dspam --user global --class=spam --source=error" ham:"|/usr/bin/dspam --user global --class=i

[Dspam-user] Error when forwarding to spam@...

2010-08-31 Thread newsepr
I can re-train messages through the webui, but when I try to forward to s...@... I get the following error: Aug 31 03:15:43 MYDOMAIN dspam[7927]: Unable to open file for reading: firstspam.txt: Permission denied Aug 31 03:15:43 MYDOMAIN dspam[7927]: Unable to create directory: /var/dspam/data: Per

Re: [Dspam-user] FW: Migrating users...

2010-08-21 Thread newsepr
Sorry Steven, I used the wrong account to send to the list. I will try to not make that happen anymore :) To answer your question below... a bit of security. I watched a friend of mine from a big company login to his webmail the other day and got the idea... If someone was going to brute force a

Re: [Dspam-user] Re-training

2010-08-11 Thread newsepr
I'll get this link added to the wiki... I didn't even know that it existed... Ed On 8/11/2010 8:55 AM, Julien Valroff wrote: >> You are getting older :) >> https://sourceforge.net/apps/mediawiki/dspam/index.php?title=FAQ#What_is_TWEAK_-1.3F > I still feel young enough ;) > http://sourceforge.net

[Dspam-user] Re-training

2010-08-09 Thread newsepr
If I look at a message marked as SPAM from the History tab, and I click on retrain, the Performance tab shows Good Message Missed + 1. That makes sense. Now if I undo that, and retrain it to be SPAM, I see the SPAM messages missed go +1. and Good Message Missed is unchanged. I would think that

Re: [Dspam-user] dspam_maintenance: Access denied for user

2010-08-06 Thread newsepr
Are you running the one from SF? I can re-download the source and grab the existing one... but if that's the same one, then I am curious what you are using... Ed On 8/6/2010 2:18 AM, Stevan Bajić wrote: > On Fri, 06 Aug 201 > > > To me it looks like you run another script then me. > > -

Re: [Dspam-user] dspam_maintenance: Access denied for user

2010-08-05 Thread newsepr
Yep - crystal clear... So I get the grant thing... And I can connect to the db from the machine with the command line you and Stevan gave... I will try to echo back the command from the script and see what's happening... On 8/6/2010 12:01 AM, Imposit.com - webmaster wrote: > This means the follow

Re: [Dspam-user] dspam_maintenance: Access denied for user

2010-08-05 Thread newsepr
On 8/5/2010 11:58 PM, Stevan Bajić wrote: > > The user does not need grant option. Anyway... can you try to log in normally: > # mysql --user=myUser --password=[your password here] --host=localhost dspamDB > > Does that work? Yep... > btw: You know that the login data is taken directly form dspam

[Dspam-user] dspam_maintenance: Access denied for user

2010-08-05 Thread newsepr
When running dspam_maintenance.sh, I get the following error: ERROR 1045 (28000): Access denied for user 'myUser'@'localhost' (using password: YES) MySQL purge script returned error code 1 I have given that user rights to the database: GRANT ALL PRIVILEGES ON dspamDB.* TO 'myUser'@'localhost'

Re: [Dspam-user] Quarantine Agents

2010-07-29 Thread newsepr
I think he was trying to say that dspam is awesome and after just a few days, its accuracy was amazing. That's my take at least. Ed On 7/29/2010 5:23 PM, Stevan Bajić wrote: >> I'm amazed by dspam's performance, even after just a few days. When was >> the >> last time you had a FP that was rat

Re: [Dspam-user] Quarantine Agents

2010-07-29 Thread newsepr
/var/dspam/data/USER/USER.mbox On 7/29/2010 3:43 PM, Devin Ceartas wrote: > > What is the default location of quarantine email storage? > > -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Developm

Re: [Dspam-user] Dspam 3.9.0 spam/innocent training problem

2010-07-28 Thread newsepr
I ran this: dspam --user epross --class=innocent --source=error --signature="1,4c5030f9284061074062273" --stdout --deliver=summary and got no response... just went backto command prompt after a few seconds. This gives me: dspam --user epross --class=innocent --source=error --signature=1,4c5030f9

Re: [Dspam-user] Getting good messages out of quarantine

2010-07-28 Thread newsepr
Clarification on the response below: Should I change sendmail.mc to: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= define('LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl define('LOCAL_MAILER_ARGS', `dspam "--deliver=innocent,spam" --user $u -d %u')dnl =-=-=-=-=-=-=-=-=-

Re: [Dspam-user] Dspam 3.9.0 spam/innocent training problem

2010-07-28 Thread newsepr
Interesting I just posted to the list earlier today w/r/t not being able to mark off messages in quarantine as good. My error message is quite similar to yours... Jul 28 06:25:21 acrocatlabs dspam[21956]: Unable to find a valid signature. Aborting. Jul 28 06:25:21 acrocatlabs dspam[21956]:

Re: [Dspam-user] Dspam 3.9.0 spam/innocent training problem

2010-07-28 Thread newsepr
Interesting I just posted to the list earlier today w/r/t not being able to mark off messages in quarantine as good. My error message is quite similar to yours... Jul 28 06:25:21 acrocatlabs dspam[21956]: Unable to find a valid signature. Aborting. Jul 28 06:25:21 acrocatlabs dspam[21956]:

[Dspam-user] dspam_maintenance.sh

2010-07-28 Thread newsepr
I am playing around w/ getting dspam_maintenance.sh working, and I am seeing a couple of things: Is the database, user, port, and password supposed to be applied as command line arguments? It seems that I should be replacing them on this line, or can I set this with a parameter: rea

[Dspam-user] Getting good messages out of quarantine

2010-07-28 Thread newsepr
OK - so I had a ton of permissions issues after I upgraded, this was my own fault b/c I had forgotten that my dspam binary usually runs w/ different perms that setup creates. Stevan got me mostly there and I appreciate his help. I have a weird issue now, where I can see good messages in my quara

[Dspam-user] Setting TOE

2010-07-27 Thread newsepr
I am not running dspam as a daemon, but I want to change to TOE, rather than TEFT. I suppose what I need to do is edit dspam.conf and modify the line to: Preference "trainingMode=TOE" But this will still allow a user to override this setting, correct? Thanks, Ed ---

[Dspam-user] Permissions -- for wiki

2010-07-27 Thread newsepr
Is there a definitive list for what permissions should be set for in: /var/dspam/data (/*) /webui / I can add it to the wiki if we have it somewhere. Ed -- The Palm PDK Hot Apps Program offers developers who use the Plu

[Dspam-user] 3.9.1 RC

2010-07-27 Thread newsepr
Coupe notes - the UI changes are awesome... especially the drop down box for usernames. I like the language selector as well. Re-training on 3.9.1 - I don't see the ugly chi error anymore... time will tell, but this seems much faster. One note: It seemed my configure.pl got overwritten, the th

[Dspam-user] Upgrading to 3.9.1

2010-07-27 Thread newsepr
Sorry for all the questions -- but I thought I would bundle them up since they are related to 3.9.1. I notice that in the docs it wants us changing the collation to latin, rather than utf8. - Is this necessary? - What's the advantage of doing so? Regarding maintenance... - Is the dspam_maint

[Dspam-user] dspam as a daemon or not?

2010-07-26 Thread newsepr
Should I be running dspam as a daemon or via the command line? If I am doing the latter, once I make a change to the config file, the changes take effect immediately, right? Thanks, Edward -- The Palm PDK Hot Apps Progra

Re: [Dspam-user] [Dspam-devel] 3.6.8 and 3.8.0 users

2010-07-22 Thread newsepr
On 7/22/2010 6:18 PM, Disconnect wrote: > > That is my point. The old installation instructions were a disaster > (and made it -very- easy to screw up upgrades - "oops, 2 versions ago > you selected these options, and now that you have added this unrelated > option I'm just going to fail to work

[Dspam-user] Perms for /var/dspam/data/*

2010-07-22 Thread newsepr
I just noticed that some of my users are able to re-train messages in the quarantine as "not spam", but they are not getting delivered. How can I troubleshoot this? I am using 3.9.0, built from source. MySQL backend, InnoDB tables Perms: 4 -rw-rw 1 dspam dspam 11 Oct 14 2009 support.fi

[Dspam-user] Ham training

2010-04-22 Thread newsepr
I am wondering... I have a bunch of ham mail that is in mbox format. Should I use dspam_train and run through say 2500 ham messages? Or shoudl I balance that out with spam as well? Or just let the training happen on incoming new messages? Stats so far: TP True Positives: 1013

[Dspam-user] DSPAM Statistics

2010-04-19 Thread newsepr
I am running dspam 3.9.0. One of my user's statistics on the Performance tab seems to be off in its calculations: SPAM Messages: 2 missed 1 caught Good Messages: 0 missed 0 delivered Overall accuracy (since last reset) 100% (SPAM messages caught + Good messages delivered) / Total number of