> I'm setting up the learnspam script in cron.daily to use with my Spam ham
> folders. Per the instructions on the mailing list, it's set up as a soft
> link from /etc/cron.daily to /usr/bin.   However, when I try testing it
> with
> ./learnspam, I get the following error:
>
> ./learnspam: line 32: syntax error: unexpected end of file
>
> Any ideas?
>
> Thanks,
> Ron Jones
>

Hi Ron,

Take a look at /etc/mailfilter. If you enable "spam detection" in
qmailadmin, maildrop will filter all incoming mail per the instructions
set by mailfilter.

Spam tagged mail with a score over 12 are processed by sa-learn and
dropped. Spam tagged mail with a score greater than 5 but not greater than
12 are sent to .Spam/  The balance of the mail is delivered normally.

For your problem, here are a couple thoughts:

The new version of sa-learn returns an error if no mail exists in .Spam/ 
This may be causing your error, but I doubt it.

The other possibility may be an error in your user list.

If it were me, I would comment the sa-learn statements and add an echo
statements to visually see if the merge function is working correctly. If
nothing else, it should help to isolate the problem.

Regards,

Nick



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to