2016-07-19 11 views
-3

シンプルなusecaseは動作しません。Centos PostfixメールがGmailに届きません

私はWebアプリケーションを持っており、アプリケーションから電子メールを送信するようにSMTPサーバーを構成する必要があります。

リンクごとにメールがインストールされています。http://tecadmin.net/bash-mail-command-not-found/ すべていいです。

Test Sending email as: echo "This is a test email body " | mail -s "This is a test email " [email protected] 

は今、私はログに次を得る:

[email protected]/var/log $ tail -f /var/log/maillog 
Jul 19 16:47:57 bridgeapps-dev01 postfix/postfix-script[23104]: stopping the Postfix mail system 
Jul 19 16:47:57 bridgeapps-dev01 postfix/master[1466]: terminating on signal 15 
Jul 19 16:47:57 bridgeapps-dev01 postfix/postfix-script[23184]: starting the Postfix mail system 
Jul 19 16:47:57 bridgeapps-dev01 postfix/master[23186]: daemon started -- version 2.10.1, configuration /etc/postfix 
Jul 19 16:48:12 bridgeapps-dev01 postfix/pickup[23187]: 4163841204: uid=0 from=<root> 
Jul 19 16:48:12 bridgeapps-dev01 postfix/cleanup[23194]: 4163841204: message-id=<[email protected]> 
Jul 19 16:48:12 bridgeapps-dev01 postfix/qmgr[23188]: 4163841204: from=<[email protected]>, size=582, nrcpt=1 (queue active) 
Jul 19 16:48:12 bridgeapps-dev01 postfix/smtp[23196]: connect to ASPMX.L.GOOGLE.com[2a00:1450:400c:c09::1b]:25: Network is unreachable 
Jul 19 16:48:12 bridgeapps-dev01 postfix/smtp[23196]: 4163841204: to=<[email protected]>, relay=ASPMX.L.GOOGLE.com[64.233.166.26]:25, delay=0.47, delays=0.02/0.01/0.24/0.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1468943292 l4si11397516wmf.56 - gsmtp) 
Jul 19 16:48:12 bridgeapps-dev01 postfix/qmgr[23188]: 4163841204: removed 

すべての緑、エラーは、物事が本当であるには余りにも良いように見えるように、私はGmailでこのメールを受け取ることはありません。

私には何が欠けていますか?

ありがとう、

答えて

関連する問題