User Tools

Site Tools


docs:tips_n_tricks:exim.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:exim.html [09.11.2019 23:40 CET] – [TLS with exim < 4.80 using GnuTLS on debian] peterdocs:tips_n_tricks:exim.html [18.11.2019 00:08 CET] (current) – [Enabling fail2ban for exim4 on Debian buster] peter
Line 112: Line 112:
 {{entry>ssl}} {{entry>ssl}}
 {{entry>gnutls}} {{entry>gnutls}}
-===== Enabling fail2ban vor exim4 on Debian buster =====+ 
 +===== Enableing smtps/submissons on port 465 on debian Buster ===== 
 +  * Enable TLS as described above 
 +  * <code text  /etc/exim4/conf.d/main/03_custom-config_tlsoptions>  
 +tls_on_connect_ports = 465 
 +</code> 
 +  * run ''dpkg-reconfigure exim4-config'' and enter for the //local interfaces// the value\\ ''[0.0.0.0]:25;[0.0.0.0]:465''((Exim documentation says, ''0.0.0.0.25 ; 0.0.0.0.465'' but I didn't check whether that works as well)) 
 +  * restart //exim4//: ''systemctl restart exim4'' 
 + 
 +===== Enabling fail2ban for exim4 on Debian buster =====
  
   apt install fail2ban   apt install fail2ban
Line 119: Line 128:
   fail2ban-client start exim-spam   fail2ban-client start exim-spam
  
 +<note tip>Don't try to configure it by ''fail2ban-client'' but create a section in ''/etc/fail2ban/jail.d/local.conf''</note>
 {{tag>fail2ban}} {{tag>fail2ban}}
 {{entry>fail2ban}} {{entry>fail2ban}}
docs/tips_n_tricks/exim.html.1573339201.txt.gz · Last modified: 09.11.2019 23:40 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki