| 223 | |
| 224 | == Other == |
| 225 | |
| 226 | {{{ |
| 227 | |
| 228 | Add Dovecot Master User, used for vacation message expiration |
| 229 | |
| 230 | SOGo need a Dovecot Master User to cleanup vacation expiration, please follow our tutorial to add a Dovecot Master User for this purpose: Dovecot Master User. |
| 231 | |
| 232 | After added a Dovecot Master User for SOGo, we must store its username and plain password in a separate file used by SOGo, we use /etc/sogo/sieve.cred here for example. |
| 233 | |
| 234 | Create file /etc/sogo/sieve.cred, write Dovecot Master User in this file in format: username:password. For example: |
| 235 | |
| 236 | my_master_user@non-exist.com:my_master_password |
| 237 | |
| 238 | Set strict file owner and permission: |
| 239 | |
| 240 | # chown sogo:sogo /etc/sogo/sieve.cred |
| 241 | # chmod 0400 /etc/sogo/sieve.cred |
| 242 | |
| 243 | Add required cron jobs |
| 244 | |
| 245 | Please add below cron jobs for SOGo daemon user sogo. You can add them with command: crontab -l -u sogo |
| 246 | |
| 247 | # 1) SOGo email reminder, should be run every minute. |
| 248 | # 2) SOGo session cleanup, should be run every minute. |
| 249 | # Ajust the [X]Minutes parameter to suit your needs |
| 250 | # Example: Sessions without activity since 30 minutes will be dropped: |
| 251 | * * * * * /usr/sbin/sogo-ealarms-notify; /usr/sbin/sogo-tool expire-sessions 30 |
| 252 | |
| 253 | # 3) SOGo vacation messages expiration |
| 254 | # The credentials file should contain the sieve admin credentials (username:passwd) |
| 255 | 0 0 * * * /usr/sbin/sogo-tool update-autoreply -p /etc/sogo/sieve.cred |
| 256 | |
| 257 | Access SOGo from web browser |
| 258 | |
| 259 | Open your favourite web browser, access URL: https://[your_server]/SOGo (the word SOGo is case-sensitive), you can login with your email account credential. |
| 260 | |
| 261 | }}} |