Setup mail delivery from Jenkins and slaves

Description

I'm setting up some jobs that will require Jenkins and/or the slaves to send email to various places. Jenkins and the slaves seem to currently run Postfix in a default configuration that makes them attempt to deliver email directly to its destination. This causes sent email to get delayed.

We typically don't notice this because our SPF setting for ovirt.org are quite lax (We allow anyone to say he is from @ovirt.org, but delay messages that are not from "lists.phx.ovirt.org, "mail.phx.ovirt.org", or "gerrit.ovirt.org") abd because our ML server where we typically send to, only imposes a 60second delay.

We need to have a better setup. I suggest we configure Jenkins and the slaves to use some other server as a smart host (maybe "mail.phx.ovirt.org"?). To make the configuration as generic as possible I suggest we make the slaves deliver via Jenkins and only make Jenkins deliver to the smart host.

I think smart host configuration on Postfix is simple enough that we can make our usual job-embedded slave setup scrips set it up insead of having to resort to Puppet or Ansible.

Assignee

Marc Dequènes (Duck)

Reporter

Barak Korren

Blocked By

None

Components

Priority

High
Configure