From 6f87b429847b5ff88ee50b5303b6ef508431014b Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Tue, 21 Jun 2011 20:53:07 +0100 Subject: [PATCH] repoint samhain reports at localhost Signed-off-by: Stephen Gran --- modules/samhain/templates/samhainrc.erb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 1757345b6..bb436d451 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -843,14 +843,9 @@ SetMailNum = 10 ## Recipient (max. 8) # -SetMailAddress=samhain-reports@debian.org +SetMailAddress=samhain-reports@<%= fqdn -%> -## Mail relay (IP address) -<% if nodeinfo['smarthost'].empty? -%> -SetMailRelay = master.debian.org -<% else -%> SetMailRelay = localhost -<% end -%> ## Custom subject format # -- 2.20.1