Project

General

Profile

Actions

Defect #8532

closed

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

Added by thiru vallvuar almost 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-05
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

hi,
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


Files

mail_error_1.png (171 KB) mail_error_1.png page1 thiru vallvuar, 2011-06-05 14:53
redmine_error_2.png (219 KB) redmine_error_2.png continuation of page1 thiru vallvuar, 2011-06-05 14:53
redmin_error_3.png (225 KB) redmin_error_3.png end of page1 thiru vallvuar, 2011-06-05 14:53
email.yml (238 Bytes) email.yml thiru vallvuar, 2011-06-07 09:00
redmine_starttls_error.png (195 KB) redmine_starttls_error.png thiru vallvuar, 2011-06-07 09:00
Actions #1

Updated by Tom Rochette almost 13 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.

Actions #2

Updated by thiru vallvuar almost 13 years ago

Thanks tom,

now i used the Gmail setting content from example.email.yml now the sites works but still email is not sending.
changes i did
1.email.yml 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 )

Attachment
email.yml
screen shoot

Actions #3

Updated by Go MAEDA over 5 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'.

Actions

Also available in: Atom PDF