浏览代码

Improve dovecot

Bob Mottram 11 年前
父节点
当前提交
c43711b866
共有 1 个文件被更改,包括 23 次插入5 次删除
  1. 23
    5
      beaglebone.txt

+ 23
- 5
beaglebone.txt 查看文件

872
 service cron restart
872
 service cron restart
873
 #+END_SRC
873
 #+END_SRC
874
 
874
 
875
-** Install dovecot
875
+** Install Dovecot
876
+
877
+Install the required packages.
876
 
878
 
877
 #+BEGIN_SRC: bash
879
 #+BEGIN_SRC: bash
878
 aptitude -y install dovecot-common dovecot-pop3d dovecot-imapd
880
 aptitude -y install dovecot-common dovecot-pop3d dovecot-imapd
879
 #+END_SRC
881
 #+END_SRC
880
 
882
 
883
+Edit the configuration file.
884
+
881
 #+BEGIN_SRC: bash
885
 #+BEGIN_SRC: bash
882
 emacs /etc/dovecot/dovecot.conf
886
 emacs /etc/dovecot/dovecot.conf
883
 #+END_SRC
887
 #+END_SRC
884
 
888
 
885
-# line 26: change ( if not listen IPv6 port )
889
+Line 26: change:
886
 
890
 
891
+#+BEGIN_SRC: bash
887
 listen = *
892
 listen = *
893
+#+END_SRC
894
+
895
+Save and exit.
888
 
896
 
889
 #+BEGIN_SRC: bash
897
 #+BEGIN_SRC: bash
890
 emacs /etc/dovecot/conf.d/10-auth.conf
898
 emacs /etc/dovecot/conf.d/10-auth.conf
891
 #+END_SRC
899
 #+END_SRC
892
 
900
 
893
-# line 9: uncomment and change ( allow plain text auth )
901
+Line 9: uncomment and change (allow plain text auth)
894
 
902
 
903
+#+BEGIN_SRC: bash
895
 disable_plaintext_auth = no
904
 disable_plaintext_auth = no
905
+#+END_SRC
896
 
906
 
897
-# line 99: add
907
+Line 99: add:
898
 
908
 
909
+#+BEGIN_SRC: bash
899
 auth_mechanisms = plain login
910
 auth_mechanisms = plain login
911
+#+END_SRC
912
+
913
+Save and exit.
900
 
914
 
901
 #+BEGIN_SRC: bash
915
 #+BEGIN_SRC: bash
902
 emacs /etc/dovecot/conf.d/10-mail.conf
916
 emacs /etc/dovecot/conf.d/10-mail.conf
903
 #+END_SRC
917
 #+END_SRC
904
 
918
 
905
-# line 30: uncomment and add
919
+Line 30: uncomment and add:
906
 
920
 
921
+#+BEGIN_SRC: bash
907
 mail_location = maildir:~/Maildir
922
 mail_location = maildir:~/Maildir
923
+#+END_SRC
924
+
925
+Save and exit, then start the dovecot service.
908
 
926
 
909
 #+BEGIN_SRC: bash
927
 #+BEGIN_SRC: bash
910
 service dovecot restart
928
 service dovecot restart