LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   dspam not running (https://www.linuxquestions.org/questions/solaris-opensolaris-20/dspam-not-running-670588/)

dody1313 09-17-2008 01:07 PM

dspam not running
 
hi guys
i have installed dspam on solaris 10 ( sparc)
i am trying to run it with the command ../dspam start but i get this error message:

/usr/local/bin/dspam start
15625: [09/17/2008 13:14:46] Unable to determine the destination user
15625: [09/17/2008 13:14:46] DSPAM agent misconfigured: aborting

also when i try to run dspam_stats [username]...
i get command not found, and i am pretty sure dspam is installed.
I edited sendmail.cf for dspam...

is there any configuration i am missing?
thnx for helping

TB0ne 09-18-2008 11:04 AM

Quote:

Originally Posted by dody1313 (Post 3283418)
hi guys
i have installed dspam on solaris 10 ( sparc)
i am trying to run it with the command ../dspam start but i get this error message:

/usr/local/bin/dspam start
15625: [09/17/2008 13:14:46] Unable to determine the destination user
15625: [09/17/2008 13:14:46] DSPAM agent misconfigured: aborting

also when i try to run dspam_stats [username]...
i get command not found, and i am pretty sure dspam is installed.
I edited sendmail.cf for dspam...

is there any configuration i am missing?
thnx for helping

I think a good first step is to make VERY sure dspam is installed...trying to start an incomplete installation won't work.

From the dspam user list/archive
===================================
Specify the --user parameter, with a valid user, any valid user, but you
must use one. One that is exactly listed as is in your users table. The
system will switch to the user specified in the signature after it has
found the signature.
===================================

Have you completely gone through the installation docs/procedures?

dody1313 09-18-2008 12:52 PM

Hi
exacly
that's the part i am a bit confuse about...lol
i dont know exacly where and how to "Specify the --user parameter"

TB0ne 09-19-2008 08:30 AM

Quote:

Originally Posted by dody1313 (Post 3284793)
Hi
exacly
that's the part i am a bit confuse about...lol
i dont know exacly where and how to "Specify the --user parameter"

How about:

dspam --user <user name> start

???

dody1313 09-19-2008 09:32 AM

well
that's where i have a lil problem to0
i did try to do it like that
but it stood there like it was processing something...
let me show you:

# /usr/local/bin/dspam --user salopri start


and it just stayed there
i have to do a " ctrl d" so that i can continue entering commands.
any ideas?

thnx a lot for helping

TB0ne 09-19-2008 09:38 AM

Quote:

Originally Posted by dody1313 (Post 3285674)
well
that's where i have a lil problem to0
i did try to do it like that
but it stood there like it was processing something...
let me show you:

# /usr/local/bin/dspam --user salopri start


and it just stayed there
i have to do a " ctrl d" so that i can continue entering commands.
any ideas?

thnx a lot for helping

Well, you're not starting it with the init script, which is where you could put the --user statement too. Since you're not backgrounding it, it'll stay there until you kill it.

Either use the init script (or look at some of your existing init scripts, copy and modify as needed, if you don't have one), or:

nohup /usr/local/bin/dspam --user salopri start 2>&1&

will start a new process, redirect stdout and stderr to syslog, and background the process. You'll be able to close your terminal windows and log out afterwards, and the process will still be running.

dody1313 09-19-2008 10:43 AM

Hi Tbone
this is the output i get when i ran the command u recommended me:

# nohup /usr/local/bin/dspam --user salopri start 2>&1&
[1] 16134
# Sending output to nohup.out

but then again i have to do "ctrl c" to enter commands
what do you think about the output i got after running the command?

TB0ne 09-19-2008 12:10 PM

Quote:

Originally Posted by dody1313 (Post 3285736)
Hi Tbone
this is the output i get when i ran the command u recommended me:

# nohup /usr/local/bin/dspam --user salopri start 2>&1&
[1] 16134
# Sending output to nohup.out

but then again i have to do "ctrl c" to enter commands
what do you think about the output i got after running the command?

Did you look at it? That's what you should get, and you shouldn't have had to ctrlc to get a prompt, just hit enter.

dody1313 09-19-2008 12:54 PM

i did

thnx a lot
am all smiling now...lol
but doing this would scan my mail box right?
how will it know wich is spam or not?


All times are GMT -5. The time now is 08:56 AM.