dovecot設定.txt

矢野 宗一郎, 2015/06/18 16:27

ダウンロード (1.888 KB)

 
1
●バックアップ取得
2
[root@web2 ~]# cp -p /etc/dovecot.conf /etc/dovecot.conf.org
3

    
4
●dovecot.conf編集
5

    
6
以下の内容に変更
7

    
8
[root@web2 ~]# diff -c /etc/dovecot.conf /etc/dovecot.conf.org
9
*** /etc/dovecot.conf   Thu Nov 24 12:16:06 2011
10
--- /etc/dovecot.conf.org       Fri Aug 19 20:36:00 2011
11
***************
12
*** 17,23 ****
13

    
14
  # Protocols we want to be serving: imap imaps pop3 pop3s
15
  # If you only want to use dovecot-auth, you can set this to "none".
16
! protocols = imap imaps pop3 pop3s
17

    
18
  # IP or host address where to listen in for connections. It's not currently
19
  # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
20
--- 17,23 ----
21

    
22
  # Protocols we want to be serving: imap imaps pop3 pop3s
23
  # If you only want to use dovecot-auth, you can set this to "none".
24
! #protocols = imap imaps pop3 pop3s
25

    
26
  # IP or host address where to listen in for connections. It's not currently
27
  # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
28
***************
29
*** 208,214 ****
30
  #
31
  # <doc/wiki/MailLocation.txt>
32
  #
33
! mail_location = maildir:~/Maildir
34

    
35
  # If you need to set multiple mailbox locations or want to change default
36
  # namespace settings, you can do it by defining namespace sections.
37
--- 208,214 ----
38
  #
39
  # <doc/wiki/MailLocation.txt>
40
  #
41
! #mail_location =
42

    
43
  # If you need to set multiple mailbox locations or want to change default
44
  # namespace settings, you can do it by defining namespace sections.
45

    
46

    
47
●Dovecot起動
48
[root@web2 ~]# /etc/rc.d/init.d/dovecot start
49
Starting Dovecot Imap:                                     [  OK  ]
50

    
51
●Dovecot自動起動設定
52
[root@web2 ~]# chkconfig --list dovecot
53
dovecot         0:off   1:off   2:off   3:off   4:off   5:off   6:off
54
[root@web2 ~]# chkconfig dovecot on
55
[root@web2 ~]# chkconfig --list dovecot
56
dovecot         0:off   1:off   2:on    3:on    4:on    5:on    6:off
57

    
58