Tom, Once again, thanks for your help!
1. Yes, the user name is dspam 2. I am using Apache and the the user and group name are apache. User apache Group apache Maybe I am doing something wrong here, but when I entered the command sudo, I received the following: [dspam@mail conf]$ sudo -u apache tail /var/spool/dspam/data/mydomain.com/dspam/dspam.log [sudo] password for dspam: dspam is not in the sudoers file. This incident will be reported. Is this the permission problem? Thanks! Charles On Wed, Sep 5, 2012 at 10:43 AM, Tom Hendrikx <t...@whyscream.net> wrote: > Hi > > 1) The location of the logfile tells me that the dspam user is > 'ds...@mydomain.com'. Is that the username you use on the webui? > > 2) You still did not check of the webui has access to the logfile. To > find out more on this, check and report the fllowing: > > - The webui is served by a webserver (lighttpd, apache, etc). Which one? > - The webserver runs as some user, probably set in the config file, or > init script. Describe the user, or show the webserver config that sets > the user. > - Test using su or sudo if that user can access the files in > '/var/spool/dspam/data/mydomain.com/dspam': > sudo -u <webserver user> tail > /var/spool/dspam/data/mydomain.com/dspam/dspam.log > > -- > Tom > > On 04-09-12 18:10, c cc wrote: >> Tom, >> >> 1. Yes, as you can see from below, it has the *.log and *.stats. files. >> >> /var/spool/dspam/data/mydomain.com/dspam >> [root@mail dspam]# ls >> dspam.log dspam.stats >> >> 2. I am able to log into the Dspam webgui with the password; I am >> receiving receiving emails with the dspam signature on it. Maybe I >> misunderstood your questions--could you elaborate on it? Once again, >> thank you very much for your help. >> >> Charles >> >> >> On Fri, Aug 31, 2012 at 3:20 PM, Tom Hendrikx <t...@whyscream.net> wrote: >>> (please keep replies on-list) >>> >>> Do further checks: >>> >>> 1) is the file there? Does it contain data? >> >> >>> 2) did you setup your web server in a way so that it can actually read >>> the file? If unsure, please document what you did, and how you tried to >>> verify that your setup was working. >>> >>> >>> On 31/08/12 21:37, c cc wrote: >>>> Tom, >>>> >>>> Thanks for the explanation; however, I did enable" UserLog on" in >>>> dspam.conf, but it still does not work. Any idea? thanks! >>>> >>>> >>>> Charles >>>> >>>> On Fri, Aug 31, 2012 at 1:58 PM, Tom Hendrikx <t...@whyscream.net> wrote: >>>>> Hi, >>>>> >>>>> historical data has no relaion with dspam_stats. The stats command uses >>>>> the processing engine numbers to return totals, these are always >>>>> available. >>>>> >>>>> The webui uses a log file that is available only when you have enabled >>>>> "UserLog on" in dspam.conf. Then, to use the data in the logfile, you >>>>> must ensure that: >>>>> >>>>> - you login on the webui with the username that is the same as the >>>>> accountname in dspam, so the webui knows which dspam user to show. >>>>> - the web server, and the user it runs as, has read access to the actual >>>>> log file, which is available under dspam home directory (see Home >>>>> directive in dspam.conf) >>>>> >>>>> -- >>>>> Tom >>>>> >>>>> On 31/08/12 19:36, c cc wrote: >>>>>> Hi, All: >>>>>> >>>>>> I am unable to retrieve any data from "history" or "analysis" via the >>>>>> Dspam WebUI; whenever I clicked on the "history" or "analysis" tab, I >>>>>> received the error below. However, I do get the statistics from the >>>>>> command line using dspam_stats though. Does anyone have any idea? >>>>>> Thanks! >>>>>> >>>>>> >>>>>> -------------------------------------------------------------------------------------------- >>>>>> >>>>>> An Error Has Occured >>>>>> >>>>>> The following error occured while trying to process your request: >>>>>> No historical data is available. >>>>>> >>>>>> If this problem persists, please contact your administrator. >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Live Security Virtual Conference >>>>>> Exclusive live event will cover all the ways today's security and >>>>>> threat landscape has changed and how IT managers can respond. Discussions >>>>>> will include endpoint security, mobile security and the latest in malware >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>> _______________________________________________ >>>>>> Dspam-user mailing list >>>>>> Dspam-user@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/dspam-user >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. Discussions >>>>> will include endpoint security, mobile security and the latest in malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Dspam-user mailing list >>>>> Dspam-user@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/dspam-user >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Dspam-user mailing list >>> Dspam-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/dspam-user >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Dspam-user mailing list >> Dspam-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspam-user >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Dspam-user mailing list > Dspam-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-user ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user