> spamd start (for testing): spamd -q -D -x -p 6666 > in another ssh session: echo -e "From: > user\nTo:user\nSubject: Test\n\n" | spamc -u 'dale' -p 6666 > > This way I can test sql userprefs without affecting the > running spamd listening on 783. > > Here is the output from the spamc side: > ===== > From: user > To:user > Subject: Test > > ===== > Note that there is no indication of any scanning taking place. >
Okay, stop right there and do the following... # echo -e "From: user\nTo:user\nSubject: Test\n\n" | spamc -u 'dale' -p 6666 # echo $? If you don't see a exit status of 0 returned from echo $?, you got problems outside the SQL config realm. Since you are using 'spamc -x', spamd should exit with a status code > 0 when it fails... # echo | spamc -x -p 784 # echo $? 69 dallas
