]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
WUI log-section Mail: add support for postfix addon
authorAlex Koch <ipfire@starkstromkonsument.de>
Sat, 31 Aug 2019 18:53:00 +0000 (20:53 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 11 Sep 2019 16:50:57 +0000 (16:50 +0000)
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 <ipfire@starkstromkonsument.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/logs.cgi/log.dat

index 7074a4a612dbcf0f3c57e0e6285edbbd0dc44f88..8ca32d67537c12c019208f8bf539aacee8379737 100644 (file)
@@ -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: )',