アプリ版:「スタンプのみでお礼する」機能のリリースについて

MacにMAMPを入れてPHPのCMSを動かしているのですが、メールが送れません。
/var/log/mail.logをみるとdefferddになって溜っています。
/etc/postfix/main.cfは設定し、postfix 再起動しました。ログには特にエラーは出ていません。

A 回答 (3件)

>すみません。

ポートを換える設定をお教えいただけませんか。

環境(プロバイダ)に依存するので基本的には自己解決してください。

プロバイダのリレーホストへ25番ポートで接続できるならmain.cfの「relayhost」を設定するだけで大丈夫ですが、もしかしたら587番など別のポートでしか受け付けていないかもしれません。
リレーホストの情報も含め、ご利用のプロバイダに確認してください。

下記サイトが参考になるかもしれません。
http://www.aconus.com/~oyaji/mail2/op25b.htm
    • good
    • 0
この回答へのお礼

連絡いただいたページは情報が古いので、他のページを参考にしましたが、解決すべきポイントであるOP25Bの回避ができ、無事送信できるようになりました。ありがとうございました。

お礼日時:2012/08/31 06:06

回線の環境が不明なので断言はできませんが、やっぱりOP25Bに引っ掛かってるように思うのですがいかがでしょうか。

この回答への補足

環境について書くのを忘れました。一般的な家庭用の光回線(eo光)です。
OP25B のようですね。
すみません。ポートを換える設定をお教えいただけませんか。
解説のホームページでもいいので。

補足日時:2012/08/28 14:16
    • good
    • 0

defferddになっている理由を開示してください(ログの該当行を張り付けてください)。


またサーバの環境も教えてください。
専用線などで固定IPで使用していますか?
まさかOP25Bに引っ掛かっているとかはありませんか?

この回答への補足

以下のようなログです。よろしくお願いします。

Aug 28 06:41:59 xxxxxx-no-MacBook-Pro postfix/qmgr[3716]: EEA121E09DA7: from=<tomo@***kawa-****hisa-no-MacBook-Pro.local>, size=616, nrcpt=1 (queue active)
Aug 28 06:42:00 xxxxxx-no-MacBook-Pro postfix/smtp[26714]: connect to gmail-smtp-in.l.google.com[2001:4860:8005::1a]:25: No route to host
Aug 28 06:42:30 xxxxxx-no-MacBook-Pro postfix/smtp[26714]: connect to gmail-smtp-in.l.google.com[74.125.127.27]:25: Operation timed out
Aug 28 06:42:30 xxxxxx-no-MacBook-Pro postfix/smtp[26714]: connect to alt1.gmail-smtp-in.l.google.com[2001:4860:b007::1b]:25: No route to host
Aug 28 06:43:00 xxxxxx-no-MacBook-Pro postfix/smtp[26714]: connect to alt1.gmail-smtp-in.l.google.com[209.85.225.27]:25: Operation timed out
Aug 28 06:43:00 xxxxxx-no-MacBook-Pro postfix/smtp[26714]: connect to alt2.gmail-smtp-in.l.google.com[2001:4860:8005::1a]:25: No route to host
Aug 28 06:43:00 xxxxxx-no-MacBook-Pro postfix/smtp[26714]: EEA121E09DA7: to=<xxxxx@gmail.com>, relay=none, delay=66654, delays=66593/0.03/61/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2001:4860:8005::1a]:25: No route to host)
Aug 28 07:24:03 xxxxxx-no-MacBook-Pro postfix/postfix-script[27081]: stopping the Postfix mail system
Aug 28 07:24:04 xxxxxx-no-MacBook-Pro postfix/postfix-script[27084]: waiting for the Postfix mail system to terminate
Aug 28 07:24:04 xxxxxx-no-MacBook-Pro postfix/master[3714]: terminating on signal 15
Aug 28 07:24:08 xxxxxx-no-MacBook-Pro postfix/postfix-script[27144]: warning: group or other writable: /Library/Server/Mail/Data/mta
Aug 28 07:24:08 xxxxxx-no-MacBook-Pro postfix/postfix-script[27156]: starting the Postfix mail system
Aug 28 07:24:08 xxxxxx-no-MacBook-Pro postfix/master[27157]: daemon started -- version 2.8.4, configuration /etc/postfix
Aug 28 07:24:15 xxxxxx-no-MacBook-Pro postfix/qmgr[27159]: EEA121E09DA7: from=<tomo@xxxxxx-no-MacBook-Pro.local>, size=616, nrcpt=1 (queue active)
Aug 28 07:24:16 xxxxxx-no-MacBook-Pro postfix/smtp[27167]: connect to gmail-smtp-in.l.google.com[2001:4860:8005::1b]:25: No route to host
Aug 28 07:24:46 xxxxxx-no-MacBook-Pro postfix/smtp[27167]: connect to gmail-smtp-in.l.google.com[74.125.127.26]:25: Operation timed out
Aug 28 07:24:46 xxxxxx-no-MacBook-Pro postfix/smtp[27167]: connect to alt1.gmail-smtp-in.l.google.com[2001:4860:b007::1a]:25: No route to host
Aug 28 07:25:16 xxxxxx-no-MacBook-Pro postfix/smtp[27167]: connect to alt1.gmail-smtp-in.l.google.com[209.85.225.26]:25: Operation timed out
Aug 28 07:25:16 xxxxxx-no-MacBook-Pro postfix/smtp[27167]: connect to alt2.gmail-smtp-in.l.google.com[2001:4860:8005::1b]:25: No route to host
Aug 28 07:25:17 xxxxxx-no-MacBook-Pro postfix/smtp[27167]: EEA121E09DA7: to=<xxxxx@gmail.com>, relay=none, delay=69190, delays=69129/0.06/61/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2001:4860:8005::1b]:25: No route to host)
sh-3.2#

補足日時:2012/08/28 07:32
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!