Koozali.org: home of the SME Server

Upgraded to SME 8.x and can no longer locate junkmail folder

Offline jarthurs

  • **
  • 29
  • +0/-0
Upgraded to SME 8.x and can no longer locate junkmail folder
« on: March 14, 2014, 11:56:58 AM »
I've upgraded to SME 8.x from 7 recently and have been suffering a terrible tsunami of spam. I switched on Bayesian learning and copied all the spam that isn't being tagged into my junkmail folder. But I can no longer manually train spamassassin using sa-learn because I can't find the junkmail folder. I have a handful of folders working fine in both webmail and IMAP but cannot locate them on the server.

The path /home/e-smith/files/users/<username>/Maildir/cur appears to be the sole repository for mail.

Tried searching on here, but all things Bayesian seem to lead back to 7.x so I'm wondering what I'm missing.

Regards,
Jason.

Offline warren

  • *
  • 293
  • +0/-0
Re: Upgraded to SME 8.x and can no longer locate junkmail folder
« Reply #1 on: March 14, 2014, 02:00:29 PM »

 
Code: [Select]
cd /home/e-smith/files/users/<username>/Maildir/
ls -la

will show      .junkmail

ls -la /home/e-smith/files/users/<username>/Maildir/.junkmail/

Offline jarthurs

  • **
  • 29
  • +0/-0
Re: Upgraded to SME 8.x and can no longer locate junkmail folder
« Reply #2 on: March 14, 2014, 02:11:59 PM »
Excellent, many thanks. Now I can help train up spamassassin even quicker.

Thanks,
Jason.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Upgraded to SME 8.x and can no longer locate junkmail folder
« Reply #3 on: March 14, 2014, 07:23:57 PM »
jarthurs

The junkmail folder is where messages that have already been identified as spam are moved to. There is no point re-teaching spamassassin about messages in that folder as spamassassin already knows about them (ie those messages that have been automatically moved there by the system, as per settings in the server manager Email panel).

Old howtos refer to creating a folder named LearnAsSpam, & this is the folder that you manually move untagged messages into. The system would scan that folder, train spamassassin & delete the messagrs nightly when done. I am referring to the sonoracom howto, check the FAQ (I think).

So better for you to create & use the LearnAsSpam folder for each user, if not already existing.

There were also other howtos & contribs on the same spam handling subject, so refer to those as well.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.