mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-26 00:51:24 +08:00
Fix for github markdown view
This commit is contained in:
parent
485848bdaf
commit
644ded4311
1 changed files with 13 additions and 8 deletions
|
@ -13,18 +13,21 @@ Upload the following to /etc/fail2ban/*
|
|||
|
||||
Modify your /etc/fail2ban/jail.local with:
|
||||
|
||||
<code>[snappymail-fpm-journal]<br/>
|
||||
enabled = true</code>
|
||||
```
|
||||
[snappymail-fpm-journal]
|
||||
enabled = true
|
||||
```
|
||||
|
||||
## Default log (not recommended)
|
||||
|
||||
Modify /PATH-TO-RAINLOOP-DATA/_data_/_default_/configs/application.ini
|
||||
|
||||
<code>[logs]<br/>
|
||||
auth_logging = On<br/>
|
||||
auth_logging_filename = "fail2ban/auth-fail.log"<br/>
|
||||
```
|
||||
[logs]
|
||||
auth_logging = On
|
||||
auth_logging_filename = "fail2ban/auth-fail.log"
|
||||
auth_logging_format = "[{date:Y-m-d H:i:s T}] Auth failed: ip={request:ip} user={imap:login} host={imap:host} port={imap:port}"
|
||||
</code>
|
||||
```
|
||||
|
||||
Modify the path in /jail.d/snappymail-log.conf
|
||||
|
||||
|
@ -35,5 +38,7 @@ Upload the following to /etc/fail2ban/*
|
|||
|
||||
Modify your /etc/fail2ban/jail.local with:
|
||||
|
||||
<code>[snappymail-log]<br/>
|
||||
enabled = true</code>
|
||||
```
|
||||
[snappymail-log]
|
||||
enabled = true
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue