equal
deleted
inserted
replaced
72 Create directory for your mails |
72 Create directory for your mails |
73 mkdir /srv/mail |
73 mkdir /srv/mail |
74 cd /srv/mail/ |
74 cd /srv/mail/ |
75 mkdir 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z |
75 mkdir 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z |
76 chmod 771 /srv/mail |
76 chmod 771 /srv/mail |
77 chgrp -R mail /srv/mail |
|
78 chmod 751 /srv/mail/* |
77 chmod 751 /srv/mail/* |
79 |
78 |
80 Configuring Dovecot |
79 Configuring Dovecot |
81 |
80 |
82 * /etc/dovecot/dovecot.conf |
81 * /etc/dovecot/dovecot.conf |
83 # all your other settings |
82 # all your other settings |
84 #disable_plaintext_auth = no |
83 #disable_plaintext_auth = no |
85 mail_location = maildir:~/Maildir |
84 mail_location = maildir:~/Maildir |
86 mail_privileged_group = mail |
|
87 first_valid_uid = 70000 |
85 first_valid_uid = 70000 |
88 first_valid_gid = 70000 |
86 first_valid_gid = 70000 |
89 protocol lda { |
87 protocol lda { |
90 postmaster_address = postmaster@YOUR-DOMAIN.TLD |
88 postmaster_address = postmaster@YOUR-DOMAIN.TLD |
91 } |
89 } |