Skip to content

Use SendGrid/Mandrill/External SMTP on your linux server (sendmail replacement).

License

Notifications You must be signed in to change notification settings

KuJoe/Sendmail-to-SSMTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Sendmail to SSMTP (MIT License)
Version 1.2 by KuJoe (JMD.cc)

1.1 - Fixed directory for revaliases
1.2 - Add iptables rules to prevent blocking SSMTP from connecting to remote SMTP server 
	
//Requirements:
NONE

//Installation:
1) Upload or copy/paste the contents of setup.sh to your server.
2) Edit setup.sh to fit your needs:
	2a) Uncomment the two correct lines based on your OS.
	2b) Change "mydomain.com", "[email protected]", and "API_KEY_FROM_MANDRILL" to your API/Authentication settings.
	2c) Replace "smtp.mandrillapp.com" with "smtp.sendgrid.net" to use SendGrid, you can specify any other SMTP server also.
	2d) Change [email protected] to your own e-mail address to receive the test e-mail.
3) Run the script (sh setup.sh) on your server and check the test e-mail for confirmation. Once you get the test e-mail, feel free to delete setup.sh since you should never have to run it again.

//NOTE:
If you are using iptables to lock down your server, please uncomment the appropriate lines so that the firewall rules do not block outbound connections over port 587 (adjust the port number to your specific needs).

About

Use SendGrid/Mandrill/External SMTP on your linux server (sendmail replacement).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages