Postfix エラー 設定変更

以前から気になっていたエラー
support for restriction “reject_maps_rbl” will be removed from Postfix; use
“reject_rbl_client domain-name” instead
を解決する方法を見つけたので紹介します。

# ALIAS DATABASE
#
# The alias_maps parameter specifies the list of alias databases used
# by the local delivery agent. The default list is system dependent.
#
# On systems with NIS, the default is to search the local alias
# database, then the NIS alias database. See aliases(5) for syntax
# details.
#
# If you change the alias database, run "postalias /etc/aliases" (or
# wherever your system stores the mail alias file), or simply run
# "newaliases" to build the necessary DBM or DB file.
#
# It will take a minute or so before changes become visible.  Use
# "postfix reload" to eliminate the delay.
#
#alias_maps = dbm:/etc/aliases
#alias_maps = hash:/etc/aliases

alias_maps = hash:/etc/aliases
場所をここに指定します。

エラー
restriction `reject’ after `check_relay_domains’ is ignored :
support for restriction “check_relay_domains” will be removed from Postfix; use
“reject_unauth_destination” instead :
の解決方法

smtpd_recipient_restrictions =
                permit_mynetworks,
		regexp:/etc/postfix/recipient_checks.reg,
				permit_sasl_authenticated,
				check_relay_domains,
		reject

これを下記の様に変更しました。

smtpd_recipient_restrictions =
                permit_mynetworks,
		regexp:/etc/postfix/recipient_checks.reg,
				permit_sasl_authenticated,
				reject_unauth_destination

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(Spamcheck Enabled)

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)