aports/config/dovecot
Alex D. e9302905f9
Enable syslog for services and reformat a few configs
2021-06-25 18:28:09 +00:00
..
APKBUILD Enable syslog for services and reformat a few configs 2021-06-25 18:28:09 +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 Enable syslog for services and reformat a few configs 2021-06-25 18:28:09 +00:00
pgsql.conf Reorganization, automation and more 2021-06-01 23:17:41 +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'
);