Using MailStore Gateway with a public IP address instead of a public domain name

Using MailStore Gateway with a public IP address instead of a public domain name

In order for the MailStore Gateway to receive journal email over SMTP, it needs to be configured with a valid mailbox address. This would usually be in the form mbox123456678990@yourdomain.com

However, this must use a unique publicly accessible domain name so the mail server that is journaling to it can resolve it in DNS and so would require either a separate domain registering or a subdomain setup on an existing domain you own.  

The other option is to configure MailStore Gateway to use the public IP address of the network it is installed on.

For example, if your Internet connection has a static public IP address of 123.123.123.123, then when prompted by MailStore Gateway to enter the domain use 123.123.123.123 instead. Any mailboxes will then be created in the form mbox123456678990@123.123.123.123.

This email address can then be defined within Microsoft 365 as the journal email address.

Note that wherever possible the use of a domain name is preferred, though. The reason for this is when using a domain name, any changes of IP address that require DNS updates, automatically get reflected in Microsoft 365. However, where the use of a domain name isn’t possible for technical or operational reasons, a public IP address can still be used.
    • Related Articles

    • Adding resiliency to Mailstore gateway by running an active backup server

      If the Mailstore Gateway server is unavailable Microsoft 365 servers will queue the journaled email for 24 hours. If you are concerned that you may have an outage longer than this then you can run a second Mailstore Gateway server to act as a backup ...
    • Importing Multiple PST files in MailStore using Python script

      The MailStore API can be utilised to automate tasks that would be laborious to do manually. One such task is importing a large number of PST files for multiple Users. A good example of this is when you want to archive pre-existing Office 365 Archives ...
    • How to reset the MailStore Gateway admin password

      Before you can reset the password within MailStore Gateway you must first stop the MailStore Gateway service. Once the service is stopped you can then open a command prompt with administrative access, and enter the following command: “C:\Program ...
    • How to extract messages from a damaged MailStore archive

      When an archive store is damaged (typically due to power issues or third party antivirus interaction), the following steps can be used to extract the messages from the problematic archive to your local hard drive and then re-archive the old data into ...
    • Rebuilding Damaged MailStore Database using gfix.exe tool

      In some cases, it is possible to recover a MailStore Database file that has damage using the built-in Firebird database backup and recovery tool gfix.exe The location of the gfix.exe tool varies based on the version of MailStore: MailStore version 10 ...