To properly send authentication requests to Elastic Email servers Send Mail requires libsasl. The saslauthd server daemon is not required unless you plan to receive authentication requests to the same server.
Set the authorization credentials in /etc/mail/access

Some may need to installcyrus-sasl-plain order to avoid authentication issues. We have not validated this requirement, so please make sure your system administrators, Ops, and/or InfoSec people approve this change before you make it! "U:yourUserName" "P:yourPassword" "M:PLAIN"

Define the Smart Host in /etc/mail/ You should add these lines just after the commented “#dnl define(‘SMART_HOST’, ‘smtp.your.provider’)dnl” line in the file:

define(`SMART_HOST', `')dnl 


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

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

Update and access.db files:
(You will need to run these commands as ‘su’ or ‘root’)

$ cd /etc/mail 

$ m4 >

$ makemap hash access < access

On older distros, you can run restart Send Mail like so:

$ /etc/init.d/sendmail restart

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

$ service sendmail restart
Did this answer your question?