[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postfix-jp: 4172] 関係ないドメイン同士のメール処理を禁止したい



こんにちは takaesu と申します。
postfix 2.8 を使っています。

例えば example.jp を運営していたとして、現状でまったく関係の無いメールを
処理してしまっています。(配送している)

    From: example.com
    To: example.org

これを避けるにはどうしたら良いでしょうか?
ルール的には「From または To に example.jp を含む時だけ許可」としたいのです。

以下は postconf -n した結果です。
(((ドメイン名は example.jp に置換しています)))
# postconf -n
alias_database = dbm:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = yes
bounce_queue_lifetime = 1d
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4, ipv6
mail_owner = postfix
mailbox_size_limit = 16384000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maximal_backoff_time = 86400s
maximal_queue_lifetime = 1d
message_size_limit = 16384000
minimal_backoff_time = 14400s
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.example.jp
mydomain = example.jp
myhostname = mhub.example.jp
mynetworks = /etc/postfix/network_table
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relay_domains = $mydestination
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_data_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        check_client_access      regexp:$config_directory/white-list.txt,
        check_recipient_access   hash:$config_directory/postgrey_whitelist_recipients,
        check_client_access      hash:$config_directory/postgrey_whitelist_clients,
        check_client_access      regexp:$config_directory/permit_client_nots25r,
        check_policy_service     inet:60000,
        permit
smtpd_helo_required = yes
smtpd_recipient_restrictions =
       permit_mynetworks,
       permit_sasl_authenticated,
       reject_unauth_destination,
       check_recipient_access   hash:$config_directory/postgrey_whitelist_recipients,
       check_client_access      hash:$config_directory/postgrey_whitelist_clients,
       check_client_access      regexp:$config_directory/white-list.txt,
       check_client_access      regexp:$config_directory/permit_client_nots25r,
       reject_invalid_hostname,
       reject_non_fqdn_sender,
       reject_unknown_sender_domain,
       reject_non_fqdn_recipient,
       reject_multi_recipient_bounce,
       reject_sender_login_mismatch,
       check_policy_service   inet:60000,
       check_client_access    regexp:$config_directory/perpend_client,
       permit
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
#

----
takaesu_at_pb4.so-net.ne.jp

_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list

Follow-Ups
[postfix-jp: 4173] Re: 関係ないドメイン同士のメール処理を禁止したい, Kimiya Kitani
[postfix-jp: 4174] Re: 関係ないドメイン同士のメール処理を禁止したい, mo-yuuki
[postfix-jp: 4177] Re: 関係ないドメイン同士のメール処理を禁止したい, SATOH Fumiyasu
[postfix-jp: 4183] Re: 関係ないドメイン同士のメール処理を禁止したい, IWAMOTO Kouichi

[検索ページ] [Postfix-JP ML Home]