Skip to content

Commit b1a99d6

Browse files
nicoleandrosansilva
authored andcommitted
Dovecot older version notice
1 parent 1b41091 commit b1a99d6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,18 @@ EOF
519519
dovecot reload
520520
```
521521

522+
###### Older Dovecot version
523+
524+
In case you're running a version of Dovecot older than 2.3.1, you will experience that the `auth_policy_check_before_auth` parameter does not exist.
525+
526+
If this is the case, leave out these three parameters from the above configuration file:
527+
- `auth_policy_check_before_auth`
528+
- `auth_policy_check_after_auth`
529+
- `auth_policy_report_after_auth`
530+
531+
The counting of blocked IPs will be doubled in your Control Center¹, but you'll still enjoy protection (¹ we're trying to find a workaround).
532+
533+
522534
##### Postfix configuration
523535

524536
To enable blocking of malicious IPs by Postfix (SMTP defence) do the following.
@@ -538,10 +550,23 @@ unix_listener /var/spool/postfix/private/auth {
538550
Then make Postfix use the Dovecot SASL server by adding the following to your Postfix config file (e.g. `/etc/postfix/main.cf`, or alternatively by using `postconf` CLI utility):
539551

540552
```
553+
smtpd_sasl_auth_enable=yes
541554
smtpd_sasl_path=/var/spool/postfix/private/auth
542555
smtpd_sasl_type=dovecot
543556
```
544557

558+
More documentation can be found on postfix' website:
559+
- [Configuring Dovecot SASL](http://www.postfix.org/SASL_README.html#server_dovecot)
560+
- [Enabling SASL in Postfix](http://www.postfix.org/SASL_README.html#server_sasl_enable)
561+
562+
563+
##### Blocklist use
564+
565+
In order for Control Center to know that your Postfix/Dovecot are using the blocklist, please fill in their IP address on the Settings Page ("*Postfix public IP*").
566+
567+
Currently the only supported setup for this is when Postfix and Dovecot are on the same IP address.
568+
569+
545570
## Known issues
546571

547572
### High risk

0 commit comments

Comments
 (0)