Geert Hendrickx: > On Mon, Oct 10, 2022 at 07:22:18 -0400, Wietse Venema wrote: > > To find out if you have messages flagged as "corrupt", you can > > use the "postfix check" command. > > > > Execute as root: > > > > postfix check > > > > FYI, with grep 3.8, this triggers deprecation warnings on 'egrep': > > $ sudo postfix check > egrep: warning: egrep is obsolescent; using grep -E
For the sake of portability I had to do a quick due diligence for non-GNU grep implementations. Based on on-line manpages, "grep -E" support has been common for some 15+ years in non-GNU implementations. It's in IEEE Std 1003.1-2008, maybe earlier, and appears to be adopted globally. I'll start with adopting this into the Postfix 3.8 development cycle. Wietse > Usage of 'egrep' in postfix-script (as well as postfix-tls-script) > should be replaced with 'grep -E', patch attached. > > The documentation refers to egrep/fgrep in several places as well. > > Geert >