Since the start, Jenkins has been using the smtp.pmtpa.wmnet DNS entry to send its email. The DNS entry has been removed yesterday and no mails were sent anymore. I have set jenkins to use wiki-mail.wikimedia.org instead.
Faidon recommended to use the puppet variable $::mail_smarthost , but Jenkins configuration is not maintained by puppet.
We should either:
- puppetize Jenkins (0% chance it is going to happen)
- use Puppet to set SMTP relay listening on localhost and point Jenkins to it. The conf will be managed by puppet and the entry will be stable in Jenkins config
- find out a stable DNS entry to use instead of wiki-mail.wikimedia.org