How to use rsyslog to mask specific information
Issue
- How to use "*****" to mask only the local part of an email address in the mail logs. For the following logs, personal information for email addresses between "from=<" and "@" needs to be mask:
postfix/qmgr[1562]: B84821175BE2: from=<student@test.co.jp>, size=1438, nrcpt=1 (queue active)
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.