Found a workaround. I have this: jail.conf
[dovecot] port = imap,imaps,sieve logpath = %(syslog_mail)s backend = %(dovecot_backend)s jail.local [dovecot] enabled = true # fail2ban-client status Status |- Number of jail: 4 `- Jail list: dovecot, nginx-x00, postfix-auth, sshd > On 13 Mar 2018, at 23:39, Sophie Loewenthal <sop...@klunky.co.uk> wrote: > > Changed it to this in jail.conf and restarted and dovecot jail is not active. > > [dovecot] > enable = true > port = imap,imaps,sieve > logpath = %(syslog_mail)s > backend = %(dovecot_backend)s > > # fail2ban-client status > Status > |- Number of jail: 3 > `- Jail list: nginx-x00, postfix-auth, sshd > > > I don’t think I follow the enabled= logic well :( > > Sophie > > > > > >> On 13 Mar 2018, at 23:30, René Berber <rber...@cactus-soft.org> wrote: >> >> On 3/13/2018 4:25 PM, Sophie Loewenthal wrote: >> >>> Hi Rene, Is this case for everything now? I don’t have an 'enabled = true' >>> for sshd for example and the jail stared. >> >> Depends on the version, but you also probably have this on jail.conf : >> >> # "enabled" enables the jails. >> # By default all jails are disabled, and it should stay this way. >> # Enable only relevant to your setup jails in your .local or jail.d/*.conf >> # >> # true: jail will be enabled and log files will get monitored for changes >> # false: jail is not enabled >> enabled = false >> >> That is the default configuration, but of course it could be changed in >> jail.local, or individually on each jail. >> -- >> René Berber >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Fail2ban-users mailing list >> Fail2ban-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fail2ban-users > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Fail2ban-users mailing list > Fail2ban-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fail2ban-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fail2ban-users mailing list Fail2ban-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fail2ban-users