๐+ remember that all changes needed in *.conf files in fail2ban should be made to a copy of that *.conf file named *.local (eg. jail.conf : cp jail.conf jail.local and then make the changes in jail.local - then You won't have Your changes deleted if You upgrade fail2ban๐)
/Finn Den 10-11-2022 kl. 10:56 skrev Cinghiuz:
Hi Finn, thank you for your prompt reply! I installed and enabled rsyslog and now I have /var/log/maillog. I commented out the jail about smtptx and now fail2ban works fine. Thank you! Cesare Il 10/11/2022 10:23, Qmail ha scritto:Hi Cesare.What goes for maillog my guess will be that You haven't installed rsyslog (only using journald)Check that out and if it's not installed,ย then install the package : yum or dnf install rsyslog systemctl enable rsyslog --nowWhen speaking of smtptx You can either remove (comment out) the jail from the jail.local (jail.conf) or read the guidelines in the email from Eric Broch to the list, dated November 4 2022 that responds to a similar issue.Hope this helps Cheers /Finn This stops attempts of AUTH outside TLS https://github.com/qmtoaster/patches/tree/master/cos8/3.3.5 Den 10-11-2022 kl. 09:15 skrev Cinghiuz:Hi guys,I followed this guide: http://www.qmailtoaster.net/fail2ban.html to implement fail2ban in my QMT running on Rocky 8 Linux and installed some months ago following the installation guide.I use Vpopmail, Dovecot, Roundcube and Dkim.Fail2ban doesn't start because I haven't /var/log/maillog and /var/log/qmail/smtptx/current.Under /var/log I see these dirs: dovecot-lda httpd mariadb php-fpm qmail/send qmail/smtp qmail/smtps qmail/submission qmail/vpopmaild roundcubemail rspamd and dovecot.log fileOf course there are many dirs and logs about operating system (dnf, anaconda, vmware, etc.)How can I implement fail2ban in this installation? Thank you! Cesare --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
OpenPGP_signature
Description: OpenPGP digital signature
