AnyMXRelay SMTP Relay

(for Mail-in-a-Box users)

Users of Mail-in-a-Box and potentially other similar products such as Mailcow, iRedMail, Modoba, etc. often encounter email delivery issues caused by various factors beyond their control. Some of these issues include the inability to set a proper rDNS for their IP address, their IP address being listed on some internet blacklist due to a previous users actions, or simply being outright rejected by email providers such as Google and Micro$oft for seemingly no reason at all.

One solution to these problems is to use a SMTP relay service. There are many such services available for use such as Mailgun, Mailjet, Sendgrid, Postmark, Sendinblue, Mandrill, etc. Most of these services offer trial or low usage accounts which are tempting to use however, the same issues arise as the ‘free trial’ accounts are abused by spammers causing them to not be reliable at all.
To get reliable SMTP relay service one must subscribe to one of these services premium plan. These plans start at a cost of $59 a MONTH and increase from there. For the small email server operator this additional cost is prohibitive.

Recently I was assisting a MiaB user on the Slack discussion board deal with these issues and the solution to one problem seemingly created another. I took this as an opportunity to combine my knowledge of SMTP mail relays and another service providers service whom I worked with to create the AnyMXRelay SMTP Relay service. This service potentially can be used with any of the projects I mentioned above but is customized for use with Mail-in-a-Box.

Setting up this service is very simple as long as you can follow detailed instructions precisely. It will require editing your Postfix file as well as creating and hashing a new user/password file with the authentication details of the service. Additionally, a change to your SPF record in DNS will be necessary. These steps are simple if you understand how to use a text editor and the command line as well as how to edit your DNS records with your DNS provider. 

Professional installation is available for a small additional cost if desired.

The service will send your outbound email through a spam and virus detection system and will then send it out to the internet. If for some reason the email is rejected, it will be attempted again to be sent from a different IP address. If it fails again, the email will be delivered via an external provider’s SMTP relay system. With these multiple attempts, emails should never fail to be delivered to the recipient’s email server. Unfortunately, we cannot control any filtering that may be done on their mail server which would cause your emails to not be delivered.

There will be absolutely zero tolerance of unsolicited emails (SPAM) of any kind being sent.

Daily Sending Limit is an average - not a hard limit.

For more information, or to place an order

please send an email to
Scroll to Top