Hi, > On 10 juin 2020, at 05:22, PGNet Dev <pgnet....@gmail.com> wrote: > > On 6/9/20 8:15 PM, Noel Jones wrote: >> Postfix assumes the logs are private. > > They generally are. The very-recent switch to BLs with Acct-ID's is new, and > complicated that a bit. > >> To sanitize the log, you'll need to use an external process > > ok. easy enough -- just an additional bit of kit.
depending on your log aggregation solution it might be quite easy. Splunk will allow this kind of sanitization with a transform stanza on the indexer (you must do it at indexing time, not search time). IIRC Logstash will allow that also. Otherwise rsyslogd (if you use linux) allows some filters/actions before sending logs to the aggregator, but I'm not too sure about this one. patpro