Line 702: |
Line 702: |
| | | |
| ====Deliver ALL email to a single internal mail server==== | | ====Deliver ALL email to a single internal mail server==== |
− | You can deliver all email for all domains on your SME server to a single internal mail server by setting the mail server address in server-manager::Configuration::E-mail::Change e-mail delivery settings::Address of internal mail server. | + | You can set the default delivery location for all domains on your SME server to a single ''internal'' mail server by setting the mail server address in server-manager::Configuration::E-mail::Change e-mail delivery settings::Address of internal mail server. |
| + | |
| + | Note: ''Address of internal mail server'' must be blank if you want any email delivered to the SME server itself. |
| | | |
| ====Deliver email for one domain to an internal mail server==== | | ====Deliver email for one domain to an internal mail server==== |
− | You can also configure only a single domain to use an internal mail server, or you can configure different domains to use different internal mail servers. | + | You can override the default email delivery destination for individual domains on your SME server (forwarding all email for the specified domain to another server) as follows: |
| | | |
| First, create the necessary virtual domains using server-manager::Configuration::Domains::Add Domain. | | First, create the necessary virtual domains using server-manager::Configuration::Domains::Add Domain. |
Line 711: |
Line 713: |
| Then, (assuming your domain is called ''test.com'' and the actual mail server is at ''a.b.c.d'' issue the following commands: | | Then, (assuming your domain is called ''test.com'' and the actual mail server is at ''a.b.c.d'' issue the following commands: |
| db domains setprop test.com MailServer a.b.c.d | | db domains setprop test.com MailServer a.b.c.d |
| + | signal-event email-update |
| + | |
| + | Remove the internal mail server (and return email delivery for ''test.com'' to the default for your SME server) using: |
| + | db domains delprop test.com MailServer |
| signal-event email-update | | signal-event email-update |
| | | |