From d6f4f5f45a0e014d3cc1b9e3bbb9c681b0b5b9b7 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Fri, 14 Aug 2020 01:14:26 +0200 Subject: [PATCH] Added new inbox --- create.sh | 4 ++-- docker-compose.yml | 10 ++++++++++ volume_list | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/create.sh b/create.sh index 22ee97b..eaf3de6 100755 --- a/create.sh +++ b/create.sh @@ -20,9 +20,9 @@ fi openssl enc -aes-256-cbc -d -in ~/secrets.tar.gz.enc | tar -zxv --strip 2 secrets/docker-mail-stack/fetchmailrc-orange \ secrets/docker-mail-stack/users secrets/docker-mail-stack/15-lda.conf secrets/docker-mail-stack/feed2imaprc \ -secrets/docker-mail-stack/fetchmailrc-scimetis \ +secrets/docker-mail-stack/fetchmailrc-scimetis secrets/docker-mail-stack/fetchmailrc-laposte-sylvie \ || { echo "Could not extract from secrets archive, exiting."; rm -f ~/secrets.tar.gz.enc; exit 1; } -sudo chown root. fetchmailrc-orange fetchmailrc-scimetis users 15-lda.conf feed2imaprc +sudo chown root. fetchmailrc-orange fetchmailrc-scimetis fetchmailrc-laposte-sylvie users 15-lda.conf feed2imaprc sudo chmod a-r feed2imaprc unset VERSION_DOVECOT VERSION_FETCHMAIL VERSION_FEED2IMAP diff --git a/docker-compose.yml b/docker-compose.yml index f2830c0..50d3761 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,7 @@ services: - mailnet volumes: - /mnt/volumes/mail_data/data:/home/yohan + - /mnt/volumes/mail_data_Sylvie/data:/home/sylvie - ./dovecot_expire.sh:/root/dovecot_expire.sh - ./users:/etc/dovecot/users - ./15-lda.conf:/etc/dovecot/conf.d/15-lda.conf @@ -34,6 +35,15 @@ services: - mailnet volumes: - ./fetchmailrc-scimetis:/etc/fetchmailrc + + fetchmail-laposte-sylvie: + image: fetchmail:$VERSION_FETCHMAIL + #build: "https://git.scimetis.net/yohan/docker-fetchmail.git" + container_name: fetchmail-laposte-sylvie + networks: + - mailnet + volumes: + - ./fetchmailrc-laposte-sylvie:/etc/fetchmailrc feed2imap: image: feed2imap:$VERSION_FEED2IMAP diff --git a/volume_list b/volume_list index 412dc14..1bacf41 100644 --- a/volume_list +++ b/volume_list @@ -1 +1,2 @@ mail_data +mail_data_Sylvie