Patch #17492

Lowering configuration.example.yml confusion

Added by Priit Tamboom over 4 years ago. Updated about 4 years ago.

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

0%

Category:Email notifications
Target version:2.6.0

Description

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 about 4 years ago

Lowering configuration.example.yml confusion (#17492)

History

#1 Updated by Go MAEDA about 4 years ago

+1

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

#2 Updated by Toshi MARUYAMA about 4 years ago

  • Target version set to 2.6.0

#3 Updated by Jean-Philippe Lang about 4 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