Hi there,
If I use the spam option in Mailwatch I get this error:
SA Learn Number found where operator expected at (eval 2228) line 1, near ") 2", (Missing operator before 2?)
I upgrade EFA from the console, but the message is still not gone.
This is probably a wrong setting somewhere, but I can't find it.
Does anyone know where to look for the problem?
Thanks,
Roger
SA-Learn error
Re: SA-Learn error
Did you ever resolve this problem?
I'd debug it by running sa-learn from the command line, for example:
$ sa-learn -D --spam /var/spool/MailScanner/quarantine/20220318/spam/4KKXJF2T1ZzNCQtQ | less
You'd have to find the path to your message by searching for the messageid of the message in question. This works:
$ find /var/spool/MailScanner/quarantine -name 4KKXJF2T1ZzNCQtQ
I'd debug it by running sa-learn from the command line, for example:
$ sa-learn -D --spam /var/spool/MailScanner/quarantine/20220318/spam/4KKXJF2T1ZzNCQtQ | less
You'd have to find the path to your message by searching for the messageid of the message in question. This works:
$ find /var/spool/MailScanner/quarantine -name 4KKXJF2T1ZzNCQtQ
Re: SA-Learn error
OK, I tried this and it gives no error and says it checked 1 mail and put 1 tot the database. Also if I do it again, it just examines 1 mail, but doesn't save it anymore. So it seems to be working fine from the prompt. Doing it from mailwatch however gives the same problem. But I think it still works, because doing it again from prompt it examins 1 mail but doesn't add it to the database.
Thanks,
Roger
Thanks,
Roger
Re: SA-Learn error
Do you get the same error everytime you mark a message as spam in the mailwatch interface?