質問編集履歴
7
情報を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -277,3 +277,67 @@
|
|
277
277
|
valid_lft forever preferred_lft forever
|
278
278
|
|
279
279
|
```
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
追加情報 8/8追加
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
クライアント
|
288
|
+
|
289
|
+
```ここに言語を入力
|
290
|
+
|
291
|
+
[root@localhost ~]# hostname
|
292
|
+
|
293
|
+
localhost.localdomain
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
[root@localhost ~]# cat /etc/hosts
|
298
|
+
|
299
|
+
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
300
|
+
|
301
|
+
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
[root@localhost ~]# cat /etc/resolv.conf
|
306
|
+
|
307
|
+
# Generated by NetworkManager
|
308
|
+
|
309
|
+
nameserver 10.10.10.1
|
310
|
+
|
311
|
+
nameserver 10.10.10.9
|
312
|
+
|
313
|
+
```
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
メールサーバー
|
318
|
+
|
319
|
+
```ここに言語を入力
|
320
|
+
|
321
|
+
[root@localhost ~]# hostname
|
322
|
+
|
323
|
+
localhost.localdomain
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
[root@localhost ~]# cat /etc/hosts
|
328
|
+
|
329
|
+
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
330
|
+
|
331
|
+
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
[root@localhost ~]# cat /etc/resolv.conf
|
336
|
+
|
337
|
+
# Generated by NetworkManager
|
338
|
+
|
339
|
+
nameserver 10.10.10.1
|
340
|
+
|
341
|
+
nameserver 10.10.10.13
|
342
|
+
|
343
|
+
```
|
6
情報を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -233,3 +233,47 @@
|
|
233
233
|
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A04C8184BE2D: removed
|
234
234
|
|
235
235
|
```
|
236
|
+
|
237
|
+
ip addr show eth0の内容を追加
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
クライアント
|
242
|
+
|
243
|
+
```ここに言語を入力
|
244
|
+
|
245
|
+
[root@localhost ~]# ip addr show eth0
|
246
|
+
|
247
|
+
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
|
248
|
+
|
249
|
+
link/ether 00:15:5d:64:10:15 brd ff:ff:ff:ff:ff:ff
|
250
|
+
|
251
|
+
inet 10.10.10.12/24 brd 10.10.10.255 scope global dynamic eth0
|
252
|
+
|
253
|
+
valid_lft 255903sec preferred_lft 255903sec
|
254
|
+
|
255
|
+
inet6 fe80::16e4:8368:c667:b5da/64 scope link
|
256
|
+
|
257
|
+
valid_lft forever preferred_lft forever
|
258
|
+
|
259
|
+
```
|
260
|
+
|
261
|
+
メールサーバー
|
262
|
+
|
263
|
+
```
|
264
|
+
|
265
|
+
[root@localhost ~]# ip addr show eth0
|
266
|
+
|
267
|
+
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
|
268
|
+
|
269
|
+
link/ether 00:15:5d:64:10:12 brd ff:ff:ff:ff:ff:ff
|
270
|
+
|
271
|
+
inet 10.10.10.15/24 brd 10.10.10.255 scope global dynamic eth0
|
272
|
+
|
273
|
+
valid_lft 237857sec preferred_lft 237857sec
|
274
|
+
|
275
|
+
inet6 fe80::2db:d114:9551:6f23/64 scope link
|
276
|
+
|
277
|
+
valid_lft forever preferred_lft forever
|
278
|
+
|
279
|
+
```
|
5
エラーログの内容を変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,18 +64,6 @@
|
|
64
64
|
|
65
65
|
[root@localhost ~]# tail /var/log/maillog
|
66
66
|
|
67
|
-
Aug 7 00:48:50 localhost postfix/postfix-script[18965]: stopping the Postfix mail system
|
68
|
-
|
69
|
-
Aug 7 00:48:50 localhost postfix/master[18930]: terminating on signal 15
|
70
|
-
|
71
|
-
Aug 7 00:48:51 localhost postfix/postfix-script[19043]: starting the Postfix mail system
|
72
|
-
|
73
|
-
Aug 7 00:48:51 localhost postfix/master[19045]: daemon started -- version 2.10.1, configuration /etc/postfix
|
74
|
-
|
75
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: connect from unknown[10.10.10.12]
|
76
|
-
|
77
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: disconnect from unknown[10.10.10.12]
|
78
|
-
|
79
67
|
Aug 7 00:51:00 localhost postfix/smtpd[19051]: connect from unknown[10.10.10.12]
|
80
68
|
|
81
69
|
Aug 7 00:51:01 localhost postfix/smtpd[19051]: disconnect from unknown[10.10.10.12]
|
@@ -84,6 +72,18 @@
|
|
84
72
|
|
85
73
|
Aug 7 00:59:32 localhost postfix/smtpd[19056]: disconnect from unknown[10.10.10.12]
|
86
74
|
|
75
|
+
Aug 7 01:04:20 localhost postfix/smtpd[19075]: connect from unknown[10.10.10.12]
|
76
|
+
|
77
|
+
Aug 7 01:04:20 localhost postfix/smtpd[19075]: disconnect from unknown[10.10.10.12]
|
78
|
+
|
79
|
+
Aug 7 01:09:20 localhost postfix/smtpd[19078]: connect from unknown[10.10.10.12]
|
80
|
+
|
81
|
+
Aug 7 01:09:20 localhost postfix/smtpd[19078]: disconnect from unknown[10.10.10.12]
|
82
|
+
|
83
|
+
Aug 7 01:14:20 localhost postfix/smtpd[19080]: connect from unknown[10.10.10.12]
|
84
|
+
|
85
|
+
Aug 7 01:14:20 localhost postfix/smtpd[19080]: disconnect from unknown[10.10.10.12]
|
86
|
+
|
87
87
|
```
|
88
88
|
|
89
89
|
ちなみにメールサーバからクライアントから送ったテストメールは、うまくいきました。原因の方がよくわからないので、教えて欲しいです。よろしくお願いします。
|
4
誤字を修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -205,3 +205,31 @@
|
|
205
205
|
|
206
206
|
|
207
207
|
```
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
クライアントのサーバのエラーログ
|
212
|
+
|
213
|
+
```ここに言語を入力
|
214
|
+
|
215
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A8B6C184BEB2: from=<root@localhost.localdomain>, size=325, nrcpt=1 (queue active)
|
216
|
+
|
217
|
+
Aug 7 01:14:20 localhost postfix/smtp[2643]: warning: host 10.10.10.15[10.10.10.15]:25 greeted me with my own hostname localhost.localdomain
|
218
|
+
|
219
|
+
Aug 7 01:14:20 localhost postfix/smtp[2643]: warning: host 10.10.10.15[10.10.10.15]:25 replied to HELO/EHLO with my own hostname localhost.localdomain
|
220
|
+
|
221
|
+
Aug 7 01:14:20 localhost postfix/smtp[2643]: A8B6C184BEB2: to=<test@gmail.com>, relay=10.10.10.15[10.10.10.15]:25, delay=4729, delays=4728/0.01/0.09/0, dsn=5.4.6, status=bounced (mail for 10.10.10.15 loops back to myself)
|
222
|
+
|
223
|
+
Aug 7 01:14:20 localhost postfix/cleanup[2645]: A04C8184BE2D: message-id=<20170806161420.A04C8184BE2D@localhost.localdomain>
|
224
|
+
|
225
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A04C8184BE2D: from=<>, size=2186, nrcpt=1 (queue active)
|
226
|
+
|
227
|
+
Aug 7 01:14:20 localhost postfix/bounce[2644]: A8B6C184BEB2: sender non-delivery notification: A04C8184BE2D
|
228
|
+
|
229
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A8B6C184BEB2: removed
|
230
|
+
|
231
|
+
Aug 7 01:14:20 localhost postfix/local[2646]: A04C8184BE2D: to=<root@localhost.localdomain>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
|
232
|
+
|
233
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A04C8184BE2D: removed
|
234
|
+
|
235
|
+
```
|
3
間違いの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```ここに言語を入力
|
10
10
|
|
11
|
-
relayhost = 10.0.0.15
|
11
|
+
relayhost = 10.10.10.15
|
12
12
|
|
13
13
|
```
|
14
14
|
|
2
設定内容を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -87,3 +87,121 @@
|
|
87
87
|
```
|
88
88
|
|
89
89
|
ちなみにメールサーバからクライアントから送ったテストメールは、うまくいきました。原因の方がよくわからないので、教えて欲しいです。よろしくお願いします。
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
追加
|
94
|
+
|
95
|
+
設定内容
|
96
|
+
|
97
|
+
postconf -nの内容
|
98
|
+
|
99
|
+
クライアントの設定内容
|
100
|
+
|
101
|
+
```ここに言語を入力
|
102
|
+
|
103
|
+
alias_database = hash:/etc/aliases
|
104
|
+
|
105
|
+
alias_maps = hash:/etc/aliases
|
106
|
+
|
107
|
+
command_directory = /usr/sbin
|
108
|
+
|
109
|
+
config_directory = /etc/postfix
|
110
|
+
|
111
|
+
daemon_directory = /usr/libexec/postfix
|
112
|
+
|
113
|
+
data_directory = /var/lib/postfix
|
114
|
+
|
115
|
+
debug_peer_level = 2
|
116
|
+
|
117
|
+
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
|
118
|
+
|
119
|
+
html_directory = no
|
120
|
+
|
121
|
+
inet_interfaces = localhost
|
122
|
+
|
123
|
+
inet_protocols = all
|
124
|
+
|
125
|
+
mail_owner = postfix
|
126
|
+
|
127
|
+
mailq_path = /usr/bin/mailq.postfix
|
128
|
+
|
129
|
+
manpage_directory = /usr/share/man
|
130
|
+
|
131
|
+
mydestination = $myhostname, localhost.$mydomain, localhost
|
132
|
+
|
133
|
+
newaliases_path = /usr/bin/newaliases.postfix
|
134
|
+
|
135
|
+
queue_directory = /var/spool/postfix
|
136
|
+
|
137
|
+
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
|
138
|
+
|
139
|
+
relayhost = 10.10.10.15
|
140
|
+
|
141
|
+
sample_directory = /usr/share/doc/postfix-2.10.1/samples
|
142
|
+
|
143
|
+
sendmail_path = /usr/sbin/sendmail.postfix
|
144
|
+
|
145
|
+
setgid_group = postdrop
|
146
|
+
|
147
|
+
unknown_local_recipient_reject_code = 550
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
```
|
152
|
+
|
153
|
+
メールサーバーの設定内容
|
154
|
+
|
155
|
+
```ここに言語を入力
|
156
|
+
|
157
|
+
alias_database = hash:/etc/aliases
|
158
|
+
|
159
|
+
alias_maps = hash:/etc/aliases
|
160
|
+
|
161
|
+
command_directory = /usr/sbin
|
162
|
+
|
163
|
+
config_directory = /etc/postfix
|
164
|
+
|
165
|
+
daemon_directory = /usr/libexec/postfix
|
166
|
+
|
167
|
+
data_directory = /var/lib/postfix
|
168
|
+
|
169
|
+
debug_peer_level = 2
|
170
|
+
|
171
|
+
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
|
172
|
+
|
173
|
+
html_directory = no
|
174
|
+
|
175
|
+
inet_interfaces = all
|
176
|
+
|
177
|
+
inet_protocols = all
|
178
|
+
|
179
|
+
mail_owner = postfix
|
180
|
+
|
181
|
+
mailq_path = /usr/bin/mailq.postfix
|
182
|
+
|
183
|
+
manpage_directory = /usr/share/man
|
184
|
+
|
185
|
+
mydestination = $myhostname, localhost.$mydomain, localhost
|
186
|
+
|
187
|
+
mynetworks = 168.100.189.0/28, 127.0.0.0/8, 10.10.10.0/24
|
188
|
+
|
189
|
+
newaliases_path = /usr/bin/newaliases.postfix
|
190
|
+
|
191
|
+
queue_directory = /var/spool/postfix
|
192
|
+
|
193
|
+
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
|
194
|
+
|
195
|
+
resolve_numeric_domain = yes
|
196
|
+
|
197
|
+
sample_directory = /usr/share/doc/postfix-2.10.1/samples
|
198
|
+
|
199
|
+
sendmail_path = /usr/sbin/sendmail.postfix
|
200
|
+
|
201
|
+
setgid_group = postdrop
|
202
|
+
|
203
|
+
unknown_local_recipient_reject_code = 550
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
```
|
1
誤字を修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,17 +72,17 @@
|
|
72
72
|
|
73
73
|
Aug 7 00:48:51 localhost postfix/master[19045]: daemon started -- version 2.10.1, configuration /etc/postfix
|
74
74
|
|
75
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: connect from unknown[10.10.10.1
|
75
|
+
Aug 7 00:49:10 localhost postfix/smtpd[19048]: connect from unknown[10.10.10.12]
|
76
76
|
|
77
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: disconnect from unknown[10.10.10.1
|
77
|
+
Aug 7 00:49:10 localhost postfix/smtpd[19048]: disconnect from unknown[10.10.10.12]
|
78
78
|
|
79
|
-
Aug 7 00:51:00 localhost postfix/smtpd[19051]: connect from unknown[10.10.10.1
|
79
|
+
Aug 7 00:51:00 localhost postfix/smtpd[19051]: connect from unknown[10.10.10.12]
|
80
80
|
|
81
|
-
Aug 7 00:51:01 localhost postfix/smtpd[19051]: disconnect from unknown[10.10.10.1
|
81
|
+
Aug 7 00:51:01 localhost postfix/smtpd[19051]: disconnect from unknown[10.10.10.12]
|
82
82
|
|
83
|
-
Aug 7 00:59:31 localhost postfix/smtpd[19056]: connect from unknown[10.10.10.1
|
83
|
+
Aug 7 00:59:31 localhost postfix/smtpd[19056]: connect from unknown[10.10.10.12]
|
84
84
|
|
85
|
-
Aug 7 00:59:32 localhost postfix/smtpd[19056]: disconnect from unknown[10.10.10.1
|
85
|
+
Aug 7 00:59:32 localhost postfix/smtpd[19056]: disconnect from unknown[10.10.10.12]
|
86
86
|
|
87
87
|
```
|
88
88
|
|