It is now possible to determine how long attachments are to be kept on the server. If this is not defined in the configuration file, then this period will be 6 months.
<service required="false">imsEngine.startUploadClean(true, '6 months')</service>
The first parameter defines whether attachments are to be moved to the web/trash directory or intermediately deleted. The second parameter determines recording storage duration.