>  I changed my /usr/local/bin/dspam to the same permissions
> and I received the same set of errors.
>  
>  I'll probably have to go through this whole thing
> step by step in the cgi script to figure out exactly
> 
>  
>  i'm also contemplating backing up and trying to configure
> a simpler configuration and see if I can get one to
> work from one of the single user HowTo's. 
>  Jean Marc Le Fevre <[EMAIL PROTECTED]>
> wrote:  here is mine ...
>  > 
 
>  >  >  >  
> 
 
 
>  
>  >  > Le 6 juin 07 à 18:09, Tejas Jin a écrit :
 
>   > Here is my ls -l of /usr/local/bin
>  
> 
>  
>  Jean Marc Le Fevre <[EMAIL PROTECTED]> wrote:  did you check the suid bit on 
> dspam bin ? >  >  
> 
 > eos
 
>  >  > Le 5 juin 07 à 17:36, Tejas Jin a écrit :
 
>   > I tried adding apache to the dspam group. restarted
> httpd , no change.
>  
>  following are my dspam.conf and httpd.conf <Virtual>. 
> These are running on a RHEL4.4 version syste m SELinux
> is currently turned off.
>  
>  
>  Home /usr/local/var/dspam
>  
>  StorageDriver /usr/local/lib/libhash_drv.so
>  
>  TrustedDeliveryAgent "/usr/bin/procmail"
>  
>  
>  
>  OnFail error
>  
>  Trust root
>  Trust mail
>  Trust mailnull
>  Trust smmsp
>  Trust daemon
>  Trust nobody
>  Trust postfix
>  Trust apache
>  Trust dspam
>  TrainingMode teft
>  
>  TestConditionalTraining on
>  
>  Feature whitelist
>  
>  
>  Algorithm graham burton
>  
>  Tokenizer chain
>  
>  PValue bcr
>  
>  WebStats on
>  
>  
>  Preference "signatureLocation=message"  # 'message'
> or 'headers'
>  Preference "showFactors=on"
>  Preference "spamAction=tag"
>  Preference "spamSubject=SPAM"
>  
>  AllowOverride trainingMode
>  AllowOverride spamAction spamSubj ect
>  AllowOverride statisticalSedation
>  AllowOverride enableBNR
>  AllowOverride enableWhitelist
>  AllowOverride signatureLocation
>  AllowOverride showFactors
>  AllowOverride optIn optOut
>  AllowOverride whitelistThreshol d
>  
>  
>  MySQLServer     /var/lib/mysql/mysql.sock
>  MySQLPort               3306
>  MySQLUser               dspam
>  MySQLPass               password
>  MySQLDb                 dspam
>  MySQLCompress           true
>  
>  httpd.conf
>  ----------------------------------------------
>  <VirtualHost dspam.ietinternal.com:80>
> 
>          ServerName dspam.ietinternal.com
>          ServerAdmin  [EMAIL PROTECTED]
> 
> 
>          SuexecUserGroup         dspam dspam
>  
> 
>                  Options FollowSymLinks ExecCGI
>                  AllowOverride   None
>                  Order deny,allow
>                  Deny from all
>                  SSLRequireSSL
>                   AuthType        Basic
> 
> 
>                  Require valid-user
>                  Satisfy Any
>          </Directory>
>  </VirtualHost>
>  
>  
>  
>  
>  Jean Marc Le Fevre <[EMAIL PROTECTED]> wrote:  Hello, 
>  
>  > I don't know your configuration, but you may try to
> have a look at user and group configuration and files
> permission. I had quite the same problem once a time
> and resolv it by adding wwwuser to dspam group.
 > to make a test , you can do somethink like sudo -u
> [userApache] [Command] 
>  >  
> 
 > good luck
 
>  > JM
 >  
> 
 
>  >  > Le 1 juin 07 à 21:16, Tejas Jin a écrit :
 
>   > The original error found in httpd error was that testuser.prefs
> could not be read.
 > I ran dspam_admin add pref testuser spamAction tag
>  
 > and this created the file..
 > 
 > 
 > Now when I open the interface or work with it.  I see these errors< /DIV> > 
 > when I submit changes for preferences.
 > 
 >  
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> invalid command syntax., referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> syntax: dspam_admin [function] [arguments] [--profile=PROFILE],
> referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.1
> 64] \tadd preference [user] [attrib] [value ], referer:
> 
 > [Tue May 29 01:16:28 2 007] [error] [client 10.10.2.164]
> 
 > 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> 
 > 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> \tlist preference [user] [attrib] [va lue], referer:
> 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> \taggregate preference [user], referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> 16115: [05/29/2007 01:16:28] Unable to open file for
> reading: /usr/local/var/dspam/data/testclark/testclark.prefs.bak:
> Permission denied, referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> 16117: [05/29/2007 0 1:16:28] Unable to open file
> for reading: /usr/local/var/dspam/data/testclark/testclark.prefs.bak:
> Permission denied, referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> 16119: [05/29 /2007 01:16:28] Unable to open file
> for reading: /usr/local/var/dspam/data/testclark/testclark.prefs.bak:
> Permission denied, referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> 16121: [05/29/2007 01:16:28] Unable to open file for
> reading: /usr/local/var/dspam/data/testclark/testclark.prefs.bak:
> Permission denied, referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> 16123: [05/29/2007 01:16:28] Unable to open file for
> reading: /usr/local/v ar/dspam/data/testclark/testclark.prefs.bak:
> Permission denied, referer: 
 > [Tue May 29 01:16:28 2007] [error] [client 10.10.2.164]
> 
 > 
 > 
 > 
 > 
 >  
 
  
 
  
  
 
  
  
 
 !DSPAM:4666dd6436481278113808! 
  

Reply via email to