REM *** Copy mail from NoSpam inbox folder to dictionary NoSpam folder.Ĭopy 'C:\SWSoft\Plesk\Mail Servers\Mail Enable\Postoffices\\MAILROOT\NoSpam\Inbox\*.mai' 'C:\SWSoft\Plesk\Mail Servers\Mail Enable\Dictionaries\NoSpam\*.*' REM *** Delete messages from the Spam inbox folder.ĭel /Q 'C:\SWSoft\Plesk\Mail Servers\Mail Enable\Postoffices\\MAILROOT\Spam\Inbox\*.mai' REM *** Copy mail from Spam inbox folder to dictionary Spam folder.Ĭopy 'C:\SWSoft\Plesk\Mail Servers\Mail Enable\Postoffices\\MAILROOT\Spam\Inbox\*.mai' 'C:\SWSoft\Plesk\Mail Servers\Mail Enable\Dictionaries\Spam\*.*' If you have configured other mailboxes for the collection of Spam or REM *** NoSpam you will need to create similar entries for those mailboxes.
REM*** the dictionary Spam and NoSpam folders and delete the messages in the REM*** This section will copy all the mail stored by your earlier configured filters into