Thomas Buck
b37d78c1f9
more fixes to support debian 10
3 gadus atpakaļ
Thomas Buck
97ceee0704
remove unnecessary secret_* everywhere
3 gadus atpakaļ
Thomas Buck
ee0f739b1d
Lots of updates, first test of VPN.
4 gadus atpakaļ
Thomas Buck
781a660162
dont send DMARC reports to ourselves
5 gadus atpakaļ
Thomas Buck
14c4c800ba
Minimal config with only mail and web and git hosting. So disable z-push backend CalDav and CardDav integration for now.
5 gadus atpakaļ
Thomas Buck
50ca2d19b2
Remove indices from mailserver SQL schema and added send-only users.
5 gadus atpakaļ
Thomas Buck
f5eb5f918d
Add dovecot sieves to automatically learn spam and ham in RSpamD by moving in and out of spam folder.
5 gadus atpakaļ
Thomas Buck
f17f41b536
use mail as dkim selector. explicitely give keysize. add localhost to sasl exceptions.
5 gadus atpakaļ
Thomas Buck
2d359819a2
Similar log settings for all apache virtual hosts
5 gadus atpakaļ
Thomas Buck
00194e5c25
Some fixes for log mails. duplicate z-push logrotate. missing mysql dep for nextcloud. ensure admin gets all cron mails.
5 gadus atpakaļ
Thomas Buck
f7094f17dd
Generate mail autoconfig for all domains and put them in well-known too
5 gadus atpakaļ
Thomas Buck
d5e52a389f
Sensible defaults for mailserver role
5 gadus atpakaļ
Thomas Buck
7b8f15528d
Fix a bunch of broken http->https redirects and make them always temporary
5 gadus atpakaļ
Thomas Buck
d9a5eaa89b
some slight cleanup
5 gadus atpakaļ
Thomas Buck
5215ac9a25
Password lookup called wrong, all generated passwords were 20 chars long, regardless of specification.
5 gadus atpakaļ
Thomas Buck
db6a0571a6
Newer Dovecot won't start with SSLv2 in config
5 gadus atpakaļ
Thomas Buck
f10b074083
Move mail domain directories from data into mail subfolder
5 gadus atpakaļ
Thomas Buck
5a900bb33a
Use Z-Push from official upstream repos. Configure imap, caldav, carddav backends properly for nextcloud. Using Z-Push Autodiscover.
5 gadus atpakaļ
Thomas Buck
be280210b5
Solr is now using Tomcat8
5 gadus atpakaļ
Thomas Buck
2cc5126928
Mailserver cleanup, removed arm support.
5 gadus atpakaļ
Thomas Buck
9411373c5b
Cleanup postfix task. Move password hashing into top level config file.
5 gadus atpakaļ
Thomas Buck
7096fec015
don't keep extra var for organization thats not really needed.
5 gadus atpakaļ
Thomas Buck
3dc25b1bc9
common was missing db admin user pass in default vars.
5 gadus atpakaļ
Thomas Buck
e452e31e42
Rename mail_virtual_domains to only virtual_domains, will later also use for web.
5 gadus atpakaļ
Sven Neuhaus
1c95139668
fix issue #750
5 gadus atpakaļ
Thomas Buck
489ee6b75c
Use newer version of check-rbl to no longer check non-existing list, see issue 750 in upstream
5 gadus atpakaļ
Thomas Buck
31afcaa7b9
Remove encfs and call directory data instead of decrypted
5 gadus atpakaļ
Sven Neuhaus
6b06faa814
add bionic
6 gadus atpakaļ
John Giannelos
351addffd7
Force https on mail autoconfig apache vhost.
8 gadus atpakaļ
Óscar Nájera
8f0cc14f76
Fix: Ansible uses the value present in apt module state parameter
6 gadus atpakaļ
Sven Neuhaus
795f8d3b40
Change PHP package names on Xenial and Stretch
an improved version of PR #696
6 gadus atpakaļ
Óscar Nájera
bf3ad0653c
Install dovecot-antispam module
6 gadus atpakaļ
Mike Ashley
6108f39899
Update design document for mail server
7 gadus atpakaļ
Mike Ashley
486c3f1414
Replace OpenDKIM with Rspamd's dkim_signing module
- remove configuration of OpenDKIM
- remove OpenDKIM milter from postfix's configuration
- add configuration files for rpsamd's dkim module
- update the rspamd task
- update services in README
7 gadus atpakaļ
Mike Ashley
14615ae223
Switch to Rspamd for DMARC handling
- Remove OpenDMARC
- Configure Rspamd for DMARC handling
- Update services and how to set up DNS records in README
7 gadus atpakaļ
Mike Ashley
fe60d23bad
Remove unnecessary option to supply password
Password is not necessary when using a trusted
connection (localhost). Tested by moving mail in and out of Junk
folder while monitoring `/var/log/rspamd/rspamd.log`.
7 gadus atpakaļ
Mike Ashley
5e2c8c8a2d
Remove redundant greylisting
7 gadus atpakaļ
Mike Ashley
c9bb6dba92
Remove rmilter from mailserver configuration
Rmilter [is no longer
needed](https://rspamd.com/doc/quickstart.html#rmilter -setup) as of
Rspamd 1.6.
7 gadus atpakaļ
Mike Ashley
65df56e057
Restore full-text search with Solr
The configuration file `90-plugin.conf` exists but was not getting
installed.
7 gadus atpakaļ
Arjen Verstoep
46b234929a
Correct configuration of imap plugins
7 gadus atpakaļ
Rob Shaw
0b0b22b679
rmilter fails to start due to a missing trailing semicolon.
there is a missing semicolon that causes rmilter not to start with error:
"config file parse error! line: 156, text: tempdir, reason: syntax error"
which, as expected is the following line
7 gadus atpakaļ
Sven Neuhaus
6064b93c85
Use yunohost repository for rspamd package on ARMv7
The stock rspamd package provided by Raspbian (jessie) is at version 0.6.10. The rspamd repository doesn't offer binaries for the armhf architecture (e.g., Raspberry Pi 3) in order to get a more recent package. Instead, use the yunohost repository for rspamd package (currently at 1.3.5) on armhf.
7 gadus atpakaļ
Aleksandr Bogdanov
27ddd316e5
Making linter hapy
7 gadus atpakaļ
Aaron D Borden
2bde2afb53
Use postmaster@ for DMARC reports
7 gadus atpakaļ
Aleksandr Bogdanov
f5a38fec63
Implementing password hashing for ircbouncer and mailserver inside password_hash filter plugin
7 gadus atpakaļ
Pavel Karoukin
8cb490b2a0
Create before.d sieve scripts directory
8 gadus atpakaļ
Pavel Karoukin
76296f3440
#626 configure Dovecot to move emails marked as spam by RSpamD to Junk folder.
8 gadus atpakaļ
Nikita Fedyashev
eda6d042a5
Fix mail_virtual_domains config reading in opendkim
without this change it fails on ansible(2.2.0.0) with the following message:
TASK [mailserver : Generate OpenDKIM keys] *************************************
fatal: [sovereign.host]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'unicode object' has no attribute 'name'\n\nThe error appears to have been in '/Users/nfedyashev/Projects/sovereign/roles/mailserver/tasks/opendkim.yml': line 19, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate OpenDKIM keys\n ^ here\n"}
8 gadus atpakaļ
Pavel Karoukin
4a7f9b41ac
Add antispam plugin config for dovecot to trigger rspamd learning whenever message is moved from inbox to spam
8 gadus atpakaļ
Simon Schoeters
dbf0c05d88
Fix bare variable depreciation
Newer versions of Ansible complain when using bare variables like
`mail_virtual_users` and prefer the newer `'{{ mail_virtual_users }}'`
syntax.
Noticed the depreciation warning with Ansible version 2.1.2.0.
8 gadus atpakaļ