234

(FAQ) How can I clear out my users' spam folders automatically?

How can I clear out my users' spam folders automatically?

The accountprune program that comes with MDaemon can do this. Create a midnight.bat file and place it in the MDaemon\app directory.

For the contents, enter:

Accountprune /m /d=2 /p=''Spam.IMAP''

The midnight.bat is run every night at midnight.

 

In older versions of MDaemon (v8 and previous) the spam folder was called ''Junk E-mail.IMAP''.

Additional Comments

When using the AntiSpam tools in MDaemon 6.8 and above, an option is provided to allow suspected spam mail to be directed into the recipient's spam IMAP folder. The above directions allow you to clear these folders out so that spam does not pile up.

In older versions of MDaemon (v8 and previous) the spam folder was called ''Junk E-mail.IMAP''.