Marc Perkel wrote:
> Trying to set up spamc/spamd learning. Have a dedicated spamd server
> that is fed from several MTA machines running exim. On the exim side
> I'm piping messages into spamc as follows:
>
> unseen pipe "/etc/exim/scripts/learn-spam"
>
> The learn-spam script looks like this:
>
> /usr/bin/spamc -d euclid.ctyme.com -x -t 15 -L spam > /dev/null 2>
> /dev/null
> /bin/echo "" > /dev/null
>
> The echo command is just there so it returns a "0" and exim doesn't
> complain. Probably a better way to do that. But - over on the spamd
> server side I'm getting:
>
> Mar 24 15:01:30 euclid spamd[2870]: spamd: Tell: Setting local for
> mail:11 in 0.1 seconds, 1512 bytes
> Mar 24 15:01:30 euclid spamd[5417]: spamd: Tell: Did nothing for
> mail:11 in 0.1 seconds, 13139 bytes
>
> The "Did Nothing" doesn't look good. I'm doing something wrong? is it
> the user? Should I try to force it to be root? Is it permissions?
> Trying to feed mysql bayes.
I'm certainly no expert at this config, but did you start spamd with the
-l (aka --allow-tell) option?