From 572a0b534e3fdfdc65b8e2abfca8859655ccfe4f Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 26 Jun 2015 14:36:11 +0800 Subject: [PATCH] update --- tmail/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tmail/Dockerfile b/tmail/Dockerfile index f8da238..8a74e21 100644 --- a/tmail/Dockerfile +++ b/tmail/Dockerfile @@ -25,11 +25,12 @@ ENV MAIL_OPTS= VOLUME /var/mail EXPOSE 25 110 -CMD twistd -n mail --esmtp \ - --smtp=tcp:25 \ - --pop3=tcp:110 \ +CMD twistd -n mail --bounce-to-postmaster \ + --esmtp \ + --hostname=$MAIL_NAME \ --maildirdbmdomain=$MAIL_NAME=$MAIL_PATH \ + --pop3=tcp:110 \ + --smtp=tcp:25 \ --user=$MAIL_USER=$MAIL_PASS \ - --bounce-to-postmaster \ $MAIL_OPTS