logwatch: Add support for setting the mail sender address

This commit is contained in:
Ossi Salmi 2014-04-01 11:29:22 +03:00
parent 79f7fe657c
commit b8244798d3
2 changed files with 7 additions and 1 deletions

View file

@ -3,7 +3,10 @@
# === Global variables # === Global variables
# #
# $logwatch_mailto: # $logwatch_mailto:
# Logwatch mail recipient. # Logwatch mail recipient address.
#
# $logwatch_mailfrom:
# Logwatch mail sender address.
# #
# $logwatch_level: # $logwatch_level:
# Logwatch detail level for report. Valid values are # Logwatch detail level for report. Valid values are

View file

@ -2,6 +2,9 @@
<% if @logwatch_mailto -%> <% if @logwatch_mailto -%>
MailTo = <%= @logwatch_mailto %> MailTo = <%= @logwatch_mailto %>
<% end -%> <% end -%>
<% if @logwatch_mailfrom -%>
MailFrom = <%= @logwatch_mailfrom %>
<% end -%>
<% if @logwatch_level -%> <% if @logwatch_level -%>
Detail = <%= @logwatch_level %> Detail = <%= @logwatch_level %>
<% end -%> <% end -%>