-------- Messaggio Inoltrato --------
Oggetto:        Re: Fwd: [qmailtoaster] Fail2ban doesn't start - missing maillog
Data:   Thu, 10 Nov 2022 11:15:32 +0100
Mittente:       Cinghiuz <[email protected]>
Rispondi-a:     [email protected]
A:      [email protected]



Wow, thank you for this tip, I did it :-)

Cesare

Il 10/11/2022 11:11, [email protected] ha scritto:
๐Ÿ‘

+ 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 --now


When 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 file

Of 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]


Reply via email to