diff --git a/src/postfix/Containerfile b/src/postfix/Containerfile index fe30e15..49d94dc 100644 --- a/src/postfix/Containerfile +++ b/src/postfix/Containerfile @@ -20,39 +20,4 @@ ARG FILESUID=5000 ### # install packages we want -RUN apt update -y && apt install -y postfix dovecot-imapd - -### -### Apache -### - -# enable modules we need -RUN a2enmod php${phpv} - -# copy site config -COPY assets/site.conf /etc/apache2/sites-available/ -WORKDIR /etc/apache2/sites-enabled -RUN rm 000-default.conf && ln -s ../sites-available/site.conf - -### -### browserStartpage -### - -# download app -WORKDIR /root -RUN wget https://github.com/saschadiercks/browserStartpage/archive/master.zip && \ - echo "Unzipping ..." && \ - unzip -q master.zip && \ - mv browserStartpage-master/htdocs /var/www/html/startpage && \ - chown -R www-data:www-data /var/www/html && \ - rm -r browserStartpage-master - -# copy config -WORKDIR /var/www/html -COPY --chown=www-data:www-data assets/config.php startpage/config/config.php -COPY --chown=www-data:www-data assets/data.json startpage/data/data.json - -# copy thumbnails -COPY --chown=www-data:www-data assets/thumbnails/ startpage/assets/thumbnails/ -# copy wallpaper -COPY --chown=www-data:www-data assets/wallpaper/ startpage/assets/wallpaper/ +RUN apt update -y && apt install -y postfix dovecot-imapd dovecot-lmtpd \ No newline at end of file diff --git a/src/postfix/docs/Build.md b/src/postfix/docs/Build.md index a36d704..5bfbc77 100644 --- a/src/postfix/docs/Build.md +++ b/src/postfix/docs/Build.md @@ -34,6 +34,7 @@ nano main.cf set the following config parameters: ``` mail_owner = postfix -myhostname = linode.alemor.org +myhostname = mail.brbytes.org myorigin = $myhostname mydestination = $myhostname +```