aports/config/dovecot
Alex D. a5fc5dfdc6
Add binary deps to service and add configuration addition deps to config
2021-02-09 19:11:29 +00:00
..
APKBUILD Add binary deps to service and add configuration addition deps to config 2021-02-09 19:11:29 +00:00
README.md Use common format for configs 2021-02-07 21:36:32 +00:00
base.sql Use common format for configs 2021-02-07 21:36:32 +00:00
dovecot.conf Use common format for configs 2021-02-07 21:36:32 +00:00
redxen-config-dovecot.pre-install Use common format for configs 2021-02-07 21:36:32 +00:00

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 ROLE dovecot PASSWORD '...';

Adding users:

  1. Hash the password with doveadm pw -s ARGON2I
  2. Add the user:
INSERT INTO users ( userid, password, active ) VALUES (
	'boss',
	'...',
	'1'
);
  1. Add a alias for the user:
INSERT INTO aliases ( target, alias, active ) VALUES (
	'boss',
	'management',
	'1'
);