How could one perform a catch-all operation to another host.
Solution
The default catch-all feature of Axigen does not allow redirecting messages for non-existent accounts to remote recipients. Using the Advanced Acceptance / Routing rule wizard we can configure a rule that redirects messages for non-existing accounts to another mail server.
Please take the following steps to create this rule:
- Login to the Webadmin interface.
- Click the Security & Filtering button.
- Click the Acceptance & Routing link.
- Click the Advanced Settings tab.
- Click the Add acceptance / routing rule button.
- Type a name for the rule (ex.: catchall_route).
- In the Conditions section use the selection box to select the Domain is Local item from the Recipient category and click the Add condition button. Ensure the condition's checkbox is enabled.
- For incoming messages that match must be set to ALL of the conditions below.
- In the Conditions section use the selection box to select the Email is local item from the Recipient category and click the Add condition button. Keep the default setting of the condition.
- In the Actions section use the selection box to select the Action item from the SMTP category and click the Add action button. In the newly added action select the Accept option for the SMTP action and type a message that will be issued whenever a message is accepted but the recipient does not exists. This is required in order to override the default behavior of rejecting messages to non-existent local recipients.
- In the Actions section use the selection box to select the Recipient relay host item from the Recipients category. Type the hostname of the mail server to which the message must be relayed. Please note that IP addresses can be used if they are enclosed in brackets.
- Click the Save configuration button to save and apply the new rule.
Please take the following steps to create this rule:
- Login to the Webadmin interface.
- Click the Security & Filtering button.
- Click the Acceptance & Routing link.
- Click the Advanced Settings tab.
- Click the Add acceptance / routing rule button.
- Type a name for the rule (ex.: catchall_route).
- In the Conditions section use the selection box to select the Domain is Local item from the Recipient category and click the Add condition button. Ensure the condition's checkbox is enabled.
- For incoming messages that match must be set to ALL of the conditions below.
- In the Conditions section use the selection box to select the Email is local item from the Recipient category and click the Add condition button. Keep the default setting of the condition.
- In the Actions section use the selection box to select the Action item from the SMTP category and click the Add action button. In the newly added action select the Accept option for the SMTP action and type a message that will be issued whenever a message is accepted but the recipient does not exists. This is required in order to override the default behavior of rejecting messages to non-existent local recipients.
- In the Actions section use the selection box to select the Recipient relay host item from the Recipients category. Type the hostname of the mail server to which the message must be relayed. Please note that IP addresses can be used if they are enclosed in brackets.
- Click the Save configuration button to save and apply the new rule.
OS:
LinuxWindowsFreeBSDNetBSDOpenBSDSolaris
Distros:
WindowsDEB based distros amd64FreeBSD 7.x