From: Alex Koch Date: Sat, 31 Aug 2019 18:53:00 +0000 (+0200) Subject: WUI log-section Mail: add support for postfix addon X-Git-Tag: v2.23-core136~7^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=111216416ffefa0574f8c044aaf93c250a8acb2c;p=ipfire-2.x.git WUI log-section Mail: add support for postfix addon Expand the regex for the section dmi ("Mail") for /var/log/mail to include the log contents of postfix, in case the addon is installed. Signed-off-by: Alex Koch Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat index 7074a4a612..8ca32d6753 100644 --- a/html/cgi-bin/logs.cgi/log.dat +++ b/html/cgi-bin/logs.cgi/log.dat @@ -57,7 +57,7 @@ my %sections = ( 'cron' => '(fcron\[.*\]: )', 'ddns' => '(ddns\[\d+\]:)', 'dhcp' => '(dhcpd: )', - 'dma' => '(dma: |dma\[.*\]: )', + 'dma' => '(dma: |dma\[.*\]: |postfix/\w*\[\d*\]: )', 'guardian' => '(guardian\[.*\]: )', 'ipfire' => '(ipfire: )', 'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',