I’m trying to configure Fail2ban on my VPS and enabling postfix-sasl jail, but I’m having trouble locating the Postfix log file. From what I understand, it should be located under /var/log/ (specifically /var/log/mail.log), but I can’t find anything related to “mail” or “postfix” in that directory.
Could someone please guide me on what might be missing or how I can find the correct log file path?
I can view the Postfix logs using the method you suggested, but I’m unsure how to leverage them to block spammers with the postfix-sasl jail in Fail2ban.
On another server running Debian 11, I have this jail enabled for similar websites, and it has successfully blocked thousands of login attempts. It’s been very effective in keeping spammers at bay, so I’d like to achieve the same result here.