-
Switch to the “Buckets” tab.
Make sure that “Subject line modification” is switched to “Off”.
Make sure that “X-Text-Classification Header” is switched to “On”.
Right-click the spam folder in M2 and select “Properties…” from the context menu.
Switch to the “Filter” tab in the properties dialog.
Click “Add filter”.
From the drop-down box that currently contains the word “Subject”, select “Any header”.
From the drop-down box next to it that currently contains the word “Contains”, select “Matches regexp”.
In the edit box to the right of these two drop-downs, type “X-Text-Classification: spam”. If the bucket that you set up in POPFile as your spam bucket has a different name, e.g. “junk”, then enter that name instead of “spam”.
Click “OK”.
If you have set up more than two buckets in POPFile then create a new View or select an existing View in M2 and edit it's properties.
Again, change to the filters tab and let it filter any header on a regular expression. This time enter “X-Text-Classification: bucket-name” where “bucket-name” is the name of any other bucket you have set up in POPFile.