When a message is sent to an external recipient with the same domain address the message is delivered to the local default account.
When WorkgroupMail receives a message for a recipient with a locally defined domain address, it correctly assumes that the message must be delivered locally. If the recipient’s email address is not recognised locally then by default the message will be delivered to the default account.
WorkgroupMail must be configured to relay messages for specific unknown addresses at the local domain. This is achieved by configuring the domain to relay the message if a matching routing entry exists.
Note, this solution will apply to messages received from the internet as well as those received from local senders.
To ensure that messages sent to unknown mailboxes at your domain get relayed to the ISP, do the following:
WorkgroupMail v8, v7 Enterprise and v7 Professional
Double click your Domain object in the WorkgroupMail Administrator. On the Unknown Recipients tab select the option to ‘Relay the Message if the Recipient is found in the Routing Table’. Click OK.
Double click the Settings icon and select the Routing tab. Click Add. Enter the e-mail address using either a general address for your domain (*@yourdomain.com) or a specific email address (eg. firstname.lastname@example.org). In the Server address box enter the IP address of your ISP’s SMTP server or the IP address of a public SMTP server which you can access. If you have an ISP configured then choose to allow WorkgroupMail to determine the server address. Click OK two times to save the changes.
Now, when a message is received for the local domain WorkgroupMail first tries to find a local mailbox with a matching address. If it cannot find a local mailbox then it treats the message as mail for an unknown recipient. The logic now states that unknown mail should be relayed if there is an entry in the routing table. So, the message is then sent to the internet via the specified SMTP server.
Double click your Domain object in the WorkgroupMail Administrator. On the Unknown Recipients tab select the option to ‘Relay the Message’. When a message is received for your domain where the recipient is not known, Workgroupmail will send it to the internet via your ISP’s SMTP server. Note that WorkgroupMail v7 Home does not have a routing table and so all messages to unknown recipients will be relayed.
Note: This option must be used with caution. The internet mail server responsible for this domain must be able to route these messages onwards to the correct recipient or else the messages will come back in a loop.
Double click the ISP in the WorkgroupMail Administrator. Select the ‘Unknown Recipients’ tab and select the option ‘Relay unknown mail for these domains’. (NB in earlier versions of WorkgroupMail v6 this setting was located on the Address tab)