You should use app[:configuration] = {} if you want to make any persistent
chances to the yaml config file.More info here: https://scalr-wiki.atlassian.net/wiki/x/RgAeAQ https://scalr-wiki.atlassian.net/wiki/x/LQBC To change the From field, you might need to take a look at ssmtp config how to do this. Regards, On Fri, Jan 22, 2016 at 8:02 AM, William Fleming <[email protected]> wrote: > Okay... > > So I setup up Sendgrid and got it working. Interestingly it was actually > being sent as: > > “scalr-app@hostname” > > I also found the config.yml file in app/etc/config.yml - in there I see > the following: > > email: > address: [email protected] > name: Scalr Service > > This file is supposed to get overwritten > by `/opt/scalr-server/bin/scalr-server-ctl reconfigure` command. I am not > sure however understanding how to overwrite the values through an automated > method. Additionally, the values set for email are not even being used for > the outgoing emails. Further digging, I found that SimpleMailer.php seems > to be the one that is setting the "From" email address. I could be > wrong... nonetheless, I am not seeing how I can dynamically set the "From" > email or name that seems to be used. I need this to happen in order to > allow SES to see a "valid" domain or email. > > Any help greatly appreciated. > > -wf > > On Thursday, January 21, 2016 at 2:49:17 PM UTC-7, William Fleming wrote: >> >> Still have a time with this. >> >> I have configured the following: >> >> # AWS SES SMTP Settings >> >> app[:email_mailserver] = 'email-smtp.us-west-2.amazonaws.com:465' >> >> app[:email_configuration] = '[email protected] >> >> AuthUser=User >> >> AuthPass=Pass >> >> UseTLS=YES >> >> AuthMethod=LOGIN' >> >> I have also tried: >> >> # AWS SES SMTP Settings >> >> app[:email_mailserver] = 'email-smtp.us-west-2.amazonaws.com:587' >> >> app[:email_configuration] = '[email protected] >> >> AuthUser=User >> >> AuthPass=Pass >> >> UseSTARTTLS=YES' >> >> >> I keep getting the following: >> >> Creating SSL connection to host >> >> SSL connection using ECDHE-RSA-AES128-GCM-SHA256 >> >> 554 Message rejected: Email address is not verified. >> >> >> I have added and verified my domain and two email accounts. Any thoughts? >> >> >> -wf >> >> On Thu, Jan 21, 2016 at 12:20 PM, Daniele Testa <[email protected]> >> wrote: >> >>> No need to install ssmtp, it is bundled with Scalr. You will find the >>> logs under /opt/scalr-server/var/log >>> >>> On Fri, Jan 22, 2016 at 3:16 AM, William Fleming <[email protected]> >>> wrote: >>> >>>> The configuration is all set and the ssmtp.conf is accurate. When I >>>> register a user however, I am still not getting any emails and SES shows >>>> that no emails have been sent. Do I need to install ssmtp on the server? >>>> Also, what is the path for scalr logs on the server? >>>> >>>> Thank you. >>>> >>>> -wf >>>> >>>> >>>> On Thursday, January 21, 2016 at 12:07:15 PM UTC-7, William Fleming >>>> wrote: >>>>> >>>>> You are a rockstar!!! That fixed it. Thank you for the guidance. >>>>> >>>>> -wf >>>>> >>>>> On Thursday, January 21, 2016 at 12:02:25 PM UTC-7, Daniele Testa >>>>> wrote: >>>>>> >>>>>> The config should just be one big string: >>>>>> >>>>>> app[:email_configuration] = '[email protected] >>>>>> >>>>>> AuthUser=User >>>>>> >>>>>> AuthPass=Password >>>>>> >>>>>> UseSTARTTLS=YES >>>>>> >>>>>> ' >>>>>> >>>>>> Regards, >>>>>> >>>>>> On Fri, Jan 22, 2016 at 3:00 AM, William Fleming <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Looking for a little more insight here. In my scalr-server.rb file >>>>>>> I have setup the following for SMTP Server Settings: >>>>>>> >>>>>>> # Email Server Settings >>>>>>> >>>>>>> app[:email_mailserver] = 'email-smtp.us-west-2.amazonaws.com:25' >>>>>>> >>>>>>> app[:email_configuration] = '[email protected]' >>>>>>> >>>>>>> app[:email_configuration] = 'AuthUser=User' >>>>>>> >>>>>>> app[:email_configuration] = 'AuthPass=Password' >>>>>>> >>>>>>> app[:email_configuration] = 'UseSTARTTLS=YES' >>>>>>> >>>>>>> I then run a reconfigure. >>>>>>> >>>>>>> When I look at the ssmtp.conf file, it is updated with the >>>>>>> configuration settings however it does not add in the AuthUser or >>>>>>> AuthPass. Am I doing something wrong here? >>>>>>> >>>>>>> -wf >>>>>>> >>>>>>> >>>>>>> On Thursday, May 21, 2015 at 8:08:41 AM UTC-6, Thomas Orozco wrote: >>>>>>>> >>>>>>>> Hi there, >>>>>>>> >>>>>>>> Scalr can use any SMTP server to deliver mail through. SES should >>>>>>>> work. >>>>>>>> >>>>>>>> You can get started here and look for email configuration (it's >>>>>>>> under app options): https://scalr-wiki.atlassian.net/wiki/x/RgAeAQ. >>>>>>>> First you'll have to set *app[:email_mailserver]*. >>>>>>>> >>>>>>>> There might be a bit of work to configure email in addition to just >>>>>>>> the mailserver (e.g. usernames, etc.). Internally, Scalr uses SSMTP, >>>>>>>> here >>>>>>>> are the docs for SSMTP's configuration file: >>>>>>>> http://linux.die.net/man/5/ssmtp.conf. You can include those >>>>>>>> settings in *app[:email_configuration]*. >>>>>>>> >>>>>>>> Cheers, >>>>>>>> >>>>>>>> -- Thomas | Product Manager @ Scalr | [email protected] | >>>>>>>> www.scalr.com | blog.scalr.com >>>>>>>> >>>>>>>> On Thu, May 21, 2015 at 4:08 AM, Akshay Sharma < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> I have installed Scalr 5.3.2 (Open Source Edition). How to >>>>>>>>> configure Scalr to send mails or critical alerts? >>>>>>>>> >>>>>>>>> Also, can I use the SES mailing service provided by AWS? If yes, >>>>>>>>> where should I set the config? >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "scalr-discuss" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>> send an email to [email protected]. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "scalr-discuss" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Daniele Testa | Solutions Engineer @ Scalr | [email protected] | >>>>>> www.scalr.com | blog.scalr.com >>>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "scalr-discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Regards, >>> Daniele Testa | Solutions Engineer @ Scalr | [email protected] | >>> www.scalr.com | blog.scalr.com >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "scalr-discuss" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/scalr-discuss/D9Hg5ll0zBQ/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "scalr-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Daniele Testa | Solutions Engineer @ Scalr | [email protected] | www.scalr.com | blog.scalr.com -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
