1
仮想ユーザの受信メールを破棄するようにpostfixを設定するにはどうすればよいですか?あなたは、以下のFedoraに基づいて「main.cf」 で廃棄目的地を設定することができる仮想ユーザの受信メールを破棄するPostfix
仮想ユーザの受信メールを破棄するようにpostfixを設定するにはどうすればよいですか?あなたは、以下のFedoraに基づいて「main.cf」 で廃棄目的地を設定することができる仮想ユーザの受信メールを破棄するPostfix
(送信専用の仮想ユーザ)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]再起動後置サービス
私はそれがうまくいくと聞いてうれしい... –