|
To access the Mail Filters dialog use Configure Edit Filters
MailCOPA features a powerful filtering facility, enabling complex distinctions between messages so that they can be handled differently, eg by passing them to different folders, forwarding them to someone else, etc.
Filters can operate on the standard RFC-compliant header lines, or on any header or body line. From MailCOPA version 9.01, the search can be in the Entire Body, or just in the Plain Text or HTML sections. NOTE that not all messages have a Plain Text section.

Each filter can operate only on incoming or outgoing mail, not both. If you wish to use the same filter for both you must set up two copies, one for incoming and one for outgoing.
Filters can individually be activated or deactivated.
NOTE that a message will be passed through all of the filters, one after another, and if the conditions for a filter are met, the configured actions will be carried out, then the next filter tried etc.
HOWEVER, Once a Transfer action is found, then no no further filters will be tried.
eg if a message has '[gerbils]' in the subject line, one filter can forward it to a Mailing List, another filter further down the list can copy it to a specified email address, another further down the list and another can play a sound (the gerbil's mating call perhaps ???) and another can Transfer it to a specified folder. This last filter will stop further filters being tried.
Such actions are shown in the popups from the image below thus: 
Two criteria are allowed per message, which can be combined as AND, OR or UNLESS.
The ORDER of filters is important - suppose you often receive personal mail from John Smith and he also contributes to a mailing list. You wish the personal mail to go to a special folder, and the mailing list messages to go to another folder. The two filters could be:
| 1. | If mail is from John Smith UNLESS the To: address is that of the mailing list - transfer to personal folder. |
| 2. | If To: address is that of the mailing list - transfer to mailing list folder. |
This enables fine distinctions to be made, eg mail from Intervations will normally be passed to the 'Intervations' folder, but if it has come from Intervations via a mailing list, it will not. Another filter further down can therefore pick it it up and pass it to the folder for that mailing list instead (see image below).

Actions
The action is selected in the left hand field, and any necessary details (name of folder, address for redirection etc) entered or selected from the right hand folder.
Actions marked with prevent any further actions under this filter, and the running of further filters on the message.
Action
|
Incoming/Outgoing
|
Effect
|
Play Sound
|
Incoming and Outgoing
|
Useful for alerting you to important incoming mail - use your favourite .WAV file.
|
Make Subject
|
Outgoing
|
Alters the subject line of the message
|
Make Status
|
Incoming
|
Alters the Seen/Unseen status of the message, after it is copied to a folder.
|
Print Message
|
Incoming and Outgoing
|
Print the message. If you have multiple printers available, you can specify the printer in the Parameter column
|
Delete Message
|
Incoming and Outgoing
|
Deletes the message - it will be placed in the Deleted folder and will be wiped when this folder is next purged.
|
Mail back a File
|
Incoming
|
Send back a specified plain-text file to the sender: the contents of this will be placed in the body of an email message.
|
Forward to Address
|
Incoming and Outgoing
|
Forward the message to another address: you will still receive a personal copy of the message.
|
Forward to Mail List
|
Incoming and Outgoing
|
Forward the message to a mailing list (set up within MailCOPA) See the help page on Mail Lists. You will still receive a personal copy of the message.
|
Redirect to Address
|
Incoming
|
Redirect message to another address. You will not receive a personal copy of the message. The original header lines will be left unchanged apart from the To: line.
|
Redirect to Mail List
|
Incoming
|
Redirect message to a mailing list (set up within MailCOPA) See the help page on Mail Lists. You will not receive a personal copy of the message.
|
Transfer to Folder 
|
Incoming and Outgoing
|
Transfer message to a specified folder - no further actions or filters will be carried out after this. Ensure that if you want any other actions, they are configured to be done before this one.
|
Copy to Folder
|
Incoming and Outgoing
|
Place a copy of this message in the specified MailCOPA folder
|
Transfer to Other User 
|
Incoming
|
Transfer the message to another MailCOPA user. No further actions or filters will be carried out after this one.
|
Copy to Other User
|
Incoming
|
Pass a copy of this message to another MailCOPA user. It may then be subject to that user's filters.
|
Run Application
|
Incoming
|
Run an application with (a copy of) the complete message specified on the command line, eg "C:\MYAPP\MYAPP.EXE C:\WINDOWS\TEMP\MESSAGE.TXT". Ideal for inveterate dabblers!
|
Append to Digest
|
Incoming and Outgoing
|
Append the message to a digest for a mail list.
|
Transfer to Directory 
|
Incoming and Outgoing
|
Transfer the message to the specified disk directory as a text file. No further actions or filters will be carried out after this one.
|
Copy to Directory
|
Incoming and Outgoing
|
Copy the message to the specified disk directory as a text file.
|
Make Reply-To:
|
Incoming
|
Alter the Reply line in the message to a specified address - useful if a mailing list does not change the reply line to the list (from the original sender).
|
Add Sender to Mail List
|
Incoming
|
Add sender's address to a MailCOPA mailing list. See the help page on Mail Lists
|
Remove Sender From Mail List
|
Incoming
|
Remove the sender's address from a MailCOPA mailing list. See the help page on Mail Lists
|
Announce
|
Incoming
|
Announce the specified text - you will need a Text To Speech engine installed for this to work (this should be installed by default in XP and Vista).
|
Add Sender to Address Book
|
Incoming
|
Add the email address of the sender of the message to an Address Book - you must specify which book.
|
Remove Sender from Address Book
|
Incoming
|
Remove the email address of the sender of the message from an Address Book - you must specify which book.
|
Save Attachments to Disk
|
Incoming
|
Save all attachments with the message to a specified disk folder.
|
Set Message Label
|
Incoming and Outgoing
|
Set the message's label
|
Set Message Colour
|
Incoming and Outgoing
|
Set the message's colour
|
Add to Spam Score
|
Incoming
|
Add or subtract a specified figure to/from the spam score for this message. A useful way of manually 'tuning' the spam filtering.
Obviously this filter MUST be set to activate prior to the SPAM filters otherwise the score will be calculated and never used.
|
Mail Back a Stationery Message
|
Incoming
|
This filter can be used as a vacation auto-responder. Create stationery that says "I'm away until ..." then set this filter to fire on any message received (If From Matches RegEx .*) and the stationery will be returned to every sender.
Or it could be restricted to certain senders.
NOTE however that every message received will receive this, so if someone sends a series of messages they will receive this in response to each one.
|
Conditions
Contains
|
The string is somewhere in the specified line: eg "Black Adder Mailing List" is contained in the line:
The Black Adder mailing list <black.adder@somewhere.com>
|
Does not Contain
|
The string is not to be found anywhere in the specified header line. eg "The Black Adder Forum Mailing List" is not found in the above example.
|
Equals
|
The header line is exactly the same as the string.
|
Does not Equal
|
The header line is not exactly the same as the string.
|
Starts with
|
The header line starts with the string. eg, in the above example, the header line starts with "The Black"
|
Ends with
|
The header line ends with the string. eg in the above example, the header line ends with "@somewhere.com>"
|
In Address Book
|
Whether the contents of the specified line contain an address that is in an address book. You can specify which book (or any) in the Match column, which has different options in this instance. Useful for allowing through potentially "spammy" messages from people you know, if filtering is set to be done before spam checking.
|
Not in Address Book
|
Whether the contents of the specified line contain an address that is NOT in an address book. You can specify which book (or any) in the Match column, which has different options in this instance. Useful for filtering messages from people you DON'T know.
|
Matches RegEx
|
Whether the contents of the specified line match a Regular Expression. An Internet search will provide many useful sources of information on Regular Expressions, or see: www.regexbuddy.com/regex.html
|
|