Adding an IMAP / POP3 Authentication Server per domain allows for the user details in the IMAP / POP3 server to be automatically updated to the MailShark account created for them.


To add an IMAP / POP3 Authentication server to a domain you need to login with your MailShark Domain Administrator account and perform the steps below.


Adding Authentication Settings

  1. Click Domains
  2. For the chosen domain > Click the circular gear icon under the actions area. This is titled Manage settings on a mouse over of the gear icon.
  3. Click Add Authentication settings
  4. Enter the server IP address or Hostname in the Server address field
  5. Select the Authentication protocol in the Protocol drop down
  6. Enter the port in the Port field
  7. Ensure the Enabled checkbox is ticked
  8. Check the Split address checkbox if the username does not contain the domain part
  9. Enter a username map template if your usernames require translation eg. Webmin creates usernames like domainowner.username so the template would be domainowner.%(user)s.
    For available variables see Username map template variables below.
  10. Click Add

Username map template variables


Username map templates allow you to map MailShark logins to complex user naming schemes such as those used by web hosting control panels for virtual accounts.

The following variables are available to your username map template:

  • %(user)s - replaced by user part of the login
  • %(domain)s - replaced by the domain part of the login

Notes
  • If you have a firewall which blocks inbound IMAP / POP3 ports (by default), you'll need to allow the configured IMAP / POP3 port inbound from the MailShark servers (the 59.191.232.0/24 subnet) to your authentication server.