2012年4月 2日

[postfix-jp: 4085]メールが送信できない Connection timed out (port 25) 

はじめまして、浦部 祐介 と申します

現在、Centos5.7 で postfix(smtp) + Cyrus(imap) で
メールサーバを稼働させたいのですがうまくいかないようです。
極力自分でしらべて試行錯誤やってみましたがうまくいきません。
なにが間違っているかを教えていただければ幸いです。

テスト環境はドコモのXiルータ利用でポート開放済みです。

テスト内容は自分のGmailアカウントにサーバよりテストメール送信です。

下にエラーログ(maillog)とmain.cfを記載します


/etc/postfix/main.cf(コメントアウト全削除)

------------------------------------------------------------------

smtpd_sasl_auth_enable = yes

smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination

queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

mail_owner = postfix

myhostname = sample.com

mydomain = sample.com

myorigin = $mydomain

inet_interfaces = all

mydestination = $myhostname, localhost.$mydomain, localhost

unknown_local_recipient_reject_code = 550

mynetworks = 192.168.0.0/23, 127.0.0.0/8

relay_domains = $mydestination

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

home_mailbox = Maildir/

mail_spool_directory = /var/mail

header_checks = regexp:/etc/postfix/header_checks

mailbox_size_limit = 102400000

debug_peer_level = 2

debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-2.3.3/samples

readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
-----------------------------------------------------------------------------

メールログ

-----------------------------------------------------------------------------


Apr 2 16:04:14 user postfix/qmgr[3001]: 2CF57D69AF2:
from=<user@xxxxx, size=307, nrcpt=1 (queue active)
Apr 2 16:04:14 user postfix/qmgr[3001]: 94F3DD69AED:
from=<root@xxxxx>, size=330, nrcpt=1 (queue active)
Apr 2 16:04:14 user postfix/qmgr[3001]: 5ACA4D69AF5:
from=<user@xxxxx>, size=313, nrcpt=1 (queue active)
Apr 2 16:04:45 user postfix/smtp[4079]: connect to
gmail-smtp-in.l.google.com[173.194.79.27]: Connection timed out (port
25)
Apr 2 16:04:45 user postfix/smtp[4080]: connect to
gmail-smtp-in.l.google.com[173.194.79.27]: Connection timed out (port
25)
Apr 2 16:04:45 user postfix/smtp[4077]: connect to
gmail-smtp-in.l.google.com[173.194.79.27]: Connection timed out (port
25)
Apr 2 16:04:45 user postfix/smtp[4080]: connect to
alt1.gmail-smtp-in.l.google.com[209.85.225.26]: No route to host (port
25)
Apr 2 16:05:14 user postfix/smtp[4079]: connect to
alt1.gmail-smtp-in.l.google.com[209.85.225.26]: Connection timed out
(port 25)
Apr 2 16:05:14 user postfix/smtp[4077]: connect to
alt1.gmail-smtp-in.l.google.com[209.85.225.26]: Connection timed out
(port 25)
Apr 2 16:05:14 user postfix/smtp[4080]: connect to
alt2.gmail-smtp-in.l.google.com[74.125.47.26]: Connection timed out
(port 25)
Apr 2 16:05:43 user postfix/smtp[4079]: connect to
alt2.gmail-smtp-in.l.google.com[74.125.47.26]: Connection timed out
(port 25)
Apr 2 16:05:43 user postfix/smtp[4077]: connect to
alt2.gmail-smtp-in.l.google.com[74.125.47.26]: Connection timed out
(port 25)
Apr 2 16:05:43 user postfix/smtp[4080]: connect to
alt3.gmail-smtp-in.l.google.com[173.194.76.26]: Connection timed out
(port 25)
Apr 2 16:06:13 user postfix/smtp[4079]: connect to
alt3.gmail-smtp-in.l.google.com[173.194.76.26]: Connection timed out
(port 25)
Apr 2 16:06:13 user postfix/smtp[4077]: connect to
alt3.gmail-smtp-in.l.google.com[173.194.76.26]: Connection timed out
(port 25)
Apr 2 16:06:13 user postfix/smtp[4080]: connect to
alt4.gmail-smtp-in.l.google.com[173.194.73.27]: Connection timed out
(port 25)
Apr 2 16:06:13 user postfix/smtp[4080]: 5ACA4D69AF5:
to=<googleusername@xxxxx>, relay=none, delay=2047,
delays=1929/0.01/118/0, dsn=4.4.1, status=deferred (connect to
alt4.gmail-smtp-in.l.google.com[173.194.73.27]: Connection timed out)
Apr 2 16:06:42 user postfix/smtp[4079]: connect to
alt4.gmail-smtp-in.l.google.com[173.194.73.26]: Connection timed out
(port 25)
Apr 2 16:06:42 user postfix/smtp[4079]: 94F3DD69AED:
to=<googleusername@xxxxx>, relay=none, delay=16705,
delays=16557/0.02/147/0, dsn=4.4.1, status=deferred (connect to
alt4.gmail-smtp-in.l.google.com[173.194.73.26]: Connection timed out)
Apr 2 16:06:42 user postfix/smtp[4077]: connect to
alt4.gmail-smtp-in.l.google.com[173.194.73.26]: Connection timed out
(port 25)
Apr 2 16:06:42 user postfix/smtp[4077]: 2CF57D69AF2:
to=<googleusername@xxxxx>, relay=none, delay=2433,
delays=2286/0.02/147/0, dsn=4.4.1, status=deferred (connect to
alt4.gmail-smtp-in.l.google.com[173.194.73.26]: Connection timed out)
-------------------------------------------------------------------------------

よろしくおねがいします。

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


投稿者 xml-rpc : 2012年4月 2日 16:22
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/109349
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。