Przeglądaj źródła

Improve dovecot

Bob Mottram 11 lat temu
rodzic
commit
c43711b866
1 zmienionych plików z 23 dodań i 5 usunięć
  1. 23
    5
      beaglebone.txt

+ 23
- 5
beaglebone.txt Wyświetl plik

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