質問編集履歴
2
maillog
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,55 +1,23 @@
|
|
1
|
-
CentOS7.5 Postfix2.10.6 Dovecot2.2.10-8
|
1
|
+
CentOS7.5 Postfix2.10.6 Dovecot2.2.10-8 httpd2.4.6.80
|
2
|
-
|
3
|
-
httpd2.4.6.80
|
4
|
-
|
5
|
-
|
6
2
|
|
7
3
|
この環境でWebサーバと、メールサーバを構築しています.
|
8
4
|
|
9
|
-
|
10
|
-
|
11
|
-
さてメールクライアント
|
5
|
+
さてメールクライアントに設定を落とし込んで、設定しているのですが、
|
12
|
-
|
13
|
-
|
14
6
|
|
15
7
|
外部にメールをです=>できる。外部メールに受信あり
|
16
8
|
|
17
9
|
内部(自分自身)にメールを出す=>受信できる
|
18
10
|
|
19
|
-
|
20
|
-
|
21
11
|
外部からメールを受信する=>できない
|
22
12
|
|
23
|
-
|
24
|
-
|
25
13
|
設定を見直しているのですが、間違っているところがわかりません。
|
26
14
|
|
27
|
-
|
28
|
-
|
29
|
-
maillogのdovecotの部分は以下の通りです。
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
Oct 26 19:03:15 suzunet dovecot: pop3-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<User>, method=PLAIN, rip=192.168.11.24, lip=192.168.11.250, TLS, session=<cIq70x555gDAqAsY>
|
34
|
-
|
35
|
-
Oct 26 19:05:19 suzunet dovecot: pop3-login: Login: user=<user>, method=PLAIN, rip=192.168.11.24, lip=192.168.11.250, mpid=15178, TLS, session=<yPdV2x550QDAqAsY>
|
36
|
-
|
37
|
-
Oct 26 19:05:19 suzunet dovecot: pop3(user): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
|
38
|
-
|
39
|
-
|
40
|
-
|
41
15
|
SSLで暗号化しています。http://centossrv.com/postfix-dovecot-certbot.shtmlここを参考にしています。
|
42
16
|
|
43
|
-
|
44
|
-
|
45
17
|
メールクライアントではメールを送っているにも関わらず、メールはありませんと出ます。
|
46
18
|
|
47
|
-
|
48
|
-
|
49
19
|
どこがおかしいでしょうか。ご教授お願いします。
|
50
20
|
|
51
|
-
|
52
|
-
|
53
21
|
postconf -n
|
54
22
|
|
55
23
|
```
|
1
confの出力
test
CHANGED
File without changes
|
test
CHANGED
@@ -47,3 +47,271 @@
|
|
47
47
|
|
48
48
|
|
49
49
|
どこがおかしいでしょうか。ご教授お願いします。
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
postconf -n
|
54
|
+
|
55
|
+
```
|
56
|
+
|
57
|
+
alias_database = hash:/etc/aliases
|
58
|
+
|
59
|
+
alias_maps = hash:/etc/aliases
|
60
|
+
|
61
|
+
command_directory = /usr/sbin
|
62
|
+
|
63
|
+
config_directory = /etc/postfix
|
64
|
+
|
65
|
+
daemon_directory = /usr/libexec/postfix
|
66
|
+
|
67
|
+
data_directory = /var/lib/postfix
|
68
|
+
|
69
|
+
debug_peer_level = 2
|
70
|
+
|
71
|
+
debug_peer_list = msa3.across.or.jp
|
72
|
+
|
73
|
+
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
|
74
|
+
|
75
|
+
home_mailbox = Maildir/
|
76
|
+
|
77
|
+
html_directory = no
|
78
|
+
|
79
|
+
inet_interfaces = all
|
80
|
+
|
81
|
+
inet_protocols = ipv4
|
82
|
+
|
83
|
+
local_recipient_maps =
|
84
|
+
|
85
|
+
luser_relay = unknown_user@localhost
|
86
|
+
|
87
|
+
mail_owner = postfix
|
88
|
+
|
89
|
+
mailq_path = /usr/bin/mailq.postfix
|
90
|
+
|
91
|
+
manpage_directory = /usr/share/man
|
92
|
+
|
93
|
+
message_size_limit = 10485760
|
94
|
+
|
95
|
+
mydestination = $myhostname, localhost.$mydomain, localhost
|
96
|
+
|
97
|
+
mydomain = suzunet.info
|
98
|
+
|
99
|
+
myhostname = mail.suzunet.info
|
100
|
+
|
101
|
+
myorigin = $mydomain
|
102
|
+
|
103
|
+
newaliases_path = /usr/bin/newaliases.postfix
|
104
|
+
|
105
|
+
queue_directory = /var/spool/postfix
|
106
|
+
|
107
|
+
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
|
108
|
+
|
109
|
+
relayhost = [msa3.across.or.jp]:587
|
110
|
+
|
111
|
+
sample_directory = /usr/share/doc/postfix-2.10.1/samples
|
112
|
+
|
113
|
+
sendmail_path = /usr/sbin/sendmail.postfix
|
114
|
+
|
115
|
+
setgid_group = postdrop
|
116
|
+
|
117
|
+
smtp_sasl_auth_enable = yes
|
118
|
+
|
119
|
+
smtp_sasl_mechanism_filter = plain,LOGIN
|
120
|
+
|
121
|
+
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
|
122
|
+
|
123
|
+
smtp_sasl_security_options = noanonymous
|
124
|
+
|
125
|
+
smtp_sasl_tls_security_options = noanonymous
|
126
|
+
|
127
|
+
smtp_tls_CApath = /etc/pki/tls/certs/ca-bundle.crt
|
128
|
+
|
129
|
+
smtp_tls_ciphers = high
|
130
|
+
|
131
|
+
smtp_tls_mandatory_protocols = !SSLv2,!SSLv3
|
132
|
+
|
133
|
+
smtp_tls_protocols = !SSLv2,!SSLv3
|
134
|
+
|
135
|
+
smtp_tls_security_level = may
|
136
|
+
|
137
|
+
smtp_use_tls = yes
|
138
|
+
|
139
|
+
smtpd_banner = $myhostname ESMTP unknown
|
140
|
+
|
141
|
+
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
142
|
+
|
143
|
+
smtpd_sasl_auth_enable = yes
|
144
|
+
|
145
|
+
smtpd_tls_cert_file = /etc/letsencrypt/live/mail.suzunet.info-0001/fullchain.pem
|
146
|
+
|
147
|
+
smtpd_tls_ciphers = high
|
148
|
+
|
149
|
+
smtpd_tls_key_file = /etc/letsencrypt/live/mail.suzunet.info-0001/privkey.pem
|
150
|
+
|
151
|
+
smtpd_tls_mandatory_ciphers = high
|
152
|
+
|
153
|
+
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
|
154
|
+
|
155
|
+
smtpd_tls_protocols = !SSLv2,!SSLv3
|
156
|
+
|
157
|
+
smtpd_tls_security_level = may
|
158
|
+
|
159
|
+
smtpd_tls_session_cache_database = btree:/var/lib/postfix-0001/smtpd_scache
|
160
|
+
|
161
|
+
tls_high_cipherlist = kEECDH:+kEECDH+SHA:kEDH:+kEDH+SHA:+kEDH+CAMELLIA:kECDH:+kECDH+SHA:kRSA:+kRSA+SHA:+kRSA+CAMELLIA:!aNULL:!eNULL:!SSLv2:!RC4:!MD5:!DES:!EXP:!SEED:!IDEA:!3DES
|
162
|
+
|
163
|
+
unknown_local_recipient_reject_code = 550
|
164
|
+
|
165
|
+
virtual_mailbox_domains = mail.suzunet.info suzunet.orz.hm
|
166
|
+
|
167
|
+
virtual_maps = hash:/etc/postfix/virtual
|
168
|
+
|
169
|
+
```
|
170
|
+
|
171
|
+
doveconf -n の結果
|
172
|
+
|
173
|
+
```
|
174
|
+
|
175
|
+
[root@suzunet log]# doveconf -n
|
176
|
+
|
177
|
+
# 2.2.10: /etc/dovecot/dovecot.conf
|
178
|
+
|
179
|
+
# OS: Linux 3.10.0-862.14.4.el7.x86_64 x86_64 CentOS Linux release 7.5.1804 (Core)
|
180
|
+
|
181
|
+
auth_mechanisms = cram-md5 plain login
|
182
|
+
|
183
|
+
disable_plaintext_auth = no
|
184
|
+
|
185
|
+
first_valid_uid = 1000
|
186
|
+
|
187
|
+
listen = *
|
188
|
+
|
189
|
+
mail_location = maildir:~/Maildir
|
190
|
+
|
191
|
+
mbox_write_locks = fcntl
|
192
|
+
|
193
|
+
namespace inbox {
|
194
|
+
|
195
|
+
inbox = yes
|
196
|
+
|
197
|
+
location =
|
198
|
+
|
199
|
+
mailbox Drafts {
|
200
|
+
|
201
|
+
special_use = \Drafts
|
202
|
+
|
203
|
+
}
|
204
|
+
|
205
|
+
mailbox Junk {
|
206
|
+
|
207
|
+
special_use = \Junk
|
208
|
+
|
209
|
+
}
|
210
|
+
|
211
|
+
mailbox Sent {
|
212
|
+
|
213
|
+
special_use = \Sent
|
214
|
+
|
215
|
+
}
|
216
|
+
|
217
|
+
mailbox "Sent Messages" {
|
218
|
+
|
219
|
+
special_use = \Sent
|
220
|
+
|
221
|
+
}
|
222
|
+
|
223
|
+
mailbox Trash {
|
224
|
+
|
225
|
+
special_use = \Trash
|
226
|
+
|
227
|
+
}
|
228
|
+
|
229
|
+
prefix =
|
230
|
+
|
231
|
+
}
|
232
|
+
|
233
|
+
passdb {
|
234
|
+
|
235
|
+
driver = pam
|
236
|
+
|
237
|
+
}
|
238
|
+
|
239
|
+
passdb {
|
240
|
+
|
241
|
+
args = scheme=CRAM-MD5 username_format=%u /etc/dovecot/users
|
242
|
+
|
243
|
+
driver = passwd-file
|
244
|
+
|
245
|
+
}
|
246
|
+
|
247
|
+
service auth {
|
248
|
+
|
249
|
+
unix_listener auth-userdb {
|
250
|
+
|
251
|
+
group = postfix
|
252
|
+
|
253
|
+
mode = 0666
|
254
|
+
|
255
|
+
user = postfix
|
256
|
+
|
257
|
+
}
|
258
|
+
|
259
|
+
}
|
260
|
+
|
261
|
+
service imap-login {
|
262
|
+
|
263
|
+
inet_listener imaps {
|
264
|
+
|
265
|
+
port = 993
|
266
|
+
|
267
|
+
ssl = yes
|
268
|
+
|
269
|
+
}
|
270
|
+
|
271
|
+
}
|
272
|
+
|
273
|
+
service pop3-login {
|
274
|
+
|
275
|
+
inet_listener pop3s {
|
276
|
+
|
277
|
+
port = 995
|
278
|
+
|
279
|
+
ssl = yes
|
280
|
+
|
281
|
+
}
|
282
|
+
|
283
|
+
}
|
284
|
+
|
285
|
+
ssl_cert = </etc/letsencrypt/live/mail.suzunet.info-0001/fullchain.pem
|
286
|
+
|
287
|
+
ssl_cipher_list = EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EDH+AESGCM+AES128:EDH+AESGCM+AES256:EECDH+SHA256+AES128:EECDH+SHA384+AES256:EDH+SHA256+AES128:EDH+SHA256+AES256:EECDH+SHA1+AES128:EECDH+SHA1+AES256:EDH+SHA1+AES128:EDH+SHA1+AES256:EECDH+HIGH:EDH+HIGH:AESGCM+AES128:AESGCM+AES256:SHA256+AES128:SHA256+AES256:SHA1+AES128:SHA1+AES256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!KRB5:!aECDH:!3DES
|
288
|
+
|
289
|
+
ssl_key = </etc/letsencrypt/live/mail.suzunet.info-0001/privkey.pem
|
290
|
+
|
291
|
+
ssl_protocols = !SSLv2 !SSLv3
|
292
|
+
|
293
|
+
userdb {
|
294
|
+
|
295
|
+
driver = passwd
|
296
|
+
|
297
|
+
}
|
298
|
+
|
299
|
+
userdb {
|
300
|
+
|
301
|
+
args = /etc/dovecot/users
|
302
|
+
|
303
|
+
driver = passwd-file
|
304
|
+
|
305
|
+
}
|
306
|
+
|
307
|
+
userdb {
|
308
|
+
|
309
|
+
args = uid=vmail gid=vmail home=/var/spool/virtual/%d/%u/Maildir
|
310
|
+
|
311
|
+
driver = static
|
312
|
+
|
313
|
+
}
|
314
|
+
|
315
|
+
valid_chroot_dirs = /home
|
316
|
+
|
317
|
+
```
|