Defect #8532

e-mail problem: Ruby on rail application could not started

Added by thiru vallvuar over 11 years ago. Updated about 4 years ago.

Status:ClosedStart date:2011-06-05
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Invalid Affected version:


i m using ubuntu 10.04.2 2.6.35-22-generic-pae i686 GNU/Linux ruby:ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux] rails:Rails 2.3.5. Redmine Version: 1.0.0-4 installed using apt-get. and i installed libapache2-mod-passenger. ever thing worked fine untill i configured emial. to configure email i copied /usr/share/redmine/config/email.yml.example to /etc/redmine/default/email.yml and edited the values correctly. after restart apache2 it shows Ruby on Rails application could not be started. if i remove the email.yml then it runs smoothly. find the screen shoot attched

mail_error_1.png - page1 (171 KB) thiru vallvuar, 2011-06-05 14:53

redmine_error_2.png - continuation of page1 (219 KB) thiru vallvuar, 2011-06-05 14:53

redmin_error_3.png - end of page1 (225 KB) thiru vallvuar, 2011-06-05 14:53

email.yml Magnifier (238 Bytes) thiru vallvuar, 2011-06-07 09:00

redmine_starttls_error.png (195 KB) thiru vallvuar, 2011-06-07 09:00


#1 Updated by Tom Rochette over 11 years ago

Looks like you aren't correctly typing the stuff you put into email.yml, based on the error which is a syntax error one. I'd suggest you attach email.yml here so we can see its actual content if you need further help.

#2 Updated by thiru vallvuar over 11 years ago

Thanks tom,

now i used the Gmail setting content from now the sites works but still email is not sending.
changes i did email is configured to
2.I changed the admin user email to
3.changed Emission email address to

i used send a test mail option in email notification of setting page and i got the following error.
An error occurred while sending mail (530 5.7.0 Must issue a STARTTLS command first. f3sm98123pbj.16 )

screen shoot

#3 Updated by Go MAEDA about 4 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

You can see email configuration example for Gmail on this page: EmailConfiguration

To enable starttls in Redmine 3.4, add 'enable_starttls_auto: true'.

Also available in: Atom PDF