0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 11:12:15 +02:00
This commit is contained in:
David Goodwin 2022-07-22 20:37:04 +01:00
parent a8b4e3f435
commit 6b83c2bb0f

View File

@ -64,7 +64,11 @@ password = secret
host = hostname
```
Edit this file to enter a DB user that is allowed to access (read-write) your database. This file should be protected from any user (chmod 400).
Edit this file to enter a DB user that is allowed to access (read only) your database.
You could create a new MySQL user with only SELECT permission on mailbox.username and mailbox.password_expiry.
This file should be protected from other users (e.g. chmod 400).
### Expiration Script
@ -75,6 +79,7 @@ Edit this file to enter a DB user that is allowed to access (read-write) your da
# Be careful who you run this script as; other system users may be able to write to the postfixadmin database, inject
# malicious data into e.g. mailbox.username and then be able to execute commands as the user running this script.
# So, please try to avoid running this script as root.
POSTFIX_DB="postfixadmin"