LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 09-17-2008, 01:07 PM   #1
dody1313
Member
 
Registered: May 2007
Posts: 179

Rep: Reputation: 30
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
 
Old 09-18-2008, 11:04 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,117

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Quote:
Originally Posted by dody1313 View Post
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?
 
Old 09-18-2008, 12:52 PM   #3
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
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"
 
Old 09-19-2008, 08:30 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,117

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Quote:
Originally Posted by dody1313 View Post
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

???
 
Old 09-19-2008, 09:32 AM   #5
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
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
 
Old 09-19-2008, 09:38 AM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,117

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Quote:
Originally Posted by dody1313 View Post
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.
 
Old 09-19-2008, 10:43 AM   #7
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
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?
 
Old 09-19-2008, 12:10 PM   #8
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,117

Rep: Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455Reputation: 2455
Quote:
Originally Posted by dody1313 View Post
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.
 
Old 09-19-2008, 12:54 PM   #9
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
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?

Last edited by dody1313; 09-19-2008 at 12:58 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dspam configuration dody1313 Solaris / OpenSolaris 4 07-23-2008 03:39 PM
DSPAM Running on Debian ninersheaven Linux - Software 0 03-15-2006 08:40 AM
Dspam Authentication bobcatch Linux - Newbie 0 10-08-2005 06:29 AM
Dspam karunesh Linux - General 2 07-27-2004 10:44 AM
Dspam ekoome Red Hat 4 10-03-2003 10:19 AM


All times are GMT -5. The time now is 01:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration