replace hash with texthash, as hash is no longer part of Postfix 3.6

Ralf Becker 2022-03-28 20:22:09 +03:00
parent 8feabff2c0
commit 10c6a51f25

@ -84,15 +84,14 @@ relayhost = [mail.example.org]
smtp_tls_security_level = may
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_sasl_password_maps = texthash:/etc/postfix/sasl_password
```
* set mail-server, user and password in /etc/egroupware-mail/postfix/sasl_password
```
mail.example.org user@domain:secret
```
* run the following commands to compile sasl_password.db and reload postfix
* run the following commands to reload postfix
```
docker exec -it ergoupware-smtp postmap hash:/etc/postfix/sasl_password
docker exec -it egroupware-smtp postfix reload
```
##### 6. for anti-spam and anti-virus we recommend to use an external service: