Have you ever wondered why your Postfix logs clutter both mail.log and syslog, making it harder to track and manage? Well, you’re not alone. In this quick guide, I’ll show you how to tidy things up and keep your postfix logs in mail.log only.
Unraveling the Mystery
First things first, let’s address the perplexing default setting in syslog (particularly under Debian’s rsyslogd) that makes Postfix entries flood both mail.log and syslog. It’s a head-scratcher, but fear not – we’re here to set things right.