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 incomming 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 incomming mail available to dovecot. You can use the [attachment:Make_Dovecot_Directories.command] to do so. |
| 31 | |
| 32 | === Step 3: ''create certificates'' === |
| 33 | |
| 34 | Dovecot supportes 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. |
| 35 | |
| 36 | === Step 4: ''setup configuration'' === |
| 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 |
| 39 | |
| 40 | passwd.dovecot |
| 41 | userdb.dovecot |