Exim: Difference between revisions

From wiki
Fail2Ban
Line 16: Line 16:
</syntaxhighlight>
</syntaxhighlight>


[[Category:Email Server]]
[[Category:Fail2Ban]]
[[Category:Linux Server]]
[[Category:Linux Server]]
[[Category:Fail2Ban]]

Revision as of 08:39, 18 March 2016

Install

TODO

Configure

TODO

Fail2Ban

The filter for Exim is already included in Debian, we just need to activate it. It will filter people trying to log on your server, trying to make it relay spam, and sending nonsense command.

Create file /etc/fail2ban/jail.d/exim.conf

[exim]
enabled  = true
port     = 25,587
logpath  = %(exim_main_log)s