Revert "Make gerrit email server configurable"
This reverts commit 040073e746
This commit is contained in:
parent
040073e746
commit
99d3283dc2
@ -3,7 +3,6 @@ class exim(
|
||||
$queue_interval = '30m',
|
||||
$queue_run_max = '5',
|
||||
$queue_smtp_domains = '',
|
||||
$smarthost = '',
|
||||
$sysadmin = []
|
||||
) {
|
||||
|
||||
|
@ -606,21 +606,12 @@ mailman_router:
|
||||
# If the DNS lookup fails, no further routers are tried because of the no_more
|
||||
# setting, and consequently the address is unrouteable.
|
||||
|
||||
<% if smarthost -%>
|
||||
smarthost:
|
||||
driver = manualroute
|
||||
domains = !+local_domains
|
||||
transport = remote_smtp
|
||||
route_list = * <%= smarthost %>
|
||||
no_more
|
||||
<% else -%>
|
||||
dnslookup:
|
||||
driver = dnslookup
|
||||
domains = ! +local_domains
|
||||
transport = remote_smtp
|
||||
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
|
||||
no_more
|
||||
<% end -%>
|
||||
|
||||
# The remaining routers handle addresses in the local domain(s), that is those
|
||||
# domains that are defined by "domainlist local_domains" above.
|
||||
|
@ -18,10 +18,6 @@
|
||||
# The URL to use for OpenID in SSO mode.
|
||||
# email:
|
||||
# The email address Gerrit should use when sending mail.
|
||||
# smtpserver:
|
||||
# The smtp server that Gerrit should send mail through.
|
||||
# sendemail_from:
|
||||
# gerrit.conf value for sendemail.from.
|
||||
# database_poollimit:
|
||||
# container_heaplimit:
|
||||
# core_packedgitopenfiles:
|
||||
@ -92,8 +88,6 @@ class gerrit(
|
||||
$ssh_project_rsa_pubkey_contents = '', # If left empty will not create file.
|
||||
$openidssourl = 'https://login.launchpad.net/+openid',
|
||||
$email = '',
|
||||
$smtpserver = 'localhost',
|
||||
$sendemail_from = 'MIXED',
|
||||
$database_poollimit = '',
|
||||
$container_heaplimit = '',
|
||||
$core_packedgitopenfiles = '',
|
||||
|
@ -19,8 +19,7 @@
|
||||
cookieSecure = true
|
||||
contributorAgreements = true
|
||||
[sendemail]
|
||||
smtpServer = <%= smtpserver %>
|
||||
from = <%= sendemail_from %>
|
||||
smtpServer = localhost
|
||||
[container]
|
||||
user = gerrit2
|
||||
javaHome = <%= java_home %>
|
||||
|
Loading…
Reference in New Issue
Block a user