Difference between revisions of "Exim"

From wiki
(Fail2Ban)
Line 5: Line 5:
 
{{TODO}}
 
{{TODO}}
  
== Fail2ban ==
+
== 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.
+
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 <code>/etc/fail2ban/jail.d/exim.conf</code><syntaxhighlight lang="ini">
+
Create file <code>/etc/fail2ban/jail.d/exim.conf</code>
 +
<syntaxhighlight lang="ini">
 
[exim]
 
[exim]
 
enabled  = true
 
enabled  = true
Line 14: Line 15:
 
logpath  = %(exim_main_log)s
 
logpath  = %(exim_main_log)s
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 
[[Category:Linux Server]]
 
[[Category:Linux Server]]
 
[[Category:Fail2Ban]]
 
[[Category:Fail2Ban]]

Revision as of 23:41, 16 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