diff --git a/Dockerfile b/Dockerfile index d273772..bde0fb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ EXPOSE 25/tcp EXPOSE 143/tcp RUN apt-get update \ - && apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates \ + && apt-get install -y --no-install-recommends pass libsecret-1-0 ca-certificates \ && rm -rf /var/lib/apt/lists/* COPY gpgparams entrypoint.sh /protonmail/ diff --git a/entrypoint.sh b/entrypoint.sh index 1e184cf..83a202a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,8 +8,6 @@ if [[ $1 == init ]]; then pkill protonmail-bridge || true /protonmail/proton-bridge --cli "$@" else - socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 & - socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 & rm -f faketty mkfifo faketty /protonmail/proton-bridge --cli "$@" < faketty