* Re: [PATCH 2/2] WUI log-section Mail: add support for postfix addon
[not found] <20190831185300.20508-2-ipfire@starkstromkonsument.de>
@ 2019-09-01 12:31 ` Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2019-09-01 12:31 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]
Likewise!
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
> On 31 Aug 2019, at 19:53, Alex Koch <ipfire(a)starkstromkonsument.de> wrote:
>
> 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(a)starkstromkonsument.de>
> ---
> html/cgi-bin/logs.cgi/log.dat | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
> index 98b09041a..ebbc3f8cd 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: )',
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] only message in thread