Skip to content

fail2ban handling integrated in setup.sh#797

Merged
johansmitsnl merged 6 commits intodocker-mailserver:masterfrom
17Halbe:integrate_fail2ban_handling
Jan 31, 2018
Merged

fail2ban handling integrated in setup.sh#797
johansmitsnl merged 6 commits intodocker-mailserver:masterfrom
17Halbe:integrate_fail2ban_handling

Conversation

@17Halbe
Copy link
Copy Markdown
Contributor

@17Halbe 17Halbe commented Jan 19, 2018

  • calling "./setup debug fail2ban" lists all iptable chains whith blocked IPs
    (like:
    Banned in dovecot: 91.200.12.164
    Banned in postfix-sasl: 91.200.12.164)
  • calling "./setup debug fail2ban unban xxx.xxx.xxx.xxx [yyy.yyy.yyy.yyy ...]" unbans/removes those IPs from all jails.
  • calling "./setup debug fail2ban unban" (without an IP) gives an descriptive error: (You need to specify an IP address. Run "./setup.sh debug fail2ban" to get a list of banned IP addresses.)

- calling \"./setup debug fail2ban\" lists all iptable chains whith blocked IPs (like: Banned in dovecot: 91.200.12.164
										       Banned in postfix-sasl: 91.200.12.164)
- calling \"./setup debug fail2ban unban xxx.xxx.xxx.xxx [yyy.yyy.yyy.yyy ...]\" unbans/removes those IPs from all jails.
- calling \"./setup debug fail2ban unban\" (without an IP) gives an descriptive error: (You need to specify an IP address. Run "./setup.sh debug fail2ban" to get a list of banned IP addresses.)
@17Halbe
Copy link
Copy Markdown
Contributor Author

17Halbe commented Jan 19, 2018

Ah, yes, the wiki...
I'll add the info to the wiki page after this PR has been accepted.

Prevents Spammers from collecting existing mail-addresses by probing the mailserver for them.
@johansmitsnl
Copy link
Copy Markdown
Contributor

Could you add a test for this new feature?

* Allow setup of LDAP STARTTLS for Dovecot and Postfix

* Added tests for TLS config override

* Add missing Postfix TLS options

* Added missing new line at the end of the file

* Added STARTTLS tests for Postfix config
@17Halbe
Copy link
Copy Markdown
Contributor Author

17Halbe commented Jan 28, 2018

will do..

@17Halbe
Copy link
Copy Markdown
Contributor Author

17Halbe commented Jan 29, 2018

Done

@johansmitsnl johansmitsnl merged commit c2f4220 into docker-mailserver:master Jan 31, 2018
@17Halbe 17Halbe deleted the integrate_fail2ban_handling branch February 15, 2018 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants