Changes between Version 6 and Version 7 of howto/SetupDovecot
- Timestamp:
- Jun 2, 2008, 6:48:46 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/SetupDovecot
v6 v7 20 20 == Configuration == 21 21 22 Note: Du not use any of the attached files without checking / changing them with you favo rite text editor.22 Note: Du not use any of the attached files without checking / changing them with you favourite text editor. 23 23 24 24 === Step 1: ''create user'' === 25 25 26 Dovecot will drop root privileg s when they are not needed any more so you need to create an user and group for dovecot to run with. You can use the [attachment:Make_Dovecot_Directories.command] to do so.26 Dovecot will drop root privileges when they are not needed any more so you need to create an user and group for dovecot to run with. You can use the [attachment:Make_Dovecot_Directories.command] to do so. 27 27 28 28 === Step 2: ''create directories'' === 29 29 30 Dovecot need to directories to work with - one to store run status, one where the mail is stored. See [wiki:howto/SetupPostfix] on how to set up postfix to make incom ming mail available to dovecot. You can use the [attachment:Make_Dovecot_Directories.command] to do so.30 Dovecot need to directories to work with - one to store run status, one where the mail is stored. See [wiki:howto/SetupPostfix] on how to set up postfix to make incoming mail available to dovecot. You can use the [attachment:Make_Dovecot_Directories.command] to do so. 31 31 32 32 === Step 3: ''create certificates'' === 33 33 34 Dovecot support es encrypted connections and while in a local network it migt not be nessesary you will still neet to create certificate files. You can use [attachment:Make_Dovecot_Directories.command] together with [attachment:dovecot-openssl.cnf] to create the certificates. Remeber to change [attachment:dovecot-openssl.cnf] - there should be no "my_" left in the file and both files need to be in the same directory.34 Dovecot supports encrypted connections and while in a local network it might not be necessary you will still need to create certificate files. You can use [attachment:Make_Dovecot_Directories.command] together with [attachment:dovecot-openssl.cnf] to create the certificates. Remember to change [attachment:dovecot-openssl.cnf] - there should be no "my_" left in the file and both files need to be in the same directory. 35 35 36 === Step 4: ''set up configuration'' ===36 === Step 4: ''set-up configuration'' === 37 37 38 Next you need to set up [attachment:dovecot.conf]. You find the file in {{{/opt/local/etc}}}. As a starting point you can use [attachment:dovecot.conf] together with 38 Next you need to set up [attachment:dovecot.conf]. You find the file in {{{/opt/local/etc}}}. As a starting point you can use [attachment:dovecot.conf] together with [attachment:passwd.dovecot] and [attachment:userdb.dovecot]. You will need to add all your mail user to the [attachment:passwd.dovecot] and [attachment:userdb.dovecot]. 39 39 40 passwd.dovecot 41 userdb.dovecot 40 The separate user and password files are needed since OSX does not use /etc/passwd and /etc/shadow. 41 42 === Step 5: ''starting the server'' === 43 44 === Step 6: ''testing the server'' === 42 45 43 46 == Optional Parts == 44 47 45 === '''TODO: What else can be done?''' === 48 Instead of using separate user and password files you can try set-up LDAP. 46 49 47 50 [wiki:howto <- Back to the HOWTO section]