How can mails marked as spam automatically be moved into the junk folder?
From Scalix Wiki
Revision as of 08:49, 6 October 2016 by Dirk (Talk | contribs) (Created page with "It depends on how the Antispam solution marks messages which are to be considered as Spam. In most cases there is an additional X-Header, sometimes the messages subject is pre...")
It depends on how the Antispam solution marks messages which are to be considered as Spam. In most cases there is an additional X-Header, sometimes the messages subject is prepended by something like "SPAM".
Using sxaa is possible. "man sxaa" is listing at least 2 examples for this usecase:
sxaa --user "Sam Orr" --file "JUNK" --subject "SPAM" sxaa --user "Sam Orr" --file "Spam?" --header "X-Spam-Status:***"
There is no need to create the target folder in advance.