After updating your main.cf and your Dovecot configuration you can now add alias domains to ViMbAdmin:
- Create new domain example.net which we want to alias to example.com
- Create new alias on example.net named *@example.net that forwards to *@example.com
- Test send an email to [email protected] and [email protected] and verify both messages are delivered successfully to [email protected]
Users can log in to Dovecot (IMAP/POP3/SMTP AUTH) using either example.net or example.com. If login fails to find the username/password combo on the first try, it will attempt to look it up in the alias table, and allow login if that succeeds. This way users can configure their mail clients however they please.