SHARE
TWEET

Untitled

a guest Jan 18th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Step 1: apt-get install sendmail
  2. Step 2: /etc/init.d/apache2 restart
  3.    
  4. > apt-get install ssmtp
  5. > Configured "/etc/ssmtp/ssmtp.conf" file.
  6.    
  7. root=notifications@fostergen.com
  8. mailhub=smtp.fostergen.com:587 (Here I have doubt. I am not sure what to use here. I tried smtp.fostergen.com:587, smtp.fostergen.com:25,mx1.mailhostbox.com :587,mx1.mailhostbox.com:25.
  9.    
  10. FromLineOverride=YES    
  11. UseSTARTTLS=YES    
  12. AuthUser=notifications@fostergen.com    
  13. AuthPass=password provided during email registration on bigrock
  14.  
  15. > edited /etc/ssmtp/revaliases
  16. (added " root:notifications@fostergen.com:mx1.mailhostbox.com :587 " in the last line)
  17. > edited php.ini file (sendmail_path = /usr/sbin/ssmtp -t)
  18. > /etc/init.d/apache2 restart
  19.    
  20. > apt-get install esmtp
  21. > edited /etc/esmtprc
  22.     hostname=smtp.fostergen.com:587
  23.    username= notifications@fostergen.com
  24.    password: password provide by bigrock
  25.     mda="/usr/bin/procmail -d %T"
  26. > linked eSMTP to the legacy Sendmail path by execting the command "ln -s /usr/bin/esmtp /usr/bin/sendmail"
  27. > edited php.ini file (/usr/bin/sendmail -t -i)
  28. > /etc/init.d/apache2 restart
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top