aports/config/dovecot
Alex D. a63deff6bc
Revert changes but add few fixes
2021-08-11 14:17:40 +00:00
..
APKBUILD Revert changes but add few fixes 2021-08-11 14:17:40 +00:00
README.md Use common format for configs 2021-02-07 21:36:32 +00:00
automove.sieve Don't reject mails anymore and learn based on verdict, add sieve to dovecot 2021-07-30 13:08:22 +00:00
base.sql Use common format for configs 2021-02-07 21:36:32 +00:00
dovecot.conf Don't reject mails anymore and learn based on verdict, add sieve to dovecot 2021-07-30 13:08:22 +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'
);