-
Aug 9th, 2010, 12:23 PM
#1
sendmail
Hi-
I was wondering if there's a good way to have my webapp instance come up with sendmail started and configured since these days you can actually send email from EC2 servers w/o everything spam blocking.
Thanks,
Collin
-
Aug 9th, 2010, 12:51 PM
#2
Hello Collin,
To install and configure sendmail you would need to write an initialization script that will be run on your EC2 instances prior to starting your app. You have a choice of "Apache initialization script" which is run on the Apache instance, and "Container initialization script" which is run on the Tomcat/tcServer instance(s). Of course, if you run your application as a "Single instance" deployment, they are the same instance.
An initialization script is a shell script that will be run as root, so you have all the power to install, configure, run any software you like. The script will be run one time when an instance is configured, and won't be run on reboots.
Hope this helps,
-
Aug 9th, 2010, 12:56 PM
#3
Ah, I see. That makes perfect sense. Thank you for the quick response.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules