linux_server_manuals:dovecot_ldap_rspamd
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux_server_manuals:dovecot_ldap_rspamd [2018/01/15 21:05] – [Configuration] ronney | linux_server_manuals:dovecot_ldap_rspamd [2018/01/28 18:49] (current) – [Clamav integration] ronney | ||
|---|---|---|---|
| Line 211: | Line 211: | ||
| #map with aliases | #map with aliases | ||
| virtual_alias_maps = hash:/ | virtual_alias_maps = hash:/ | ||
| + | # If you have some docker containers or similar stuff, we need to add the | ||
| + | # 172.17.0.0/ | ||
| + | # If you don't use that subnet, you can leave that directive on it's default setting. | ||
| + | mynetworks = 127.0.0.0/8 [:: | ||
| </ | </ | ||
| Line 270: | Line 274: | ||
| Then enter that hash in the file / | Then enter that hash in the file / | ||
| < | < | ||
| + | #password for read access | ||
| password = " | password = " | ||
| + | #password for write access. you need to set both. I know, it's stupid ;-) | ||
| + | enable_password = " | ||
| </ | </ | ||
| Line 430: | Line 437: | ||
| </ | </ | ||
| - | ==== dkim mail signing ==== | + | ==== dkim and arc mail signing ==== |
| - | allow_username_mismatch = true; | + | To let Rspamd |
| - | + | ||
| - | let rspamd | + | |
| + | < | ||
| mkdir / | mkdir / | ||
| rspamadm dkim_keygen -b 2048 -s 2018 -k 2018.key > 2018.txt | rspamadm dkim_keygen -b 2048 -s 2018 -k 2018.key > 2018.txt | ||
| - | chown _rspamd: | + | chown _rspamd: |
| chmod 440 / | chmod 440 / | ||
| + | </ | ||
| - | look at 2018.txt to see how dns entry should look like. | + | Look at 2018.txt to see how your dns entry should look like. and then make that DNS-entry. |
| edit file dkim_signing.conf | edit file dkim_signing.conf | ||
| + | < | ||
| path = "/ | path = "/ | ||
| selector = " | selector = " | ||
| + | # I need that, since in my case, usernames are without the domain. | ||
| + | # Otherwise he won't do any dkim signing. | ||
| + | allow_username_mismatch = true; | ||
| + | </ | ||
| - | cp -R / | + | If you provide mailinglists, |
| + | < | ||
| + | ln -s / | ||
| + | </ | ||
| - | --------------- | + | ==== Clamav integration ==== |
| setup clamav for use with rspamd | setup clamav for use with rspamd | ||
| Line 495: | Line 509: | ||
| --------- | --------- | ||
| + | apache reverse proxy for web interface | ||
| + | ----- | ||
| + | |||
| more fail2ban | more fail2ban | ||
linux_server_manuals/dovecot_ldap_rspamd.1516050349.txt.gz · Last modified: 2018/01/15 21:05 by ronney
