1. Home
  2. Knowledge Base
  3. Softalk
  4. Softalk Mail Server
  5. How can I save a copy of messages into a specific Windows folder?

How can I save a copy of messages into a specific Windows folder?

Symptoms

A copy of message files needs to be saved into a specific Windows folder

Resolution

This is possible by using a specific rule in Content Filtering, such as the one below

More Info

Note: Content Filtering is integrated into WorkgroupMail v8 and WorkgroupMail v7 Enterprise, but for WorkgroupMail v7 Professional the Content Filtering plug-in needs to be installed and licenced. If you do not have the Content filtering plug-in then it is recommended that you upgrade to WorkgroupMail v8. Click here for details.

Detail

Example 1. To keep a copy of outgoing messages sent to a particular domain in a specific folder on the server, create the rule as follows:-

File domain.com messages to a folder
Check messages before sending. If message sent to *domain.com* run script

the script must be set to the following

set fso = createobject("Scripting.FileSystemObject")
if not fso is nothing then
fso.CopyFile "<file>", "c:domainbackup"
set fso = nothing
end if

Set the path as required.

Example 2. To keep a copy of messages in a pre-defined public folder on the mail server, create a Content Filtering rule as follows.

File domain.com messages to a public folder
Check messages before sending. If message sent to *domain.com* copy to ‘domain.com outgoing copies’

This will save copies of the relevant outgoing messages on the mailserver in the specified public folder. Using WebMail or an IMAP client you could view these saved message files on the mail server.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support