MailSite Sieve Scripts
Mail Filtering
Within MailSite, filter rules are defined by scripts which are generated automatically when you create a filter rule in the console. These filters allow you to specify how mail should be handled in special ways. This is especially useful for identifying messages that may be dangerous or inappropriate and preventing them from entering your system.
Three levels of filtering
Server filters allow you to apply rules to every message received by MailSite's SMTP server.
Domain filters allow you to apply rules only to messages sent to or from a mailbox in a specific domain.
Mailbox filters allow you to apply rules only to messages sent to or from a specific mailbox. For all three types, rules can be added in the MailSite Console by administrators. However, rules can also be defined by end users through the MailSite ExpressPro interface.
Four types of filters
Inbound Filtering
Server Receive Script
This script is executed for all messages received by SMTPRA, set at the server level.
Local Domain Filtering
Domain Script
These scripts are specific to a given domain, set at the domain level.
Local Mailbox Filtering
Forced Mailbox Delivery Script
This script is defined at the server level, but is executed during delivery to a mailbox.
Mailbox Script
These scripts are specific to a given mailbox, set at the mailbox level.
Mailbox Delivery Script
This script is defined at the server level, but is executed during delivery to a mailbox.
Outbound Relay Filtering
Server Outbound Script
These scripts are executed during message relay to a remote server. This makes it possible to block, tag, or archive messages generated or sent through MailSite.
- Potentially dangerous mail
- Unwanted or inappropriate mail
- Blacklist or whitelist mail
- Check for spam mail
- Forward specific messages to the administrator for review
- Block, tag, or archive messages sent through MailSite
Utilizing the filter gives you powerful control to manage all incoming and outgoing mail. With filtering, you can keep your mail server running smooth, ensuring that mail is handled correctly and unwanted mail is dealt with appropriately.