質問編集履歴
1
postconf -n の情報追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,6 +56,192 @@
|
|
56
56
|
|
57
57
|
|
58
58
|
|
59
|
+
お手数かけます。上記のmail_locationとコマンド実行結果は下記になります。
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
●Dovecot の mail_location
|
64
|
+
|
65
|
+
→mail_location = maildir:~/
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
●postconf -n
|
70
|
+
|
71
|
+
[root@mailsvr-01 conf.d]# postconf -n
|
72
|
+
|
73
|
+
alias_database = hash:/etc/aliases
|
74
|
+
|
75
|
+
alias_maps = hash:/etc/aliases
|
76
|
+
|
77
|
+
broken_sasl_auth_clients = yes
|
78
|
+
|
79
|
+
command_directory = /usr/sbin
|
80
|
+
|
81
|
+
config_directory = /etc/postfix
|
82
|
+
|
83
|
+
daemon_directory = /usr/libexec/postfix
|
84
|
+
|
85
|
+
data_directory = /var/lib/postfix
|
86
|
+
|
87
|
+
debug_peer_level = 2
|
88
|
+
|
89
|
+
home_mailbox = Maildir/
|
90
|
+
|
91
|
+
html_directory = no
|
92
|
+
|
93
|
+
inet_interfaces = all
|
94
|
+
|
95
|
+
inet_protocols = ipv4
|
96
|
+
|
97
|
+
local_recipient_maps = proxy:unix:passwd.byname $alias_maps $virtual_mailbox_maps
|
98
|
+
|
99
|
+
mail_owner = postfix
|
100
|
+
|
101
|
+
mailq_path = /usr/bin/mailq.postfix
|
102
|
+
|
103
|
+
manpage_directory = /usr/share/man
|
104
|
+
|
105
|
+
mydestination =
|
106
|
+
|
107
|
+
mydomain = local
|
108
|
+
|
109
|
+
myhostname = mailsvr-01.local
|
110
|
+
|
111
|
+
mynetworks = 192.168.100.0/24, 127.0.0.1
|
112
|
+
|
113
|
+
myorigin = $mydomain
|
114
|
+
|
115
|
+
newaliases_path = /usr/bin/newaliases.postfix
|
116
|
+
|
117
|
+
queue_directory = /var/spool/postfix
|
118
|
+
|
119
|
+
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
|
120
|
+
|
121
|
+
relayhost = $mydomain
|
122
|
+
|
123
|
+
sample_directory = /usr/share/doc/postfix-2.6.6/samples
|
124
|
+
|
125
|
+
sendmail_path = /usr/sbin/sendmail.postfix
|
126
|
+
|
127
|
+
setgid_group = postdrop
|
128
|
+
|
129
|
+
smtpd_recipient_restrictions = permit_mynetworks permit_auth_destination permit_sasl_authenticated reject
|
130
|
+
|
131
|
+
smtpd_sasl_auth_enable = yes
|
132
|
+
|
133
|
+
smtpd_sasl_local_domain = $myhostname
|
134
|
+
|
135
|
+
smtpd_sasl_security_options = noanonymous
|
136
|
+
|
137
|
+
smtpd_tls_cert_file = /etc/pki/tls/certs/localhost.crt
|
138
|
+
|
139
|
+
smtpd_tls_key_file = /etc/pki/tls/private/localhost.key
|
140
|
+
|
141
|
+
smtpd_tls_loglevel = 1
|
142
|
+
|
143
|
+
smtpd_tls_session_cache_database = btree:/etc/postfix/smtpd_tls_scache
|
144
|
+
|
145
|
+
smtpd_use_tls = yes
|
146
|
+
|
147
|
+
unknown_local_recipient_reject_code = 550
|
148
|
+
|
149
|
+
virtual_alias_maps = ldap:/etc/postfix/ldap-alias.cf
|
150
|
+
|
151
|
+
virtual_gid_maps = static:1000
|
152
|
+
|
153
|
+
virtual_mailbox_base = /var/vmail
|
154
|
+
|
155
|
+
virtual_mailbox_domains = $myhostname, localhost.$mydomain, localhost, $mydomain
|
156
|
+
|
157
|
+
virtual_mailbox_maps = ldap:/etc/postfix/ldap-mailbox.cf
|
158
|
+
|
159
|
+
virtual_transport = virtual
|
160
|
+
|
161
|
+
virtual_uid_maps = static:1000
|
162
|
+
|
59
|
-
|
163
|
+
[root@mailsvr-01 conf.d]#
|
164
|
+
|
165
|
+
|
166
|
+
|
60
|
-
|
167
|
+
●doveadm config -n
|
168
|
+
|
169
|
+
[root@mailsvr-01 conf.d]# doveadm config -n
|
170
|
+
|
171
|
+
# 2.0.9: /etc/dovecot/dovecot.conf
|
172
|
+
|
173
|
+
# OS: Linux 2.6.32-504.el6.x86_64 x86_64 CentOS release 6.6 (Final)
|
174
|
+
|
175
|
+
auth_mechanisms = plain login
|
176
|
+
|
177
|
+
disable_plaintext_auth = no
|
178
|
+
|
179
|
+
listen = *
|
180
|
+
|
181
|
+
login_trusted_networks = 192.168.100.0/24
|
182
|
+
|
183
|
+
mail_location = maildir:~/
|
184
|
+
|
185
|
+
mbox_write_locks = fcntl
|
186
|
+
|
187
|
+
passdb {
|
188
|
+
|
189
|
+
driver = pam
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
passdb {
|
194
|
+
|
195
|
+
args = /etc/dovecot/dovecot-ldap.conf.ext
|
196
|
+
|
61
|
-
|
197
|
+
driver = ldap
|
198
|
+
|
199
|
+
}
|
200
|
+
|
201
|
+
protocols = pop3
|
202
|
+
|
203
|
+
ssl = no
|
204
|
+
|
205
|
+
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
|
206
|
+
|
207
|
+
ssl_key = </etc/pki/dovecot/private/dovecot.pem
|
208
|
+
|
209
|
+
userdb {
|
210
|
+
|
211
|
+
driver = passwd
|
212
|
+
|
213
|
+
}
|
214
|
+
|
215
|
+
userdb {
|
216
|
+
|
217
|
+
args = /etc/dovecot/dovecot-ldap.conf.ext
|
218
|
+
|
219
|
+
driver = passwd
|
220
|
+
|
221
|
+
}
|
222
|
+
|
223
|
+
userdb {
|
224
|
+
|
225
|
+
args = uid=10000 gid=10000 home=/var/spool/virtual/home/%u
|
226
|
+
|
227
|
+
driver = static
|
228
|
+
|
229
|
+
}
|
230
|
+
|
231
|
+
userdb {
|
232
|
+
|
233
|
+
args = /etc/dovecot/dovecot-ldap.conf.ext
|
234
|
+
|
235
|
+
driver = passwd
|
236
|
+
|
237
|
+
}
|
238
|
+
|
239
|
+
userdb {
|
240
|
+
|
241
|
+
args = uid=1000 gid=1000 home=/var/spool/virtual/home/%u
|
242
|
+
|
243
|
+
driver = static
|
244
|
+
|
245
|
+
}
|
246
|
+
|
247
|
+
[root@mailsvr-01 conf.d]#
|