quattor/configuration-modules-core — pull request #12 by gauthierl (2013-03-08 10:00:40+00:00)
Title: ncm-sendmail: quote SMART_HOST to allow brackets.

I was trying to set the SMART_HOST parameter with something like "[smtp.server.net]". This configuration make it possible to directly use the IP instead of using the "MX" record to retrieve the IP...

The component refuses to make the change because the square brackets are considered as part of the regexp. So, i've done a tiny change to quote the SMART_HOST value before use it.