Integrating Amply with Sendmail is easy and can be done in just a few minutes.


Set the authorization credentials in /etc/mail/access: "U:yourAmplySMTPUsername "P:yourAmplyAccessToken" "M:PLAIN"

You can find your SMTP username from your General Settings page.

Update your config

Define the Smart Host in /etc/mail/

define(`SMART_HOST', `')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl

Next, update and access.db files (you will need to run these commands as 'su' or 'root'):

$ cd /etc/mail
$ m4 >
$ makemap hash access < access

Restart Sendmail

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

$ /etc/init.d/sendmail restart

On newer versions, restart with:

$ service sendmail restart


Sendmail should now be configured to use Amply!

What’s Next