Delete Files Older Than - run from the command line

If you need to remove files on schedule you can run the application without the GUI interface. The application support -f command line switch to run rules in the background, for example:

"<PATH>\MSHSoftware.DeleteFilesOlderThan.exe" -f c:\settings.xml

where settings.xml file is created from Options | Export rules menu.

If you would like to automatically generate CSV report you should use -o parameter, like below:

"<PATH>\MSHSoftware.DeleteFilesOlderThan.exe" -f c:\settings.xml -o c:\reports

Learn more how to run application on schedule.

Output from --help parameter:

MSH Delete Files Older Than 1.3.0
Copyright (C) 2017 MSH Software
Usage: MSHSoftware.DeleteFilesOlderThan.exe -f settings.xml -o c:\reports\
  -f        Settings file path.
  -o        CSV reports output directory path. Optional, should be used only
            with -f parameter.
  --help    Display this help screen.

To learn more visit MSH Delete Files Older Than website.

See also:

» Read more

How to forward email to several recipients

In the previous post I described how to configure MSH Traffic Policy milter application to redirect messages to another recipient based on the message subject. Today I will show how adjust actions to forward an email message to several persons, not only one.

Please refer to the linked post how to create a rule and define conditions, in this post I will only modify actions. Modify Forward Action Edit already created rule. Select rule and click Actions button and select Edit menu. Add second envelope recipient to the message, click Add button and Add Envelope Recipient menu. Put email address in the address field. Click OK button.

From the list select Add Message Header entry and click Edit button. In the Header Value field put ; email address. Don’t forget about semicolon, it’s needed because we add another email address to the MIME header. Click OK button.

Click OK button to close the rule wizard and click Save All button to preserve changes.

Now when a message will match conditions it will be forwarded to two recipients. They both will receive a message as carbon copy recipients.

To learn more visit MSH Traffic Policy website.

» Read more