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

[postfix-jp: 2187] 特定の外部への送信が拒否される



はじめまして。和田と申します。

Mac OS X 10.4.7にてpostfixを使用しています。
先日、インターネットプロバイダを変更しました。
変更したプロバイダはsmtp-auth or pop before smtpを使用して 
いないようで、
自ドメイン以外からのメール送信ができなくなりました。

そこで、自宅のMacにてメール送信サーバーを立てようとしてい 
ます。
readmeなどをいろいろ調べ、メール送信サーバーとして稼働するように
なりましたか、自力で解決できない問題があってメールさせていただき 
ました。
以下、その内容を列記します。

問題:
特定のアドレス(外部ドメイン)にメールを送信することが 
できない。

状況:
たとえば XXXX@xxxxxx (実在のアドレス) にメールを送る 
と、リレー送信と
判断されて受信を拒否されてしまう。下記はmail.logの該当部分

Aug 13 10:52:56 corolla postfix/smtp[6477]: 4534CF79F0:  
to=<XXXX@xxxxxx>, relay=221-251-37-10.platz.jp[221.251.37.10],  
delay=1, status=bounced (host 221-251-37-10.platz.jp[221.251.37.10]  
said: 550 5.7.1 Access denied (in reply to MAIL FROM command))

使用 postfix バージョン:  2.1.5 (OS X 10.4.7に標準添 
付のもの)

postconf -n の出力結果:
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
enable_server_options = yes
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost,  
corolla.local, adelphia.net
mydomain = lmdaca.adelphia.net
mydomain_fallback = localhost
myhostname = host.example.net
mynetworks = 192.168.2.0/24, 127.0.0.0/8
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_pw_server_security_options = plain, login, cram-md5
smtpd_recipient_restrictions = permit_mynetworks,  
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = corolla.local
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_tls_cert_file = /System/Library/OpenSSL/certs/server.crt
smtpd_tls_key_file = /System/Library/OpenSSL/certs/server.key
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_database = sdbm:/etc/postfix/smtpd_scache
smtpd_use_pw_server = yes
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
-- postconf -n ここまで

使用しているプロバイダ: adelphia.net (アメリカのケーブル 
TV会社 www.adelphia.net)

$myhostname (ここでは host.example.net と書き換えていま 
す)を dig mx した結果は下記の通りです。
dig mx host.example.net

; <<>> DiG 9.2.2 <<>> mx host.example.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49871
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;host.example.net.             IN      MX

;; AUTHORITY SECTION:
example.net.             600     IN      SOA     ns1.dyndns.org.  
hostmaster.dyndns.org. 2204603888 600 300 604800 600

;; Query time: 76 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sun Aug 13 11:08:11 2006
;; MSG SIZE  rcvd: 96

上記のようにメール受信を拒否するアドレスがいくつか存在しますが、 
基本的にはこの設定で
外部へのメール送信に問題はありません。
ここまで調べた限りでは、リレー転送チェックの厳しいプロバイダの場 
合にこのように拒否
されるのではないかと思うのですが、これ以上どのように設定をすれば 
いいのかが
わからずに苦労しています。

postconf -nの出力にあるとおり、smtp-authおよぴSSL接 
続を設定しています。
これについては正しく動いているようですし、それらをなしにしてもこ 
の問題は
変わりなく発生します。

どなたか情報持っている方おられましたら、教えていただけませんか?
よろしくお願いします。

和田 哲也



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

Follow-Ups
[postfix-jp: 2188] Re: 特定の外部への送信が拒否される, Issei Suzuki

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