These configuration files are in the Windows INI format. They consist of a number of sections each starting with a section header. Although MIMEsweeper is delivered with a default set of configuration files, you will probably want to edit these to tailor the performance of the modules to suit your own requirements. The MIMEsweeper Configuration Editor is a utility that helps you to edit the configuration files.
It is a Windows-based program that you control using the usual pull-down menus with mouse or keyboard selection, etc. The program starts by cascading listings of all the configuration files for the module you have chosen. As you make changes you can check easily for errors using the Integrity Check button. In addition the program helps you to set up the authorised mail user (AMU) rules and links you to the most frequently used MIMEsweeper operations. This means you can test your setup easily as you develop it.
Mail configuration | MIMESWP.CFG |
Validator configuration | VALIDATE.CFG |
Packaging configuration | PACKAGE.CFG |
Logging configuration | LOGGING.CFG |
Post office configuration | One of:
SMTP.CFG CCMAIL.CFG GRPWISE.CFG NOTES.CFG EXCHANGE.CFG |
Edit authorisations | AUTHFILE.TXT |
Web configuration | WEBSWP.CFG |
FTP configuration | FTP.CFG |
HTTP configuration | HTTP.CFG |
The files may also include comments which are single lines preceded
by a semi-colon. For example:
To start, select Module then Open and select either MAILsweeper or WEBsweeper.
The disc icon is Save all modified files, the next three are the usual cut, copy, and paste. The pull-down window is a Find history list. The binoculars icon is the Find function, and the light bulb is Integrity check.
This example means that the text 'Disposal' has been found seven times in the locations shown. (The line numbers are shown in brackets). To go to a location place the cursor in the line and right click. Then select Go to line. Alternatively, place the cursor on the line and double click.
At this point you also have the option to clear the display.
This screen shows you the rules which are set up in the configuration file AUTHFILE.TXT.
The display is divided into two by a draggable bar. The upper section shows the rules, each one having a FROM section, a TO section, and a RESPONSE. The current rules are displayed and you may select one by highlighting it. The detail of the selected rule is shown in the lower section of the display. The choices you have in the upper section are New which allows you to add a new rule, and Remove which deletes the highlighted rule.
In the lower section you can edit the FROM and TO and RESPONSE entries. Click on the Add button and enter the new or amended text you want. Then highlight the unwanted item and click on Remove. The response is a pull-down list, although you can type in a new one if you need to.
[Note: the program will not allow you to remove all the items in
a section. It does this by forcing you to add a new item before you can
remove one.]
FROM *@* TO *@* allow – this default rule sets the response to allow for any incoming and outgoing messages.
FROM head_hunter@agency.com TO *@your_company.com DeleteJunk – this
rule qualifies the response to DeleteJunk for a message to anyone
at your_company from the user head_hunter at location agency.com.
Here the second rule is set to:
FROM *@your_company.com TO *@* allow_out – this rule qualifies the response
to allow_out for outgoing mail only. This response can then be set up to
add a disclaimer on the end of any outgoing message. For a fuller explanation
see the MIMEsweeper Administrator's Guide, Adding Legal Disclaimers.
Click on [OK] and you will be asked to enter the recipient's email address in a similar way. The program now performs a check and shows you in a window what the result would be. See example below:
Click on Syntax Highlighting to enable the configuration settings. You can then change the colours and styles for the different types of syntax display in the output section of the program's main window. The default settings are as shown, but you may alter them as you please.
You can set up routing, domains, etc.
[Note: this option is available only when you have the MAILsweeper
module in use].
If=<Response>,<Attribute_Assignment>[,<NewResponse>]
Note: [ ] denote an optional parameter.
FromAdr – this specifies the sender of the inform message. It
can contain one of the tokens %ADMIN%, %SERVER%, or %SENDER%.
ToAdr, CCAdr, and BCCAdr – these specify the recipients
of the message. They may contain the tokens %ADMIN%, %SENDER%, or %RCPTS%
Subject – this specifies the string that is used as the subject
of the inform message. It may contain one of the tokens %SENDER%, %SUBJECT%,
or %DATE%.
Body – this specifies the path to a file whose contents are
the inform message itself. This file may contain any of the above tokens.
WithLog – if the value of this directive is TRUE then a copy
of the message log is added to the inform message as an attachment.
The default value is FALSE.
WithCopy – this directive controls whether a copy of the original
message is attached. The default is also FALSE.
SkipIf and PerformIf – these directives are commonly
used in Inform sections.
The InformFile directive informs WEBsweeper to block the data and sends a notification message to the browser instead. The value of the directive is the location of the file containing the message text.
The InformText directive informs WEBsweeper to block the data and sends a notification message to the browser instead. The value of the directive is the message text string.
For example:
[Confidential]
. . .
20=ConfidentialModerate
50=Confidential
. . .
A total score of 20 to 49 causes the disposal to follow the sequence
defined in the [ConfidentialModerate] section, while a response of 50 or
over results in the action defined in [Confidential].
VALLEX can be set to validate the subject line only. See the ValSubject
directive.