Results 1 to 3 of 3

Thread: sendmail

  1. #1
    Join Date
    Jun 2010
    Posts
    5

    Default 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

  2. #2
    Join Date
    Aug 2009
    Posts
    61

    Default

    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,

  3. #3
    Join Date
    Jun 2010
    Posts
    5

    Default

    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
  •