For Developers By Developers

You can integrate Mailazy in minutes with your platform. Build and monitor your email solution on a trusted foundation with technical and strategic support when you need it the most.

Trusted by 120+ partners and delivering over 650 Million emails/month

Configure invitations emails with SMTP for Sendmail

invitations emails is an important component of any email communication strategy. In order to ensure delivery of invitations emails to your customers, reply on a trusted cloud-based email provider like Mailazy as a partner in your growth journey.

Prerequisites

You need to complete these given prerequisites, you can skip the step if you have already completed.

  1. Sign up for a Mailazy account.

  2. Complete Domain Authentication.

  3. Generate the Mailazy Access Key

Integrate Mailazy with Sendmail

Sendmail requires libsasl in order to properly send authentication requests to Mailazy servers. The saslauthd server daemon is not required unless you plan to receive authentication requests to the same server. For more information on configuring sendmail for SASL support, check the official documentation.

Set the authorization credentials in /etc/mail/access

AuthInfo:smtp.mailazy.com "U:mailazy_apikey" "P:mailazy_yourAPIKey" "M:PLAIN"

Define the Smart Host in /etc/mail/sendmail.mc You should add these lines just after the commented "#dnl define('SMART_HOST', 'smtp.your.provider')dnl" line in the file

define(`SMART_HOST', `smtp.mailazy.com')dnl
FEATURE(`access_db')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h  587')dnl

Update sendmail.cf and access.db files

(You will need to run these commands as 'su' or 'root')

$ cd /etc/mail
$ m4 sendmail.mc >sendmail.cf
$ makemap hash access.db < access

On older distros, you can run restart sendmail like so:

$ /etc/init.d/sendmail restart

If, however, you're using a newer version, do the following to restart:

$ service sendmail restart

Send transactional emails with Mailazy

Mailazy email delivery platform is powered by AI and uses the global infrastructure so that you can scale effortlessly. Mailazy is the trusted transactional email provider for hundreds of businesses and we are growing every day. We are known for being the most reliable and trusted senders on the internet.

Ready to get started?

Get started — it's free