瀏覽代碼

added postfix smtps

tags/v1.3.0
Robin Thoni 7 年之前
父節點
當前提交
04b8f08ec1
共有 2 個檔案被更改,包括 6 行新增5 行删除
  1. 1
    0
      docker-compose.yml
  2. 5
    5
      postfix/config/master.cf

+ 1
- 0
docker-compose.yml 查看文件

@@ -37,6 +37,7 @@ services:
37 37
                     - postfix.mx.internal.docker
38 38
         ports:
39 39
             - "0.0.0.0:25:25"
40
+            - "0.0.0.0:465:465"
40 41
             - "0.0.0.0:587:587"
41 42
         env_file:
42 43
             - env

+ 5
- 5
postfix/config/master.cf 查看文件

@@ -14,11 +14,11 @@ submission inet n       -       -       -       -       smtpd
14 14
   -o smtpd_sasl_auth_enable=yes
15 15
   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
16 16
   -o milter_macro_daemon_name=ORIGINATING
17
-#smtps     inet  n       -       -       -       -       smtpd
18
-#  -o smtpd_tls_wrappermode=yes
19
-#  -o smtpd_sasl_auth_enable=yes
20
-#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
21
-#  -o milter_macro_daemon_name=ORIGINATING
17
+smtps     inet  n       -       -       -       -       smtpd
18
+  -o smtpd_tls_wrappermode=yes
19
+  -o smtpd_sasl_auth_enable=yes
20
+  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
21
+  -o milter_macro_daemon_name=ORIGINATING
22 22
 #628       inet  n       -       -       -       -       qmqpd
23 23
 pickup    fifo  n       -       -       60      1       pickup
24 24
 cleanup   unix  n       -       -       -       0       cleanup

Loading…
取消
儲存