Lyris User's Guide
[previous] [next] [contents]
Mail Receive Rules
Table of Contents
Lyris Email Commands
Web Interface for Users
Server Administrator
Overview of Server Administrator
Server Admin Menu
Sites Menu
Server Config
Activation code and admin contact
TCP/IP Settings
Mail Receiving Settings
Incoming From: Mail Rewrites
Incoming To: Mail Rewrites
Ban Mail From
Remove Lyris Addresses
Mail Receive Rules
Max Message Size
Fast Bounce Handling
Loop Detection
Loop Exception
Mail Delivery Settings
Lyris Command Protocol (LCP) Settings
Programming Extensions at the Server Level
Miscellaneous Server Config Settings
Server Documents
Server Action Phrases
Server People
Incoming Mail
Outgoing Mail
Server Admin Log
Shutdown Server
Site Administrator
List Administrator
Other Topics
Add-On Packages
Installing and Upgrading
Frequently Asked Questions

Mail Receive Rules

Defines the rules by which Lyris determines whether mail should be processed by Lyris or not.

By default, Lyris looks at the username of email it receives to determine whether the message should be processed by Lyris. The host name portion of the mail address is not consulted. Lyris does this to support any number of virtual hosts without needing to be configured. By default, Lyris will automatically assume the hostname identity of any email it receives which is addressed to a valid Lyris user name.

This Mail Receive Rules option allows you to change this default behavior, so that Lyris first looks at the rules you have defined, and if the local recipient address does not match a rule, the message is not processed by Lyris.

The Mail Receive Rules are simple text search rules. For example, to receive any mail addressed to the "" domain, the rule would be:

this would allow any of these different addresses to be received:

but any address which did not have "" in it would be rejected. If your rule was "", only the first example above "" would be accepted.

The most common use for this feature is if you are using Lyris in front of another mail server, and you want to make sure that Lyris only accepts mail addressed to itself, and forwards on any mail addressed otherwise. If you have told Lyris to "Forward non-Lyris Mail" to another location, any mail which does not match a "Mail Receive Rule" will automatically be forwarded on to the other server. See Forward Mail.

If you do not have "Forward non-Lyris Mail" defined, then mail which does not match a Mail Receive Rule will simply be rejected.

You can define multiple Mail Receive Rules, each on a separate line

Other pages which link to this page:
  • Mail Receiving Settings
  • New in Version 2.5
  • Page 120 of 556