こんにちは、まっきーと申します。 先日、会社のメールシステムにメールゲートウェイなるものをPostfix2.2.8を 用いて設置しました。以前は、MS Exchange
Server2003を1台で使用していた のですが、設定しづらいため多機能なPostfixをメールゲートウェイとして追加 しました。 ところが、ある会社からのみ受信ができません。この会社以外は今のところ全 く問題ありません。 送信元のサーバー(21x.15x.24x.2x)の不具合だと思うのですが、こちら側で対処 できればしたいと思っています。 (Exchange Server2003を使用しているときは、受信できていたので。) 原因のわかる方がいらっしゃいましたら、アドバイスをいただければ幸いです。 環境: FreeBSD 5.3.0 Postfix 2.2.8_2 postconf -n の結果 -------- ここから
------------- alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_percent_hack = yes allow_untrusted_routing = no command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix debug_peer_level = 1 debug_peer_list = 21x.15x.24x.2x disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no local_recipient_maps = local_transport = smtp:192.168.0.3 mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain, localhost,
$mydomain mydomain = example.com myhostname = bsd.exsample.com mynetworks = 192.168.0.0/24, 127.0.0.0/8 myorigin = $myhostname newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_client_restrictions = permit_mynetworks check_client_access
hash:/usr/local/etc/postfix/restrict_clients
reject_unknown_client permit smtpd_etrn_restrictions = permit_mynetworks,
reject_invalid_hostname smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks,
check_relay_domains smtpd_sender_restrictions = reject_unknown_sender_domain strict_rfc821_envelopes = yes swap_bangpath = yes unknown_local_recipient_reject_code = 550 -------- ここまで
------------- ちなみに、この部分を削除してみても結果は同じく受信できません。 smtpd_client_restrictions = permit_mynetworks
check_client_access hash:/usr/local/etc/postfix/restrict_clients
reject_unknown_client permit smtpd_etrn_restrictions = permit_mynetworks,
reject_invalid_hostname smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks,
check_relay_domains smtpd_sender_restrictions = reject_unknown_sender_domain strict_rfc821_envelopes = yes swap_bangpath = yes unknown_local_recipient_reject_code = 550 また、ログを貼り付けます。 /var/log/maillog Apr 27 17:26:34 bsd postfix/smtpd[17512]: connect from
host-21x-15x-24x-2x.mil.choiceone.net[21x.15x.24x.2x] Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostname:
host-21x-15x-24x-2x.mil.choiceone.net ~? 192.168.0.0/24 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostaddr:
21x.15x.24x.2x ~? 192.168.0.0/24 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostname:
host-21x-15x-24x-2x.mil.choiceone.net ~? 127.0.0.0/8 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostaddr:
21x.15x.24x.2x ~? 127.0.0.0/8 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_list_match:
host-21x-15x-24x-2x.mil.choiceone.net: no match Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_list_match:
21x.15x.24x.2x: no match Apr 27 17:26:34 bsd postfix/smtpd[17512]: send attr request
= connect Apr 27 17:26:34 bsd postfix/smtpd[17512]: send attr ident =
smtp:21x.15x.24x.2x Apr 27 17:26:34 bsd postfix/smtpd[17512]: private/anvil:
wanted attribute: status Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
name: status Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
value: 0 Apr 27 17:26:34 bsd postfix/smtpd[17512]: private/anvil:
wanted attribute: count Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
name: count Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
value: 1 Apr 27 17:26:34 bsd postfix/smtpd[17512]: private/anvil:
wanted attribute: rate Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
name: rate Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
value: 1 Apr 27 17:26:34 bsd postfix/smtpd[17512]: private/anvil:
wanted attribute: (list terminator) Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
name: (end) Apr 27 17:26:34 bsd postfix/smtpd[17512]: >
host-21x-15x-24x-2x.mil.choiceone.net[21x.15x.24x.2x]: 220 bsd.example.com ESMTP
Postfix Apr 27 17:26:34 bsd postfix/smtpd[17512]: <
host-21x-15x-24x-2x.mil.choiceone.net[21x.15x.24x.2x]: Apr 27 17:26:34 bsd postfix/smtpd[17512]: >
host-21x-15x-24x-2x.mil.choiceone.net[21x.15x.24x.2x]: 500 Error: bad syntax Apr 27 17:26:34 bsd postfix/smtpd[17512]: <
host-21x-15x-24x-2x.mil.choiceone.net[21x.15x.24x.2x]: QUIT Apr 27 17:26:34 bsd postfix/smtpd[17512]: >
host-21x-15x-24x-2x.mil.choiceone.net[21x.15x.24x.2x]: 221 Bye Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostname:
host-21x-15x-24x-2x.mil.choiceone.net ~? 192.168.0.0/24 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostaddr:
21x.15x.24x.2x ~? 192.168.0.0/24 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostname:
host-21x-15x-24x-2x.mil.choiceone.net ~? 127.0.0.0/8 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_hostaddr:
21x.15x.24x.2x ~? 127.0.0.0/8 Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_list_match:
host-21x-15x-24x-2x.mil.choiceone.net: no match Apr 27 17:26:34 bsd postfix/smtpd[17512]: match_list_match:
21x.15x.24x.2x: no match Apr 27 17:26:34 bsd postfix/smtpd[17512]: send attr request
= disconnect Apr 27 17:26:34 bsd postfix/smtpd[17512]: send attr ident =
smtp:21x.15x.24x.2x Apr 27 17:26:34 bsd postfix/smtpd[17512]: private/anvil:
wanted attribute: status Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
name: status Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
value: 0 Apr 27 17:26:34 bsd postfix/smtpd[17512]: private/anvil:
wanted attribute: (list terminator) Apr 27 17:26:34 bsd postfix/smtpd[17512]: input attribute
name: (end) Apr 27 17:26:34 bsd postfix/smtpd[17512]: disconnect from
host-21x-15x-24x-2x.mil.choiceone.net[21x.15x.24x.2x] よろしくお願いいたします。 |
_______________________________________________ Postfix-jp-list mailing list Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list