Trying to send the taining commands to spamassassin, but having issue with path to junk storage.
Code:
sa-learn --no-sync --spam /var/mail/vhosts/mydomain.com/myusername/.INBOX.JUNK/{cur,new}
sa-learn --no-sync --spam /var/mail/vhosts/mydomain.com/myusername/.JUNK/{cur,new}
sa-learn --no-sync --spam /var/mail/vhosts/mydomain.com/myusername/.Inbox.Junk/{cur,new}
sa-learn --no-sync --spam /var/mail/vhosts/mydomain.com/myusername/.Junk/{cur,new}
I always get: unable to open XXX No such file or directory. I can cd to /var/mail/vhosts/mydomain.com/myusername/ and ls to see new, cur and tmp.
What am I doing wrong?
(Used this to set up email a while ago:
https://library.linode.com/email/postfi ... 0.19-mysql)