Request for added functionality to the button "Move to Junk"
Idea shared by Nathan McKAy - 6/4/2026 at 7:32 AM
Proposed
Requesting extra funtionality added to the "Move to Junk" and "Move to Inbox" buttons defined on the domain level for spam training purposes.

In my case, I would love the ability to have personel be able to move Junk Emails to their junk folder and have it forward any email to an definable email address, such as "is-spam@labs.sophos.com" or "spam@proofpoint.com" or "Spam@MyInternalDomain.com" as either a forwarded message, or in the form of an attachment. 

This would allow those of us who use external email filtering solutions to be able to better deal with spam by making a integrated reporting solution.

This would also make it easier for those of us who want to analyze spam via eyeballs or AI to collect email from a multitude of users in a way that is user intuitive, as its alot easier to convince users to forward a email and get rid of it via one easy to remember click, vs asking them to forward a email, remember the address, and hit send for every spam email they get. It seems like a small thing, but it adds frustration to the end users and after a few days of such the amount of spam samples tends to die off.

Same thing for "Move to Inbox", but for false positives. 

Reguardless of the answer, thanks for your time.

While it's not a built-in feature, there is a workaround.

When a user marks a message as junk, it goes to a training folder in the spool as an .eml file. In the same sense, when a user marks a message as not junk, it goes to a ham folder in the spool.

You could easily build a script to monitor those folders and forward those .eml files to whatever spam training email address you want (or just use AI to write the script for you). That way your users still get that easy one-click experience and you could have it working in a day vs waiting months for them to approve and build this feature into SmarterMail.

where are those folders locarted?
You need to turn the setting on first to send the junk mail to the training folder. Settings-->Antispam


Then once a user marks a message as junk you will see a copy in the SmarterMail\Spool\Training folder. SmarterMail removes the file after about an hour I think it was. 
It assumes that an automated process will copy the files somewhere else, so files are purged after an hour.  Rspamd and SpamAsssasin bayesian analysis can be fed that way 

I have neither, so I have a scheduled task that copies the files elsewhere until I can review them manually.

I have some training to get users to only use it for junk.   I get frustrated when it is filled with the last All Employees email.  If I used the Training folder to feed a bayesian system, iscorong would get worse instead of better.

Foe valid feedback, I unsubscribe legitimate senders, and block the ones that nobody wants.
We are doing something very similar, but using the Training folders as part of a larger spam analysis pipeline.

Our setup consists of a dedicated Rspamd server that receives spam training data from SmarterMail. 

In addition to clients reporting junk through the manul moving of messages to junk, we maintain a number of spam-trap accounts and actively monitor inboxes for messages that evade filtering. 

When a spam message is identified, it is moved to Junk, which causes SmarterMail to place a copy of the message into the Spam Training folder.

NOTE: the junk mail reporting works both on webmail as well as IMAP junk folder, so if a user is using MacMail, and moves a message to junk, this seems to be detected by SM and also goes to training folder (which I think is quite nice).

On the SmarterMail server (linux), we have a monitoring process watching the Training folders. When new .eml files appear, the process performs two actions:

  1. The message is submitted to our remote Rspamd server for Bayesian and statistical learning.
  2. The full message content and metadata are extracted and stored in a custom MySQL database for later manual analysis.
The database gives us a permanent archive of training samples, as SmarterMail only retains the files in the Training folder for a short period before purging them. It also allows us to review trends, investigate false negatives, identify common attack patterns, and potentially perform AI-assisted analysis in the future.

For anyone already using the Training folders, they are an excellent integration point because users continue to use the standard “Move to Junk” workflow while the backend automation handles collection, learning, and analysis automatically.

Reply to Thread

Enter the verification text