Alex D. 5d15ee3d6a | ||
---|---|---|
.. | ||
APKBUILD | ||
README.md | ||
base.sql | ||
dovecot.conf | ||
redxen-config-dovecot.pre-install | ||
rspamd.sieve |
README.md
Dovecot setup
NOTE: THIS SETUP DOESN'T HANDLE PER-DOMAIN USERS
First create the database and the tables by importing base.sql
Then change the password with ALTER USER dovecot PASSWORD '...';
Adding users:
- Hash the password with
doveadm pw -s ARGON2I
- Add the user:
INSERT INTO users ( userid, password, active ) VALUES (
'boss',
'...',
'1'
);
- Add a alias for the user:
INSERT INTO aliases ( target, alias, active ) VALUES (
'boss',
'management',
'1'
);