I can't find the files bayes_toks and bayes_seen in the directory /var/spool/MailScanner/spamassassin. When I need to modify the directory permissions one message error return to me. Regards,
Hello. Same problem here. The problem exactly is in step 7.6: http://www.howtoforge.com/virtual-users-domains-postfix-mailscanner-mailwatch-centos5.1-p2 ------------------------------------------- ------------------------------------------- And modify the directory permissions: Code: chown postfix:apache /var/spool/MailScanner/spamassassin/ /var/spool/MailScanner/spamassassin/bayes_* chmod g+rws /var/spool/MailScanner/spamassassin/ chmod g+rw /var/spool/MailScanner/spamassassin/bayes_* ------------------------------------------- ------------------------------------------- Folder /var/spool/MailScanner/spamassassin/ is empty, no bayes_* files on server. Spammassasin installed by cpan. Thanks in advance.
I've seen this in the README: Code: Copy the existing bayes databases and set the permissions: # cp /root/.spamassassin/bayes_* /etc/MailScanner/bayes # chown root:apache /etc/MailScanner/bayes/bayes_* # chmod g+rw /etc/MailScanner/bayes/bayes_* But /root/.spamassassin/ is also an empty folder. Regards
I had the same issue, but decided to continue to the next steps and finish the How To. Once it was up and running I found this forum post. I went back to "fix" the step and the files that were previously missing were now present. I have no idea what step filled them in but they were there and everything seems to running smoothly both before and after. Overall everything went pretty smoothly there were just one or two steps that seemed to be out of order like this one and the /var/www/html/mailscanner step where you need to chmod some files before you have made the directory.