From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 2/2] WUI log-section Mail: add support for postfix addon Date: Sun, 01 Sep 2019 13:31:43 +0100 Message-ID: <75B64A45-EFC1-44A2-9FEE-0B51E680824F@ipfire.org> In-Reply-To: <20190831185300.20508-2-ipfire@starkstromkonsument.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4359877004519167780==" List-Id: --===============4359877004519167780== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Likewise! Signed-off-by: Michael Tremer > On 31 Aug 2019, at 19:53, Alex Koch wrote: >=20 > 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. >=20 > Signed-off-by: Alex Koch > --- > html/cgi-bin/logs.cgi/log.dat | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 =3D ( > 'cron' =3D> '(fcron\[.*\]: )', > 'ddns' =3D> '(ddns\[\d+\]:)', > 'dhcp' =3D> '(dhcpd: )', > - 'dma' =3D> '(dma: |dma\[.*\]: )', > + 'dma' =3D> '(dma: |dma\[.*\]: |postfix/\w*\[\d*\]: )', > 'guardian' =3D> '(guardian\[.*\]: )', > 'ipfire' =3D> '(ipfire: )', > 'ipsec' =3D> '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )', > --=20 > 2.17.1 >=20 --===============4359877004519167780==--