12 Commits

Author SHA1 Message Date
Monty Taylor
615e0cfb39 Align exim module parameter name with the tree
The rest of the tree, literally everwhere, calls this value
sysadmins - but the exim module calls it sysadmin. This doesn't
really matter of course, but I noticed it while looking in to a
review on another patch and couldn't not fix it. Also, there are
two comments that are clearly remnants from having used exim.pp
as a starting point.

Change-Id: I184701c8c4d4b1e9d93d746b2ad0c5fc53443866
2014-06-14 08:10:10 -07:00
James E. Blair
72382b845a Only allow mail from jenkins from zuul
If someone copies the production Zuul configuration, they may end
up sending emails as jenkins@o.o.  Configure our hosts to only
accept email with an envelope sender or From header of jenkins@.o.o
if the connecting host is zuul.openstack.org (or localhost, to handle
the case of exim running on zuul.o.o itself).

Change-Id: Ic92bb39659689347fea1744ee8c1b47ef21858b0
2014-02-12 13:16:15 -08:00
Monty Taylor
4f5192e0a6 Un-Revert "Make gerrit email server configurable"
This time, make the default value false instead of empty string.

This reverts commit 99d3283dc246da4b4d2d26ecfb193b308881f05d

Change-Id: I88108ff75f1c2bd3aa78856c186312340258ec3c
2013-10-12 17:10:03 +00:00
James E. Blair
99d3283dc2 Revert "Make gerrit email server configurable"
This reverts commit 040073e7463a661340aea83da744fe5ebeb40d1f
2013-10-08 22:08:13 +00:00
Monty Taylor
040073e746 Make gerrit email server configurable
Sometimes people need to send mail through a smarthost. Allow that.

Change-Id: I66ff43a3ca4fce63500755d16be3aa891d55bc75
2013-10-06 15:05:20 -04:00
James E. Blair
281c119f28 Further tuning of lists
Up to 50 simultaneous queue runners
Run queues every minute

Also adds queue_smtp_domains as a parameter (unused currently).

Change-Id: I7d93131278e5d8677445e3230f68b2a81313246a
2013-07-31 17:24:14 -07:00
James E. Blair
d20d424cac Add queue runner interval option to exim
Set it to default to 30m (the Debian default).

Set it to 5m on lists.o.o.

Change-Id: Iab817ae93a9e9655abf41713f70048870652a635
2013-07-30 15:37:56 -07:00
Dan Prince
22fb5e6da0 Update exim module to work on RHEL.
Parameterizes the exim module so that it can support multiple
distributions.

As part of this patch I also removed the explicit install
of exim4-base and exim4-config on Ubuntu. Just installing
exim4-daemon-light should be fine.

Change-Id: Ie09c5fa01509ebfadc92b8540f04181a2b13b667
Reviewed-on: https://review.openstack.org/23289
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-04 18:00:04 +00:00
James E. Blair
ee20cbcadb Don't attempt to deliver to gmail over v6.
Change-Id: I7b5998f50d22e103981b04706060f5127a256123
Reviewed-on: https://review.openstack.org/14506
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-10-17 20:22:23 +00:00
James E. Blair
c567dd5d6f Include mailman domains in local domains.
The local hostname is included in local_domains by default,
but in case we're hosting mailman domains other than the local
hostname, include them.

Change-Id: I733b8fe8cacc2cfd2d7a0d33236ed9e2273c15da
2012-05-22 13:01:01 -07:00
James E. Blair
5dcec26308 Add initial mailman config.
Change-Id: I82cda9eb456c1ce3690eab8f558420c8a696ee25
2012-05-10 19:19:53 +00:00
Monty Taylor
c51538102d Move email addresses of sysadmins to paramater.
When we put these all in by default, then people testing things or people
who aren't even us get the mail on their systems configured to email us.
Change-Id: Ib9d4160e0c81151bf040422c89621bc0fcefcd66
2012-04-08 09:54:29 -07:00