000028164 - KB-1279 - How to use sendmail and mailx

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028164
Applies ToAffected Versions: All Versions
Resolution

Follow this steps:
1.
cd /etc


 


2. vi mail.rc


 


3. In the mail.rc file add the following:


· set smtp=smtp.server.com (DNS name for your SMTP server or IP address)


· set from=email@mail.server.com


· set smtp-auth-user=email@mail.server.com (email address for valid account)


· set smtp-auth-password=******


 


4. Restart sendmail/mail daemon


 


5. Test functionality using following from command line:


· mailx -s "test" email@mail.server.com (where this is a valid Pepsico email address)


 


6. Use mailx utility in scripts running on Aveksa server (email will be sent to whoever you specify in the script)

Attachments

    Outcomes