2017-03-05 1 views

答えて

0

(送信専用の仮想ユーザ)O/S

[ステップ1]だけmain.cf

に以下の行を追加
smtpd_recipient_restrictions = 
    check_recipient_access 
     hash:/etc/postfix/protected_destinations, 
permit 

は、[ステップ2]保護された宛先アドレス

$ viのは/ etc/postfixの/ protected_destinations

# /etc/postfix/protected_destinations 
# 
# destinations that need to be protected, for recipient matching the 'MAIL TO' field. 

# discard the below destination 
[email protected] DISCARD 
を設定するためのファイルを作成します

"username"フィールドは、独自の仮想ユーザー名に変更する必要があることに注意してください。

[ステップ3]更新DB

$ postmap /etc/postfix/protected_destinations 

[ステップ4]再起動後置サービス

+1

$ systemctl restart postfix.service 
おかげNebula.OTOTO、これは動作します。 – Alandroid

+0

私はそれがうまくいくと聞いてうれしい... –

関連する問題