aboutsummaryrefslogtreecommitdiff
path: root/po/packages/pl.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/packages/pl.po')
0 files changed, 0 insertions, 0 deletions
rg-server/tree/?id=816ff7ecd4a39c9918141c9fee10932cecb52565'>82598a73ffa03ab0e263b15109057a6e60610fc6 /Makefile parentb659857f486ac1fe696c3d57c43a002cfb05b784 (diff)downloadkoszko-org-server-816ff7ecd4a39c9918141c9fee10932cecb52565.tar.gz
koszko-org-server-816ff7ecd4a39c9918141c9fee10932cecb52565.zip
Add Dovecot to the container
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 524c437..f1e8fbe 100644
--- a/Makefile
+++ b/Makefile
@@ -76,6 +76,7 @@ sample-malcontent:
LETSENCRYPT_ETC_DIR = $(TEST_ROOT_DIR)/etc/letsencrypt
EXIM_ETC_DIR = $(TEST_ROOT_DIR)/etc/exim
+DOVECOT_ETC_DIR = $(TEST_ROOT_DIR)/etc/dovecot
HYDRILLA_WEBSITE_ETC_DIR = $(TEST_ROOT_DIR)/etc/guix-container/hydrilla-website
MALCONTENT_DIR = $(TEST_ROOT_DIR)/var/lib/hydrilla/malcontent_dirs
GITOLITE_DIR = $(TEST_ROOT_DIR)/var/lib/gitolite3
@@ -131,6 +132,18 @@ prepare-test-root: sample-malcontent
echo >> $(EXIM_ETC_DIR)/passwd
chmod 640 $(EXIM_ETC_DIR)/passwd
chown 106:113 $(EXIM_ETC_DIR)/passwd
+ @# Prepare replacement `/etc/dovecot`
+ mkdir --mode=755 -p $(DOVECOT_ETC_DIR)
+ printf koszko: > $(DOVECOT_ETC_DIR)/users
+ $(GUIX_SHELL) -C --no-cwd dovecot coreutils bash-minimal -- \
+ bash -c 'mkdir /etc/dovecot; \
+ touch /etc/dovecot/dovecot.conf; \
+ doveadm pw -s SHA256-CRYPT -p silnehaslo;' \
+ >> $(DOVECOT_ETC_DIR)/users
+ sed -i 's|$$|:1000:1000::/home/urz:/bin/bash:userdb_mail=maildir:/home/urz/Maildir/|' \
+ $(DOVECOT_ETC_DIR)/users
+ chmod 640 $(DOVECOT_ETC_DIR)/users
+ chgrp 115 $(DOVECOT_ETC_DIR)/users
@# Prepare replacement `/etc`
mkdir --mode=750 -p $(HYDRILLA_WEBSITE_ETC_DIR)
printf 'test non-secret\n' > $(HYDRILLA_WEBSITE_ETC_DIR)/secret.txt