Hello,
I was very happy to see that grommunio-antispam offers an easy way to learn spam with activating timer for grommunio-spam-run. I have enabled the timer and saw in the journal that the grommunio-spam-run.sh script was run. So I began to debug this script. I began to understand that I need to define mysql_port in /etc/gromox/mysql_adaptor.cfg otherwise the mysql command fails. Furthermore I found out that in line 21 of /usr/sbin/grommunio-spam-run.sh the Variable $MSGFILE is empty. Good news is that the while loop does work and $SPAMMSG has a numberic value and the loop runs 5 times (that is exactly the number of Junk Mails in Junk-Folder. But now I am clueless, cause I dont understand MSGFILE=$(echo ${SPAMMSG} | awk '{ print $2 }')
.
Pershaps someone can help with this?
thx emtie