質問編集履歴
7
情報を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -137,4 +137,36 @@
|
|
137
137
|
valid_lft 237857sec preferred_lft 237857sec
|
138
138
|
inet6 fe80::2db:d114:9551:6f23/64 scope link
|
139
139
|
valid_lft forever preferred_lft forever
|
140
|
+
```
|
141
|
+
|
142
|
+
追加情報 8/8追加
|
143
|
+
|
144
|
+
クライアント
|
145
|
+
```ここに言語を入力
|
146
|
+
[root@localhost ~]# hostname
|
147
|
+
localhost.localdomain
|
148
|
+
|
149
|
+
[root@localhost ~]# cat /etc/hosts
|
150
|
+
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
151
|
+
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
152
|
+
|
153
|
+
[root@localhost ~]# cat /etc/resolv.conf
|
154
|
+
# Generated by NetworkManager
|
155
|
+
nameserver 10.10.10.1
|
156
|
+
nameserver 10.10.10.9
|
157
|
+
```
|
158
|
+
|
159
|
+
メールサーバー
|
160
|
+
```ここに言語を入力
|
161
|
+
[root@localhost ~]# hostname
|
162
|
+
localhost.localdomain
|
163
|
+
|
164
|
+
[root@localhost ~]# cat /etc/hosts
|
165
|
+
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
166
|
+
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
167
|
+
|
168
|
+
[root@localhost ~]# cat /etc/resolv.conf
|
169
|
+
# Generated by NetworkManager
|
170
|
+
nameserver 10.10.10.1
|
171
|
+
nameserver 10.10.10.13
|
140
172
|
```
|
6
情報を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -115,4 +115,26 @@
|
|
115
115
|
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A8B6C184BEB2: removed
|
116
116
|
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)
|
117
117
|
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A04C8184BE2D: removed
|
118
|
+
```
|
119
|
+
ip addr show eth0の内容を追加
|
120
|
+
|
121
|
+
クライアント
|
122
|
+
```ここに言語を入力
|
123
|
+
[root@localhost ~]# ip addr show eth0
|
124
|
+
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
|
125
|
+
link/ether 00:15:5d:64:10:15 brd ff:ff:ff:ff:ff:ff
|
126
|
+
inet 10.10.10.12/24 brd 10.10.10.255 scope global dynamic eth0
|
127
|
+
valid_lft 255903sec preferred_lft 255903sec
|
128
|
+
inet6 fe80::16e4:8368:c667:b5da/64 scope link
|
129
|
+
valid_lft forever preferred_lft forever
|
130
|
+
```
|
131
|
+
メールサーバー
|
132
|
+
```
|
133
|
+
[root@localhost ~]# ip addr show eth0
|
134
|
+
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
|
135
|
+
link/ether 00:15:5d:64:10:12 brd ff:ff:ff:ff:ff:ff
|
136
|
+
inet 10.10.10.15/24 brd 10.10.10.255 scope global dynamic eth0
|
137
|
+
valid_lft 237857sec preferred_lft 237857sec
|
138
|
+
inet6 fe80::2db:d114:9551:6f23/64 scope link
|
139
|
+
valid_lft forever preferred_lft forever
|
118
140
|
```
|
5
エラーログの内容を変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -31,16 +31,16 @@
|
|
31
31
|
結果、送信できず、メールサーバのところでうまく言っていないようです。エラーのログは以下のようになっていました。
|
32
32
|
```ここに言語を入力
|
33
33
|
[root@localhost ~]# tail /var/log/maillog
|
34
|
-
Aug 7 00:48:50 localhost postfix/postfix-script[18965]: stopping the Postfix mail system
|
35
|
-
Aug 7 00:48:50 localhost postfix/master[18930]: terminating on signal 15
|
36
|
-
Aug 7 00:48:51 localhost postfix/postfix-script[19043]: starting the Postfix mail system
|
37
|
-
Aug 7 00:48:51 localhost postfix/master[19045]: daemon started -- version 2.10.1, configuration /etc/postfix
|
38
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: connect from unknown[10.10.10.12]
|
39
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: disconnect from unknown[10.10.10.12]
|
40
34
|
Aug 7 00:51:00 localhost postfix/smtpd[19051]: connect from unknown[10.10.10.12]
|
41
35
|
Aug 7 00:51:01 localhost postfix/smtpd[19051]: disconnect from unknown[10.10.10.12]
|
42
36
|
Aug 7 00:59:31 localhost postfix/smtpd[19056]: connect from unknown[10.10.10.12]
|
43
37
|
Aug 7 00:59:32 localhost postfix/smtpd[19056]: disconnect from unknown[10.10.10.12]
|
38
|
+
Aug 7 01:04:20 localhost postfix/smtpd[19075]: connect from unknown[10.10.10.12]
|
39
|
+
Aug 7 01:04:20 localhost postfix/smtpd[19075]: disconnect from unknown[10.10.10.12]
|
40
|
+
Aug 7 01:09:20 localhost postfix/smtpd[19078]: connect from unknown[10.10.10.12]
|
41
|
+
Aug 7 01:09:20 localhost postfix/smtpd[19078]: disconnect from unknown[10.10.10.12]
|
42
|
+
Aug 7 01:14:20 localhost postfix/smtpd[19080]: connect from unknown[10.10.10.12]
|
43
|
+
Aug 7 01:14:20 localhost postfix/smtpd[19080]: disconnect from unknown[10.10.10.12]
|
44
44
|
```
|
45
45
|
ちなみにメールサーバからクライアントから送ったテストメールは、うまくいきました。原因の方がよくわからないので、教えて欲しいです。よろしくお願いします。
|
46
46
|
|
4
誤字を修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -101,4 +101,18 @@
|
|
101
101
|
setgid_group = postdrop
|
102
102
|
unknown_local_recipient_reject_code = 550
|
103
103
|
|
104
|
+
```
|
105
|
+
|
106
|
+
クライアントのサーバのエラーログ
|
107
|
+
```ここに言語を入力
|
108
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A8B6C184BEB2: from=<root@localhost.localdomain>, size=325, nrcpt=1 (queue active)
|
109
|
+
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
|
110
|
+
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
|
111
|
+
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)
|
112
|
+
Aug 7 01:14:20 localhost postfix/cleanup[2645]: A04C8184BE2D: message-id=<20170806161420.A04C8184BE2D@localhost.localdomain>
|
113
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A04C8184BE2D: from=<>, size=2186, nrcpt=1 (queue active)
|
114
|
+
Aug 7 01:14:20 localhost postfix/bounce[2644]: A8B6C184BEB2: sender non-delivery notification: A04C8184BE2D
|
115
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A8B6C184BEB2: removed
|
116
|
+
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)
|
117
|
+
Aug 7 01:14:20 localhost postfix/qmgr[2423]: A04C8184BE2D: removed
|
104
118
|
```
|
3
間違いの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
//main.cf
|
5
5
|
```ここに言語を入力
|
6
|
-
relayhost = 10.
|
6
|
+
relayhost = 10.10.10.15
|
7
7
|
```
|
8
8
|
|
9
9
|
メールサーバの方に
|
2
設定内容を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -42,4 +42,63 @@
|
|
42
42
|
Aug 7 00:59:31 localhost postfix/smtpd[19056]: connect from unknown[10.10.10.12]
|
43
43
|
Aug 7 00:59:32 localhost postfix/smtpd[19056]: disconnect from unknown[10.10.10.12]
|
44
44
|
```
|
45
|
-
ちなみにメールサーバからクライアントから送ったテストメールは、うまくいきました。原因の方がよくわからないので、教えて欲しいです。よろしくお願いします。
|
45
|
+
ちなみにメールサーバからクライアントから送ったテストメールは、うまくいきました。原因の方がよくわからないので、教えて欲しいです。よろしくお願いします。
|
46
|
+
|
47
|
+
追加
|
48
|
+
設定内容
|
49
|
+
postconf -nの内容
|
50
|
+
クライアントの設定内容
|
51
|
+
```ここに言語を入力
|
52
|
+
alias_database = hash:/etc/aliases
|
53
|
+
alias_maps = hash:/etc/aliases
|
54
|
+
command_directory = /usr/sbin
|
55
|
+
config_directory = /etc/postfix
|
56
|
+
daemon_directory = /usr/libexec/postfix
|
57
|
+
data_directory = /var/lib/postfix
|
58
|
+
debug_peer_level = 2
|
59
|
+
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
|
60
|
+
html_directory = no
|
61
|
+
inet_interfaces = localhost
|
62
|
+
inet_protocols = all
|
63
|
+
mail_owner = postfix
|
64
|
+
mailq_path = /usr/bin/mailq.postfix
|
65
|
+
manpage_directory = /usr/share/man
|
66
|
+
mydestination = $myhostname, localhost.$mydomain, localhost
|
67
|
+
newaliases_path = /usr/bin/newaliases.postfix
|
68
|
+
queue_directory = /var/spool/postfix
|
69
|
+
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
|
70
|
+
relayhost = 10.10.10.15
|
71
|
+
sample_directory = /usr/share/doc/postfix-2.10.1/samples
|
72
|
+
sendmail_path = /usr/sbin/sendmail.postfix
|
73
|
+
setgid_group = postdrop
|
74
|
+
unknown_local_recipient_reject_code = 550
|
75
|
+
|
76
|
+
```
|
77
|
+
メールサーバーの設定内容
|
78
|
+
```ここに言語を入力
|
79
|
+
alias_database = hash:/etc/aliases
|
80
|
+
alias_maps = hash:/etc/aliases
|
81
|
+
command_directory = /usr/sbin
|
82
|
+
config_directory = /etc/postfix
|
83
|
+
daemon_directory = /usr/libexec/postfix
|
84
|
+
data_directory = /var/lib/postfix
|
85
|
+
debug_peer_level = 2
|
86
|
+
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
|
87
|
+
html_directory = no
|
88
|
+
inet_interfaces = all
|
89
|
+
inet_protocols = all
|
90
|
+
mail_owner = postfix
|
91
|
+
mailq_path = /usr/bin/mailq.postfix
|
92
|
+
manpage_directory = /usr/share/man
|
93
|
+
mydestination = $myhostname, localhost.$mydomain, localhost
|
94
|
+
mynetworks = 168.100.189.0/28, 127.0.0.0/8, 10.10.10.0/24
|
95
|
+
newaliases_path = /usr/bin/newaliases.postfix
|
96
|
+
queue_directory = /var/spool/postfix
|
97
|
+
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
|
98
|
+
resolve_numeric_domain = yes
|
99
|
+
sample_directory = /usr/share/doc/postfix-2.10.1/samples
|
100
|
+
sendmail_path = /usr/sbin/sendmail.postfix
|
101
|
+
setgid_group = postdrop
|
102
|
+
unknown_local_recipient_reject_code = 550
|
103
|
+
|
104
|
+
```
|
1
誤字を修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -35,11 +35,11 @@
|
|
35
35
|
Aug 7 00:48:50 localhost postfix/master[18930]: terminating on signal 15
|
36
36
|
Aug 7 00:48:51 localhost postfix/postfix-script[19043]: starting the Postfix mail system
|
37
37
|
Aug 7 00:48:51 localhost postfix/master[19045]: daemon started -- version 2.10.1, configuration /etc/postfix
|
38
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: connect from unknown[10.10.10.
|
38
|
+
Aug 7 00:49:10 localhost postfix/smtpd[19048]: connect from unknown[10.10.10.12]
|
39
|
-
Aug 7 00:49:10 localhost postfix/smtpd[19048]: disconnect from unknown[10.10.10.
|
39
|
+
Aug 7 00:49:10 localhost postfix/smtpd[19048]: disconnect from unknown[10.10.10.12]
|
40
|
-
Aug 7 00:51:00 localhost postfix/smtpd[19051]: connect from unknown[10.10.10.
|
40
|
+
Aug 7 00:51:00 localhost postfix/smtpd[19051]: connect from unknown[10.10.10.12]
|
41
|
-
Aug 7 00:51:01 localhost postfix/smtpd[19051]: disconnect from unknown[10.10.10.
|
41
|
+
Aug 7 00:51:01 localhost postfix/smtpd[19051]: disconnect from unknown[10.10.10.12]
|
42
|
-
Aug 7 00:59:31 localhost postfix/smtpd[19056]: connect from unknown[10.10.10.
|
42
|
+
Aug 7 00:59:31 localhost postfix/smtpd[19056]: connect from unknown[10.10.10.12]
|
43
|
-
Aug 7 00:59:32 localhost postfix/smtpd[19056]: disconnect from unknown[10.10.10.
|
43
|
+
Aug 7 00:59:32 localhost postfix/smtpd[19056]: disconnect from unknown[10.10.10.12]
|
44
44
|
```
|
45
45
|
ちなみにメールサーバからクライアントから送ったテストメールは、うまくいきました。原因の方がよくわからないので、教えて欲しいです。よろしくお願いします。
|