3493 postfix+dovecotでの外部へのメール送信不可能

<<トップページへ <<質問BBSへ

postfix+dovecotでの外部へのメール送信不可能
日時: 2008/03/28 23:57
名前: bolbol
OS:fedora core 6
回線:Bフレッツファミリー100 固定IP1

の環境です。

内部送受信可能
外部受信可能
外部送信不可能といった状態です。

参考元:http://fedorasrv.com/postfix.shtml



ドメイン:example.com

postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = example.com
myhostname = example.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP unknown
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
unknown_local_recipient_reject_code = 550


maillog

Mar 28 23:51:56 localhost postfix/pickup[4196]: 79C2BCC8067: uid=0 from=<picup@localhost.localdomain>
Mar 28 23:51:56 localhost postfix/cleanup[4437]: 79C2BCC8067: message-id=<1206715916.4433@localhost.localdomain>
Mar 28 23:51:56 localhost postfix/qmgr[4195]: 79C2BCC8067: from=<picup@localhost.localdomain>, size=493, nrcpt=1 (queue active)
Mar 28 23:51:56 localhost postfix/smtp[4439]: 79C2BCC8067: to=<aaaaaaa@example.jp>, relay=example.jp[111.111.111.11]:25, delay=0.32, de
lays=0.03/0.01/0.26/0.02, dsn=5.1.8, status=bounced (host example.jp[111.111.111.11] said: 553 5.1.8 <picup@localhost.localdomain>... Dom
ain of sender address picup@localhost.localdomain does not exist (in reply to MAIL FROM command))
Mar 28 23:51:56 localhost postfix/cleanup[4437]: CFF70CC8068: message-id=<20080328145156.CFF70CC8068@example.com>
Mar 28 23:51:56 localhost postfix/qmgr[4195]: CFF70CC8068: from=<>, size=2443, nrcpt=1 (queue active)
Mar 28 23:51:56 localhost postfix/bounce[4444]: 79C2BCC8067: sender non-delivery notification: CFF70CC8068
Mar 28 23:51:56 localhost postfix/qmgr[4195]: 79C2BCC8067: removed
Mar 28 23:51:56 localhost postfix/smtp[4439]: CFF70CC8068: to=<picup@localhost.localdomain>, relay=none, delay=0.14, delays=0/0/0.13/0, d
sn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost.localdomain type=A: Host not found)
Mar 28 23:51:56 localhost postfix/qmgr[4195]: CFF70CC8068: removed

となり送信がされない状態です。

何が原因かわからない状態です…

よろしくお願いします

Re: postfix+dovecotでの外部へのメール送信不可能(1)
日時: 2008/03/29 10:56
名前: aki
外部送信不可能とは内部から外部へ送信が不可なのか、外部からexample.comのアカウントを使用して送信不可なのか、今まで出来ていたのに駄目になったとか、内容がいまいちわかりません。
もう少し詳しく記載して下さい。

Re: postfix+dovecotでの外部へのメール送信不可能(2)
日時: 2008/03/29 13:22
名前: bolbol
記載が薄くすみません。


>外部送信不可能とは内部から外部へ送信が不可なのか、

内部から外部への送信も無理でした。
外部から外部も無理です。


>今まで出来ていたのに駄目になったとか、

昨日設置したばかりで、初期から送信できない状態です。

よろしくお願いします。

Re: postfix+dovecotでの外部へのメール送信不可能(3)
日時: 2008/03/29 14:18
名前: aki
なぜ今更FC6なのか疑問なんですが・・・

DNSの設定は出来てますか?

Re: postfix+dovecotでの外部へのメール送信不可能(4)
日時: 2008/03/29 15:32
名前: bolbol
>なぜ今更FC6なのか疑問なんですが・・・

今までFC6を使っていたので使い慣れたOSでということでFC6になりました。


>DNSの設定は出来てますか?

DNS設定は完了しています。
現在も問題なく閲覧できます。

よろしくお願いします。

Re: postfix+dovecotでの外部へのメール送信不可能(5)
日時: 2008/03/29 16:17
名前: aki
話がそれますがFedoraがバージョンアップした後、古いバージョンのサポート期間は三ヶ月程のようですのでセキュリティ的に大丈夫なのでしょうかね。

smtpd_sasl_local_domain = $myhostname
    ↓
smtpd_sasl_local_domain = $mydomain

変更しpostfixを再起動してテストしてみて下さい。

Re: postfix+dovecotでの外部へのメール送信不可能(6)
日時: 2008/03/29 16:34
名前: bolbol
>話がそれますがFedoraがバージョンアップした後、古いバージョンのサポート期間は三ヶ月程のようですのでセキュリティ的に大丈夫なのでしょうかね。

のちのち最新版を使用しようかと思ってます。
FC6からのUPDATEも過去にしてみたのですがエラーで躓いてうまく移動しなかったので…

>smtpd_sasl_local_domain = $myhostname
smtpd_sasl_local_domain = $mydomain

変更しpostfixを再起動してテストしてみて下さい。


上記作業を行いましたが送信できませんでした…

下記がmaillogです


Mar 29 16:28:12 localhost postfix/pickup[19227]: B7BBDCC8067: uid=0 from=<picup@localhost.localdomain>
Mar 29 16:28:12 localhost postfix/cleanup[19234]: B7BBDCC8067: message-id=<1206775692.19240@localhost.localdomain>
Mar 29 16:28:12 localhost postfix/qmgr[19226]: B7BBDCC8067: from=<picup@localhost.localdomain>, size=494, nrcpt=1 (queue act
ive)
Mar 29 16:28:13 localhost postfix/smtp[19236]: B7BBDCC8067: to=<aaaa@example.jp>, relay=example.jp[219.94.162.91]:25,
delay=0.28, delays=0.03/0/0.23/0.02, dsn=5.1.8, status=bounced (host example.jp[111.111.111.1] said: 553 5.1.8 <picup@local
host.localdomain>... Domain of sender address picup@localhost.localdomain does not exist (in reply to MAIL FROM command))
Mar 29 16:28:13 localhost postfix/cleanup[19234]: 09786CC8068: message-id=<20080329072813.09786CC8068@example.com>
Mar 29 16:28:13 localhost postfix/qmgr[19226]: 09786CC8068: from=<>, size=2444, nrcpt=1 (queue active)
Mar 29 16:28:13 localhost postfix/bounce[19241]: B7BBDCC8067: sender non-delivery notification: 09786CC8068
Mar 29 16:28:13 localhost postfix/qmgr[19226]: B7BBDCC8067: removed
Mar 29 16:28:13 localhost postfix/smtp[19236]: 09786CC8068: to=<picup@localhost.localdomain>, relay=none, delay=0.11, delays
=0.01/0/0.1/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost.localdomain t
ype=A: Host not found)
Mar 29 16:28:13 localhost postfix/qmgr[19226]: 09786CC8068: removed



postconf -n です。


alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = example.com
myhostname = example.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP unknown
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
unknown_local_recipient_reject_code = 550


よろしくお願いします。

Re: postfix+dovecotでの外部へのメール送信不可能(7)
日時: 2008/03/29 23:41
名前: aki
/etc/sysconfig/network と /etc/hosts は、どうなっていますか?

※古いスレッドには返信できない場合があります



▲このページのトップへ戻る

LPIロゴ Copyright© 2004-2008 fallenangels, All rights reserved.
ご自由にリンクしてください(連絡は不要です)
本ページへのご意見・ご要望、誤字・脱字・リンク切れ等のご連絡はこちらからお願いします