[postfix]
postfixで逆引きの引けないアドレスからのメールを拒否するにはmain.cfにsmtpd_client_restrictionsにreject_unknown_clientを設定すればよい。
smtpd_client_restrictions = reject_unknown_client
正しく設定されていれば以下のようなメッセージとともに、メールが拒否されるはずです。
RCPT from unknown[218.219.203.56]: 450 Client host rejected: cannot find your hostname
※以下の二つもデフォルトでコード450を出します。
reject_unknown_hostname
reject_unknown_address
※smtpd_client_restrictionsのその他のオプションについはman 5 posfconfを確認してください。
[参考文書]
Postfix Configuration - SPAM Controls
関連記事
postfix relayhost
smtpd_client_connection_rate_limit - 同一クライアントからの接続制限
smtpd_recipient_limit - 同時配信数の制限
fatal: unsupported dictionary type: sdbm
postfixadmin + mysql + courier-imapによるバーチャルドメイン
postfixadminでメールボックスが作成されない
fatal: execvp script_path: Permission denied
postfix - rblの参照
postfix + spamassassin
postfixでのsmtp auth
postfix + amavis + clamav のインストール(RPM編)
postfix - postalias
postfix - メールのサイズ制限
postfix - 基本設定
postfix - pop before smtp
postfix - MaildirとMailbox形式の切り替え
postfix - dracd.dbのエラー
postfix + amavis + clamのインストール
postfix - キューの削除
postfix - transport
postfix - 逆引きが引けないアドレスからのメールを拒否
smtpd_client_connection_rate_limit - 同一クライアントからの接続制限
smtpd_recipient_limit - 同時配信数の制限
fatal: unsupported dictionary type: sdbm
postfixadmin + mysql + courier-imapによるバーチャルドメイン
postfixadminでメールボックスが作成されない
fatal: execvp script_path: Permission denied
postfix - rblの参照
postfix + spamassassin
postfixでのsmtp auth
postfix + amavis + clamav のインストール(RPM編)
postfix - postalias
postfix - メールのサイズ制限
postfix - 基本設定
postfix - pop before smtp
postfix - MaildirとMailbox形式の切り替え
postfix - dracd.dbのエラー
postfix + amavis + clamのインストール
postfix - キューの削除
postfix - transport
postfix - 逆引きが引けないアドレスからのメールを拒否
広告