SmartSieve can automatically carry out any of the following actions to a specific type of email that is sent to your account:
In order to carry out any of the above actions, SmartSieve needs to know how to identify the relevant messages. It can identify them by any or all of the following:
Advanced users can also apply customised rules and multiple rules.
There are checkboxes at the top of the page:
Checkboxes |
Description |
|---|---|
| Check messages against next rule also | Select this check box if you want the message to be tested against other rules after this one has been applied. Useful if you want more than one rule applied to a message - keeping one copy of the message filtered into a subfolder, and another copy forwarded to a different email address, for instance. |
| Keep a copy of the message in your Inbox | Select this check box if you want a copy of the message delivered to your Inbox as well as performing the specified action (such as filing it in a specified folder). |
| Use regular expressions | Select this check box if you wish to use regular expressions in your rules (technical users only). |
The 'Conditions' section is used to specify which messages this rule is applied to.
Use the 'From:' 'To:' 'Subject:' and size fields to restrict the rule to messages with specific senders, recipients, subject lines or sizes.

The 'If mail header:' condition is used to apply conditions to other email headers; for example:

'If mail header: X-SPAM-LEVEL contains +++++' means the rule will be applied to messages which the spam filters have given a score of 5 or above.
The 'Actions' section specifies what action to perform on messages that match the conditions in the 'Condition' section above.

Action |
Description |
|---|---|
| File Into: | Used to automatically file the message into a specific folder. Select the target folder from the pull-down list. |
| Forward to address: | Used to forward the message to another email address |
| Send a reject message | Used to reject a message. The sender is sent a copy of the message in the text box on the right, and the message is discarded. |
| Discard message | Silently discards the message |
When you've finished editing a rule, click 'Save changes' to save it.
Sometimes you may find legitimate email is marked as spam and filed into your possiblespam folder. You can use SmartSieve to whitelist this mail; simply create a rule with the Action 'File Into: Inbox'

It is also possible to write a custom filtering rule in the 'Custom Rule' box. This is only recommended for advanced users who know something of the Sieve language - stay away from it unless you're feeling brave!
Example:
To create an auto response and discard all incoming email add the following custom rule, changing the two email addresses, the Mailname address (A.N.Other@bristol.ac.uk) and the username address (xxano@bristol.ac.uk).
if not header :contains "X-Spam-Flag" "Yes" {
vacation :days 1 :addresses ["A.N.Other@bristol.ac.uk", "xxano@bristol.ac.uk"] text:
I am away on maternity leave and will not receive or respond to emails.
Regards,
A N Other.
.
;}
discard;
This will send a vacation like response to any email that has a spam score of less than 5.0 and delete all newly delivered email, spam or not.