aports/configs/dovecot
Alex D. 6dc788f369
Postfix & Dovecot changes batch
- Use PGSQL directly from postfix
- Fix queries
- Remove auth socket
- Change domain temporarily to mailtest.redxen.eu
- Change TLS settings
- Re-enable chroots where auth socket isn't required anymore
- Add DNS records for unbound
- Add postfix to pgsql hba
- Use pre-built runfile instead of upstream to fix a "feature"
2021-01-07 17:13:22 +00:00
..
APKBUILD Postfix & Dovecot changes batch 2021-01-07 17:13:22 +00:00
README.md Postfix & Dovecot changes batch 2021-01-07 17:13:22 +00:00
base.sql Postfix & Dovecot changes batch 2021-01-07 17:13:22 +00:00
dovecot.conf Postfix & Dovecot changes batch 2021-01-07 17:13:22 +00:00
redxen-config-dovecot.pre-install Add dovecot 2021-01-05 02:07:09 +00:00
rspamd.sieve Add dovecot 2021-01-05 02:07:09 +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'
);