Guest User

Untitled

a guest
Jan 18th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment