Karsten Bräckelmann-2 wrote:
> 
> Check your logs.
> 
> spamd likely logged the failure. And btw, spamc also logs in some cases,
> like refused connection attempts to spamd. You will find your previous
> attempts without spamd running being logged.

Thanks.  That solved my problem.  It has thrown the following error in log
that it has exceeded the max message size:

Jul 14 22:23:55 myserver spamc[15527]: skipped message, greater than max
message size (512000 bytes)

After increasing max message size in "/etc/mail/spamassassin/spamc.conf", am
able to get spam score for my email message.

As you'd pointed rightly, both "spamc" and "spamd" log statements are logged
here (/var/log/maillog).

Karsten Bräckelmann-2 wrote:
> 
> Also, try something like this.
> 
>   echo | spamc -x; echo $?

And this was really helpful to debug.

-- 
View this message in context: 
http://old.nabble.com/spamc-client-always-returning-0-0-tp29173280p29181721.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to