User Tools

Site Tools


reference:attachment_processing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
reference:attachment_processing [2012/07/23 17:28] – created simonreference:attachment_processing [2012/07/25 09:56] simon
Line 7: Line 7:
 The **Filtering** tab is divided into four main sections:  The **Filtering** tab is divided into four main sections: 
 ====Attachment Filtering==== ====Attachment Filtering====
-Attachment filtering is applied when a new message is received by VPOP3. The **Attachment filenames to filter** box allows you to use basic pattern matching, so that VPOP3 will only filter certain attachments; for instance, if the file has a filename extension, which would enable a malicious file to accidentally be run by the recipient.+Attachment filtering is applied when a new message is received by VPOP3. The **Attachment filenames to filter** box allows you to use basic pattern matching, so that VPOP3 will only filter certain attachments; for instance, if there is particular filename extension, which would enable a malicious file to accidentally be run by the recipient.
  
 The syntax for pattern matching is to type specific characters, where they will appear, and substitute a single, but unknown character with **?**, and substitute an unknown number of characters with **<nowiki>*</nowiki>**.\\ The syntax for pattern matching is to type specific characters, where they will appear, and substitute a single, but unknown character with **?**, and substitute an unknown number of characters with **<nowiki>*</nowiki>**.\\
Line 36: Line 36:
  
 ====Outgoing Messages==== ====Outgoing Messages====
 +If you check **Reject outgoing messages with filtered attachments**, VPOP3 will not send any messages with attachments that meet the filtering criteria.\\
 +This is particularly useful as a second line of defence, in case something gets onto the network and tries to send messages with certain types of file attachment.
 +
 ====Email notifications==== ====Email notifications====
 +Notification emails will be sent out to the sender when their message contains filtered attachments.
 +
 +You can specify **Sender** and **Reply-To** addresses for the notification message.
  
 =====Filtering Conditions===== =====Filtering Conditions=====
 +The **Filtering Conditions** tab allows you to optionally exclude or include messages in the attachment filtering, based on the message headers.
  
 +There are two boxes for entering conditions:
 +  * **Skip filtering for**
 +  * **Do filtering for**
 +
 +Rules in **Skip filtering for** will be applied first. If there is a successful match, no filtering will take place on the message. If there is no match, VPOP3 will apply the **Do filtering for** rules. If there is a successful match, or if **Do filtering for** is blank, VPOP3 will then filter the message for blocked attachments.
 +
 +Each rule needs to be entered as a separate line, in the format ''<**Header field**>: <**Data to match**>''. e.g. ''Subject: Annual accounts''.\\
 +You may either use wildcards (**?** and **<nowiki>*</nowiki>**) or regular expressions for the **Data to match** part of the rule. e.g. ''Subject: Annual accounts for*'', or ''Subject: /Annual accounts for (Your main business|Your other business)/i''
  
 =====Extraction===== =====Extraction=====
 +The **Extraction** tab allows you to enable and configure the Attachment Extraction feature.
 +
 +Attachment Extraction is the process of decoding an attachment from an incoming message, and saving it into a directory that is accessible from the VPOP3 computer. These attachments may optionally be removed from the message, before being allocated to the recipient(s).
 +
 +  * **Extract attachments to directory** - //This allows you to specify any folder that is accessible by VPOP3. Assuming a default installation, the default path is **c:\vpop3\_attach**. If you plan to allow the users to view the attachments, you would normally pick a shared directory on the network and enter the [[wp>Path_(computing)#Uniform_Naming_Convention|UNC path]]. The UNC path is important; not only because VPOP3 normally runs as the Local System user and so doesn't have access to mapped drives, but also because users are issued with a link to the file, when the file is removed from the message. The UNC path should make it easier to access the file, provided that the appropriate network permissions have been set.//
 +
 +The attachments directory can include tags, which will be replaced by a dynamic value, such as:
 +  * **%subject%** - //The message subject, but with some characters replaced with underscores//
 +  * **%year%** - //Four digit year//
 +  * **%month%** - //Two digit month//
 +  * **%day%** - //Two digit day of the month//
 +  * **%hour%** - //Two digit hour (0-23)//
 +  * **%minute%** - //Two digit minute//
 +  * **%date%** - //In the format of the locale date on the server//
 +  * **%dow%** - //A numeric representation of the day of the week (0-6). Sunday is 0, Monday is 1, Tuesday is 2, etc.//
 +
 +There are four processing options
 +  * **Leave attachments in the original message** - //If this is unchecked, attachments will be removed from the email, and the message will contain links to the file(s) stored in the attachments directory.//
 +  * **Put attachments in subdirectories by message subject**
 +  * **Put attachments in subdirectories by receipt date** - //An alternative to storing attachments in subdirectories by message subject.//
 +  * **Resolve filename conflicts** - //Give an attachments an alternative name, instead of overwriting a file that is already there.//
reference/attachment_processing.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1