2016-09-01 30 views

回答

0

我不相信有一個內置的狀態。儘管您可能想要使用postfix-formula。鹽公式解釋在doc

安裝公式後,您將能夠從支柱設置relayhost。示例Salt top.sls:

base: 
    '*': 
    - postfix 
    - postfix.config 

請注意postfix.config表示實際管理配置文件的狀態。

支柱將如下所示:

postfix: 
    config: 
    relayhost: "[1.2.3.4]" 
相關問題