質問編集履歴
1
内容修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -61,31 +61,96 @@
|
|
61
61
|
```
|
62
62
|
コマンドで確認したエラーログの一部です。
|
63
63
|
```
|
64
|
-
Jan 13 15:20:12 PC
|
65
|
-
Jan 13 15:20:12 PC
|
66
|
-
Jan 13 15:20:19 PC
|
67
|
-
Jan 13 15:21:12 PC
|
64
|
+
Jan 13 15:20:12 PC名 postfix/smtp[56278]: connect to example.com[93.184.216.34]:25: Operation timed out
|
65
|
+
Jan 13 15:20:12 PC名 postfix/smtp[56278]: 01BD81D21DB: to=<example@example.com>, relay=none, delay=85987, delays=85934/0.17/53/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Operation timed out)
|
66
|
+
Jan 13 15:20:19 PC名 postfix/master[56270]: master exit time has arrived
|
67
|
+
Jan 13 15:21:12 PC名 postfix/smtp[56275]: connect to gmail-smtp-in.l.google.com[64.233.187.26]:25: Operation timed out
|
68
68
|
↑の同文4行
|
69
|
-
Jan 13 15:21:42 PC
|
69
|
+
Jan 13 15:21:42 PC名 postfix/smtp[56275]: connect to alt1.gmail-smtp-in.l.google.com[74.125.25.26]:25: Operation timed out
|
70
70
|
↑の同文4行
|
71
|
-
Jan 13 15:22:12 PC
|
71
|
+
Jan 13 15:22:12 PC名 postfix/smtp[56275]: connect to alt2.gmail-smtp-in.l.google.com[64.233.168.26]:25: Operation timed out
|
72
72
|
↑の同文4行
|
73
|
-
Jan 13 15:22:42 PC
|
73
|
+
Jan 13 15:22:42 PC名 postfix/smtp[56275]: connect to alt3.gmail-smtp-in.l.google.com[173.194.75.27]:25: Operation timed out
|
74
74
|
↑の同文4行
|
75
|
-
Jan 13 15:23:12 PC
|
76
|
-
Jan 13 15:23:12 PC
|
77
|
-
Jan 13 15:23:12 PC
|
78
|
-
Jan 13 15:23:12 PC
|
79
|
-
Jan 13 15:23:12 PC
|
80
|
-
Jan 13 15:23:12 PC
|
81
|
-
Jan 13 15:23:12 PC
|
82
|
-
Jan 13 15:23:12 PC
|
83
|
-
Jan 13 15:23:12 PC
|
84
|
-
Jan 13 15:23:12 PC
|
85
|
-
Jan 13 15:23:12 PC
|
75
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56275]: connect to alt4.gmail-smtp-in.l.google.com[173.194.204.27]:25: Operation timed out
|
76
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56275]: warning: 0FB301ACB3C: defer service failure
|
77
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56280]: warning: 119E81BEBC7: defer service failure
|
78
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56282]: connect to alt4.gmail-smtp-in.l.google.com[173.194.204.27]:25: Operation timed out
|
79
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56282]: warning: 131511D1D18: defer service failure
|
80
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56282]: 131511D1D18: to=<Gmaiアカウントのユーザー名@gmail.com>, relay=none, delay=87523, delays=87290/0.19/233/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.204.27]:25: Operation timed out)
|
81
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56284]: connect to alt4.gmail-smtp-in.l.google.com[173.194.204.27]:25: Operation timed out
|
82
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56284]: warning: 1F7B51D1CF9: defer service failure
|
83
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56284]: 1F7B51D1CF9: to=<Gmaiアカウントのユーザー名@gmail.com>, relay=none, delay=87557, delays=87324/0.22/233/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.204.27]:25: Operation timed out)
|
84
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56286]: connect to alt4.gmail-smtp-in.l.google.com[173.194.204.27]:25: Operation timed out
|
85
|
+
Jan 13 15:23:12 PC名 postfix/smtp[56286]: warning: 236DB1BC365: defer service failure
|
86
86
|
|
87
87
|
```
|
88
88
|
|
89
89
|
一応、Gmailアカウント側で安全性の低いアプリへのアクセスを有効にもしましたが、効果はありませんでした。
|
90
90
|
使用しているWebサーバはOS X Serverです。
|
91
|
-
このままだとWebページのお問い合わせフォームのメール送信ができなくて困ります。どなたか教えてください。よろしくお願いします。
|
91
|
+
このままだとWebページのお問い合わせフォームのメール送信ができなくて困ります。どなたか教えてください。よろしくお願いします。
|
92
|
+
|
93
|
+
|
94
|
+
----------追記.1-----------
|
95
|
+
|
96
|
+
TaichiYanagiyaさんの助言通り/etc/postfix/main.cf の最下段を
|
97
|
+
```
|
98
|
+
# Minimum Postfix-specific configurations.
|
99
|
+
#mydomain_fallback = localhost
|
100
|
+
mail_owner = _postfix
|
101
|
+
setgid_group = _postdrop
|
102
|
+
relayhost=[smtp.gmail.com]:587
|
103
|
+
|
104
|
+
# Enable SASL authentication in the Postfix SMTP client.
|
105
|
+
smtp_sasl_auth_enable=yes
|
106
|
+
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
|
107
|
+
smtp_sasl_security_options= noanonymous
|
108
|
+
smtp_sasl_mechanism_filter = plain
|
109
|
+
|
110
|
+
# Enable Transport Layer Security (TLS), i.e. SSL.
|
111
|
+
smtp_use_tls=yes
|
112
|
+
smtp_tls_security_level=encrypt
|
113
|
+
tls_random_source=dev:/dev/urandom
|
114
|
+
```
|
115
|
+
と修正したところエラーログは
|
116
|
+
|
117
|
+
```
|
118
|
+
Jan 13 16:36:06 PC名 postfix/postfix-script[57768]: refreshing the Postfix mail system
|
119
|
+
Jan 13 16:36:06 PC名 postfix/master[53653]: reload -- version 2.11.0, configuration /etc/postfix
|
120
|
+
Jan 13 16:36:13 PC名 postfix/master[57779]: daemon started -- version 2.11.0, configuration /Library/Server/Mail/Config/postfix
|
121
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 0FB301ACB3C: from=<_www@ドメイン.com>, size=1073, nrcpt=1 (queue active)
|
122
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 01BD81D21DB: from=<ユーザー名@ドメイン.com>, size=348, nrcpt=1 (queue active)
|
123
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 119E81BEBC7: from=<_www@ドメイン.com>, size=947, nrcpt=1 (queue active)
|
124
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 131511D1D18: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
125
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 1F7B51D1CF9: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
126
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 236DB1BC365: from=<_www@ドメイン.com>, size=1098, nrcpt=1 (queue active)
|
127
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 28EF61D1C2B: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
128
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 3424C1DF15C: from=<ユーザー名@ドメイン.com>, size=330, nrcpt=1 (queue active)
|
129
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 4EB811D2BF8: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
130
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 5B1551D23E9: from=<_www@ドメイン.com>, size=947, nrcpt=1 (queue active)
|
131
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 5FD811BE974: from=<_www@ドメイン.com>, size=834, nrcpt=1 (queue active)
|
132
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 6E8921BC324: from=<_www@ドメイン.com>, size=1098, nrcpt=1 (queue active)
|
133
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 6F7D11D1F6C: from=<ユーザー名@ドメイン.com>, size=331, nrcpt=1 (queue active)
|
134
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 721431E066A: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
135
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 7BC201E09B9: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
136
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 8411A1DF9DF: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
137
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 8A63D1BC2BD: from=<_www@ドメイン.com>, size=1098, nrcpt=1 (queue active)
|
138
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 950B41DEDBE: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
139
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 9BA9C1D2266: from=<ユーザー名@ドメイン.com>, size=351, nrcpt=1 (queue active)
|
140
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 9DC981D2C41: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
141
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: 9DF491BEE5F: from=<_www@ドメイン.com>, size=822, nrcpt=1 (queue active)
|
142
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: A40971D1A70: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
143
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: BC38A1DDB28: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
144
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: C45201BEA56: from=<_www@ドメイン.com>, size=832, nrcpt=1 (queue active)
|
145
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: CDD0D1D2268: from=<ユーザー名@ドメイン.com>, size=351, nrcpt=1 (queue active)
|
146
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: DCF8D1DFB65: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
147
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: E01FE1BC250: from=<_www@ドメイン.com>, size=1060, nrcpt=1 (queue active)
|
148
|
+
Jan 13 16:36:13 PC名 postfix/qmgr[57781]: E08341BCBCD: from=<_www@ドメイン.com>, size=1052, nrcpt=1 (queue active)
|
149
|
+
Jan 13 16:36:14 PC名 postfix/pickup[57780]: 5BEA11E1CD6: uid=501 from=<ユーザー名>
|
150
|
+
Jan 13 16:36:14 ドメイン postfix/cleanup[57782]: 5BEA11E1CD6: message-id=<20160113073614.5BEA11E1CD6@ドメイン.com>
|
151
|
+
Jan 13 16:36:14 PC名 postfix/qmgr[57781]: 5BEA11E1CD6: from=<ユーザー名@ドメイン.com>, size=359, nrcpt=1 (queue active)
|
152
|
+
Jan 13 16:37:06 PC名 postfix/smtp[57787]: connect to example.com[93.184.216.34]:25: Operation timed out
|
153
|
+
Jan 13 16:37:06 PC名 postfix/smtp[57787]: 01BD81D21DB: to=<example@example.com>, relay=none, delay=90601, delays=90548/0.23/53/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Operation timed out)
|
154
|
+
Jan 13 16:37:13 PC名 postfix/master[57779]: master exit time has arrived
|
155
|
+
```
|
156
|
+
となりました。
|