<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fripost-ansible/roles/IMAP, branch master</title>
<subtitle>Fripost ansible scripts</subtitle>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/'/>
<entry>
<title>IMAP: Adjust dovecot configuration to bullseye.</title>
<updated>2024-09-08T00:10:41+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2024-09-08T00:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=4977d7c1d80ac0caf94914fbf9be8471d056c906'/>
<id>4977d7c1d80ac0caf94914fbf9be8471d056c906</id>
<content type='text'>
Provisioning /etc/dovecot/conf.d/*.conf is a pain on upgrade so we
consolidate that by reverting these files to the distro-provided ones
and shipping a single /etc/dovecot/conf.d/99-local.conf override
instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provisioning /etc/dovecot/conf.d/*.conf is a pain on upgrade so we
consolidate that by reverting these files to the distro-provided ones
and shipping a single /etc/dovecot/conf.d/99-local.conf override
instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove module ‘mysql_user2’.</title>
<updated>2022-10-11T18:03:03+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2022-10-11T14:05:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=eeadb037937ee1b5da6e084b98acb8f9c3242e2f'/>
<id>eeadb037937ee1b5da6e084b98acb8f9c3242e2f</id>
<content type='text'>
These days upstream's ‘mysql_user’ is good enough.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These days upstream's ‘mysql_user’ is good enough.
</pre>
</div>
</content>
</entry>
<entry>
<title>dovecot: Bump VSZ to 1G.</title>
<updated>2022-10-11T12:00:04+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2022-10-11T12:00:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=d7a8e117b2595b2ba74cb5a7ba237ca18f36e1ab'/>
<id>d7a8e117b2595b2ba74cb5a7ba237ca18f36e1ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefix ‘ipaddr’ and ‘ipv4’ with ‘ansible.utils.’.</title>
<updated>2022-10-11T11:57:22+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2022-10-11T11:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=a69c2e1c3c771db93d98a253192e131af40c9830'/>
<id>a69c2e1c3c771db93d98a253192e131af40c9830</id>
<content type='text'>
This silences the following deprecation warning:

  Use 'ansible.utils.ipaddr' module instead. This feature will be removed from ansible.netcommon in a release after 2024-01-01.
  Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This silences the following deprecation warning:

  Use 'ansible.utils.ipaddr' module instead. This feature will be removed from ansible.netcommon in a release after 2024-01-01.
  Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
</pre>
</div>
</content>
</entry>
<entry>
<title>Postfix: Install -lmdb in all roles using db=lmdb.</title>
<updated>2020-05-21T01:42:54+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2020-05-21T01:42:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=6fb829e49d421de9abac41325f5089357bf27f82'/>
<id>6fb829e49d421de9abac41325f5089357bf27f82</id>
<content type='text'>
And drop -ldap from all roles other than MX.  -lmdb is included in
roles/common but it can be helpful to have it individual roles as well
as they can be run individually.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And drop -ldap from all roles other than MX.  -lmdb is included in
roles/common but it can be helpful to have it individual roles as well
as they can be run individually.
</pre>
</div>
</content>
</entry>
<entry>
<title>dovecot-auth-proxy: replace directory traversal with LDAP lookups.</title>
<updated>2020-05-21T00:26:16+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2020-05-20T23:35:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=5118f8d3394579a245b355c863c69410fe92e26e'/>
<id>5118f8d3394579a245b355c863c69410fe92e26e</id>
<content type='text'>
This provides better isolation opportunity as the service doesn't need
to run as ‘vmail’ user.  We use a dedicated system user instead, and
LDAP ACLs to limit its access to the strict minimum.

The new solution is also more robust to quoting/escaping, and doesn't
depend on ‘home=/home/mail/virtual/%d/%n’ (we might use $entryUUID
instead of %d/%n at some point to make user renaming simpler).

OTOH we no longer lists users that have been removed from LDAP but still
have a mailstore lingering around.  This is fair.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This provides better isolation opportunity as the service doesn't need
to run as ‘vmail’ user.  We use a dedicated system user instead, and
LDAP ACLs to limit its access to the strict minimum.

The new solution is also more robust to quoting/escaping, and doesn't
depend on ‘home=/home/mail/virtual/%d/%n’ (we might use $entryUUID
instead of %d/%n at some point to make user renaming simpler).

OTOH we no longer lists users that have been removed from LDAP but still
have a mailstore lingering around.  This is fair.
</pre>
</div>
</content>
</entry>
<entry>
<title>dovecot-auth-proxy: Bump protocol version to 2.2.</title>
<updated>2020-05-20T13:27:50+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2020-05-20T13:19:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=1df4c30a95abd9e7c6352e2b3d2766281c3e591d'/>
<id>1df4c30a95abd9e7c6352e2b3d2766281c3e591d</id>
<content type='text'>
This a regression rom 829f4d830aefedd95a75e61cfc9aa3e03f039c6f.

There are no relevant interface changes between 2.2.27 (stretch) and
2.3.4 (buster) cf. `git diff 2.2.27..2.3.4 src/lib-dict/dict-client.h`
and https://github.com/dovecot/core/commits/2.3.4/src/lib-dict/dict-client.h .
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This a regression rom 829f4d830aefedd95a75e61cfc9aa3e03f039c6f.

There are no relevant interface changes between 2.2.27 (stretch) and
2.3.4 (buster) cf. `git diff 2.2.27..2.3.4 src/lib-dict/dict-client.h`
and https://github.com/dovecot/core/commits/2.3.4/src/lib-dict/dict-client.h .
</pre>
</div>
</content>
</entry>
<entry>
<title>IMAP: Update role to Debian Buster.</title>
<updated>2020-05-19T05:56:01+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2020-05-19T00:40:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=829f4d830aefedd95a75e61cfc9aa3e03f039c6f'/>
<id>829f4d830aefedd95a75e61cfc9aa3e03f039c6f</id>
<content type='text'>
For `ssl_cipher_list` we pick the suggested value from
https://ssl-config.mozilla.org/#server=dovecot&amp;version=2.3.9&amp;config=intermediate&amp;openssl=1.1.1d

At the moment it's equivalent (modulo order) to adding ‘EDH+AESGCM+aRSA’
to ‘EECDH+AESGCM:EECDH+CHACHA20!MEDIUM!LOW!EXP!aNULL!eNULL’.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For `ssl_cipher_list` we pick the suggested value from
https://ssl-config.mozilla.org/#server=dovecot&amp;version=2.3.9&amp;config=intermediate&amp;openssl=1.1.1d

At the moment it's equivalent (modulo order) to adding ‘EDH+AESGCM+aRSA’
to ‘EECDH+AESGCM:EECDH+CHACHA20!MEDIUM!LOW!EXP!aNULL!eNULL’.
</pre>
</div>
</content>
</entry>
<entry>
<title>AEAD ciphers: Add EECDH+CHACHA20 macro.</title>
<updated>2020-05-18T02:34:17+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2020-05-18T02:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=61ba2a2fe12ffd5578429dfe1d354a1c5d16517a'/>
<id>61ba2a2fe12ffd5578429dfe1d354a1c5d16517a</id>
<content type='text'>
This adds the following two ciphers:

  ECDHE-ECDSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH  Au=ECDSA Enc=CHACHA20/POLY1305(256) Mac=AEAD
  ECDHE-RSA-CHACHA20-POLY1305   TLSv1.2 Kx=ECDH  Au=RSA   Enc=CHACHA20/POLY1305(256) Mac=AEAD
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the following two ciphers:

  ECDHE-ECDSA-CHACHA20-POLY1305 TLSv1.2 Kx=ECDH  Au=ECDSA Enc=CHACHA20/POLY1305(256) Mac=AEAD
  ECDHE-RSA-CHACHA20-POLY1305   TLSv1.2 Kx=ECDH  Au=RSA   Enc=CHACHA20/POLY1305(256) Mac=AEAD
</pre>
</div>
</content>
</entry>
<entry>
<title>dovecot: raise default_vsz_limit from 256MB to 512MB.</title>
<updated>2019-05-23T17:19:16+00:00</updated>
<author>
<name>Guilhem Moulin</name>
<email>guilhem@fripost.org</email>
</author>
<published>2019-05-23T17:19:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.fripost.org/fripost-ansible/commit/?id=dfc1467c9ccb0e8427c647faa50ca92a01f5d6d6'/>
<id>dfc1467c9ccb0e8427c647faa50ca92a01f5d6d6</id>
<content type='text'>
This avoids lmtp errors like

        Error: mmap(size=0) failed with file […] dbox-Mails/dovecot.index.cache: Cannot allocate memory

See https://www.dovecot.org/list/dovecot/2012-August/137569.html and
https://www.dovecot.org/list/dovecot/2011-December/132455.html .
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids lmtp errors like

        Error: mmap(size=0) failed with file […] dbox-Mails/dovecot.index.cache: Cannot allocate memory

See https://www.dovecot.org/list/dovecot/2012-August/137569.html and
https://www.dovecot.org/list/dovecot/2011-December/132455.html .
</pre>
</div>
</content>
</entry>
</feed>
