Patch #17492

Lowering configuration.example.yml confusion

Added by Priit Tamboom almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:


Category:Email notifications
Target version:2.6.0


When installing Redmine and uncomment example outgoing stmp settings at configuration.example.yml then user will get into annoying trobule, where default settings will overwrite uncommented one above. It took me a bit time to figure out why email delivery does not work.

I created a patch against master where I moved examples below default settings, thus users will not get easely into this kind of trouble again.

This issue is common (google: "Redmine getaddrinfo: Name or service not known") but not all solutions will point into correct solution, most will talk about DNS resolving etc.

improved_email_examples.patch Magnifier (4.71 KB) Priit Tamboom, 2014-07-17 11:19

Associated revisions

Revision 13402
Added by Jean-Philippe Lang almost 8 years ago

Lowering configuration.example.yml confusion (#17492)


#1 Updated by Go MAEDA almost 8 years ago


Current example is quite confusing. Moves default e-mail configuration to the top is nice idea.

#2 Updated by Toshi MARUYAMA almost 8 years ago

  • Target version set to 2.6.0

#3 Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

If the examples are uncommented below as proposed in the patch, all the settings in previous production "section" will be overwritten. So it doesn't look like a better option. Instead, I think that the production key should be removed in the examples to prevent that, see r13402.

Also available in: Atom PDF