Thomas Buck
f5eb5f918d
Add dovecot sieves to automatically learn spam and ham in RSpamD by moving in and out of spam folder.
5 years ago
Thomas Buck
f10b074083
Move mail domain directories from data into mail subfolder
5 years ago
Thomas Buck
2cc5126928
Mailserver cleanup, removed arm support.
5 years ago
Thomas Buck
e452e31e42
Rename mail_virtual_domains to only virtual_domains, will later also use for web.
5 years ago
Thomas Buck
31afcaa7b9
Remove encfs and call directory data instead of decrypted
6 years ago
Óscar Nájera
8f0cc14f76
Fix: Ansible uses the value present in apt module state parameter
6 years ago
Óscar Nájera
bf3ad0653c
Install dovecot-antispam module
7 years ago
Mike Ashley
65df56e057
Restore full-text search with Solr
The configuration file `90-plugin.conf` exists but was not getting
installed.
7 years ago
Arjen Verstoep
46b234929a
Correct configuration of imap plugins
7 years ago
Pavel Karoukin
8cb490b2a0
Create before.d sieve scripts directory
8 years ago
Pavel Karoukin
76296f3440
#626 configure Dovecot to move emails marked as spam by RSpamD to Junk folder.
8 years ago
Pavel Karoukin
4a7f9b41ac
Add antispam plugin config for dovecot to trigger rspamd learning whenever message is moved from inbox to spam
8 years ago
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 years ago
Mike Ashley
3d68705341
Add leading 0 to octal file permissions
This is done to suppress warnings from ansible-lint.
8 years ago
Carl Meyer
e8796ecd28
Idempotent and independent post-certificate-renewal tasks.
8 years ago
Mike Ashley
8f1b6a9ed8
Arrange for services to restart on cert renewal
9 years ago
Mike Ashley
beaceafbd1
Update mailserver role to use LE certificate
9 years ago
Mike Ashley
195d8811fc
Remove references to Trusty and Wheezy
Make a clean distinction between Debian 7 and Debian 8. Anticipate the
next Ubuntu LTS release (Xenial) that is planned for support.
8 years ago
Sebastian Kriems
fe536873b7
ufw tasks shall have the ufw tag
resolves #453
Conflicts:
roles/common/tasks/ufw.yml
9 years ago
Sebastian Kriems
968abba197
ufw tasks shall have the ufw tag
resolves #453
9 years ago
Alex Payne
69abd70297
Remove references to Debian 7
9 years ago
Alex Payne
34d537fcf2
Remove Dovecot installation for older distros
9 years ago
Manfred Touron
16c93ea486
Using more verbose 'dependencies' tag (#393 )
9 years ago
Manfred Touron
b49f3a6586
Tagged 'deps' aptitude tasks
9 years ago
John Rogerson
f72e1d2350
Update dovecot version from wheezy backports
For correct implementation of the fix for logjam attack (https://github.com/sovereign/sovereign/pull/372 ), state=latest is needed to grab sufficient version of Dovecot. If not then 37aa7e2cb5 doesn't work.
9 years ago
Sven Neuhaus
c898aa98d6
Install postgresql 9.4, 9.3 or 9.1 if available
(on Debian Jessie, Ubuntu Trusty or older distributions such as
Debian Wheezy and Ubuntu Precise).
9 years ago
Alex Payne
34448d5d34
install Dovecot from wheezy-backports on wheezy, specifying default_release
9 years ago
Alex Payne
5222776e34
install Dovecot from wheezy-backports on wheezy, specifying default_release
9 years ago
Alex Payne
c3afbc3b46
install Dovecot from wheezy-backports on wheezy. resolves #372
9 years ago
Alex Payne
1a96a87374
Ubuntu Trusty gets postgresql-9.3.
Resolves #363 .
9 years ago
Alex Payne
177ac9222b
Affix Postgres to version 9.1.
Addresses #362 .
9 years ago
Lorenzo Villani
661ed29a3e
Use /usr/sbin/nologin as login shells for vmail and znc users
10 years ago
Lorenzo Villani
d5ecf673d3
Calm OCD by sorting almost every with_items block in alphabetical order
10 years ago
Sven Neuhaus
779d6c6bb9
Ubuntu Trusty fix for Dovecot (postgresql 9.3 instead of 9.1)
10 years ago
Justin Plock
ea0b288818
Moved ufw firewall rules into individual roles
10 years ago
Joost Baaij
335cef5c9f
Enabled POP3S for old-timeys who dig that
added dovecot-pop3d
allowed in the firewall
monitored with monit
added relevant tests
11 years ago
Shawn Sorichetti
da1b1ad685
Change database to PostgreSQL
Remove all configuration for MySQL and configure PostgreSQL as the main
database.
All *_mysql_* options have been changed to *_db_* options.
Postgres requires the database user to have a password in order to
connect via localhost. The db_admin_password option is used to set the
password of the admin user (usually postgres).
11 years ago
Bryan J Swift
d9bbc072c0
Split up email address information in `mail_virtual_users`
Use the changed `mail_virtual_users` structure to ensure directories and
sieve rules are created for each defined account.
11 years ago
Bertrand Cachet
812dea232f
fix(mail): main_virtual_xx variables usage
mail_virtual_xx list were not use correctly in tasks.
We got error 'unicode object' has no attribute 'name' because:
with_items:
- "{{ mail_virtual_xx }}
is understood has a list of strings containing information extracted from {{ mail_virtual_xx }} variable
Now we use:
with_items: virtual_domain_xx}}"
11 years ago
Alex Payne
f7f7157cec
more updated variable formatting and accommodation of the YAML parser being a fussbudget
11 years ago
Alex Payne
d28f0f82b9
move to non-deprecated template variable formatting
11 years ago
PajamaSoft
54648a8f39
Enable Roundcube's managesieve plugin or server-side filters
These are the changes necessary to enable Roundcube's manage sieve plugin to mange server-side sieve filters.
Signed-off-by: PajamaSoft <support@pajamasoft.com >
11 years ago
Shawn Sorichetti
290d59225d
Separate virtual mail directory settings into a task
Move the settings of the virtual mail directories into a separate
ansible task.
11 years ago
Shawn Sorichetti
0b1a8633e5
Set permissions and owner on virtual mail domains
Without the owner being set to vmail and dovecot, when a virtual user
tries to access their mail account, dovecot throws an error that it does
not have permission to create the mail folder for the user.
With the owner and permissions being set the user's mail directory is
created and they can successfully sign in.
11 years ago
Luke Cyca
09c8fcb295
Named all tasks and made them idempotent where possible
11 years ago
Luke Cyca
6168cd68d0
Automate encfs setup and name mount point more appropriately
11 years ago
Alex Payne
080d38986c
first commit
11 years ago