postfix-logwatch run error on ZCS 8.7.1 or 8.7.4

Ask questions about your setup or get help installing ZCS server (ZD section below).
lzmwtt
Posts: 7
Joined: Tue Mar 07, 2017 7:48 pm

postfix-logwatch run error on ZCS 8.7.1 or 8.7.4

Postby lzmwtt » Thu Mar 16, 2017 2:57 am

Currently I installed ZCS 8.7.1 on CentOS 7.3. Everything so far is OK except postfix-logwatch utility.
The details as below:-
[zimbra@mail ~]$ zmcontrol -v
Release 8.7.1_GA_1670.RHEL7_64_20161025045328 RHEL7_64 FOSS edition.

[zimbra@mail ~]$ /opt/zimbra/common/bin/postfix-logwatch /var/log/zimbra.log
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4748, near "1 TLS"
(Missing operator before TLS?)
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4748, near "1408A0C1"
(Missing operator before A0C1?)
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4749, near "1 TLS"
(Missing operator before TLS?)
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4749, near "1408A0C1"
(Missing operator before A0C1?)
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4750, near "1 network_biopair_interop"
(Missing operator before network_biopair_interop?)
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4750, near "1102 bytes"
(Missing operator before bytes?)
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4751, near "1 network_biopair_interop"
(Missing operator before network_biopair_interop?)
Bareword found where operator expected at /opt/zimbra/common/bin/postfix-logwatch line 4751, near "1120 bytes"
(Missing operator before bytes?)
"my" variable $line masks earlier declaration in same statement at /opt/zimbra/common/bin/postfix-logwatch line 4765.
"my" variable $line masks earlier declaration in same scope at /opt/zimbra/common/bin/postfix-logwatch line 4770.
"my" variable $line masks earlier declaration in same scope at /opt/zimbra/common/bin/postfix-logwatch line 4773.
"my" variable $line masks earlier declaration in same scope at /opt/zimbra/common/bin/postfix-logwatch line 4776.
"my" variable $line masks earlier declaration in same scope at /opt/zimbra/common/bin/postfix-logwatch line 4779.
"my" variable $helo masks earlier declaration in same statement at /opt/zimbra/common/bin/postfix-logwatch line 4926.
"state" variable @_ masks earlier declaration in same scope at /opt/zimbra/common/bin/postfix-logwatch line 4926.
syntax error at /opt/zimbra/common/bin/postfix-logwatch line 4748, near "1 TLS library "
"no" not allowed in expression at /opt/zimbra/common/bin/postfix-logwatch line 4748, at end of line
"no" not allowed in expression at /opt/zimbra/common/bin/postfix-logwatch line 4749, at end of line
syntax error at /opt/zimbra/common/bin/postfix-logwatch line 4755, near "++;"
syntax error at /opt/zimbra/common/bin/postfix-logwatch line 4758, near "}"
syntax error at /opt/zimbra/common/bin/postfix-logwatch line 4782, near "}"
Can't use global @_ in "my" at /opt/zimbra/common/bin/postfix-logwatch line 4787, near "= @_"
syntax error at /opt/zimbra/common/bin/postfix-logwatch line 4915, near "}"
Can't use global @_ in "my" at /opt/zimbra/common/bin/postfix-logwatch line 4926, near "($_"
syntax error at /opt/zimbra/common/bin/postfix-logwatch line 4934, near "}"
/opt/zimbra/common/bin/postfix-logwatch has too many errors.

This issue also is the same on ZCS 8.7.4.

How to settle this issue? Is it bug for ZCS 8.7.x version?

Thank you


lzmwtt
Posts: 7
Joined: Tue Mar 07, 2017 7:48 pm

Re: postfix-logwatch run error on ZCS 8.7.1 or 8.7.4

Postby lzmwtt » Fri Mar 17, 2017 9:10 am

Hi everyone,

Just confirmed this is the bug. The details, you may refer to the link:-
https://bugzilla.zimbra.com/show_bug.cgi?id=107580

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 2 guests