Page MenuHomeDevCentral

Substitute Jinja variables in Dovecot configuration
Needs ReviewPublic

Authored by dereckson on Sun, Oct 6, 15:31.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 16, 03:45
Unknown Object (File)
Wed, Oct 16, 03:28
Unknown Object (File)
Tue, Oct 15, 13:32
Unknown Object (File)
Mon, Oct 14, 16:00
Unknown Object (File)
Sat, Oct 12, 09:06
Unknown Object (File)
Fri, Oct 11, 23:11
Unknown Object (File)
Fri, Oct 11, 15:26
Unknown Object (File)
Fri, Oct 11, 12:23
Subscribers
None

Details

Reviewers
DorianWinty
Maniphest Tasks
T1931: Dovecot Provisioning
Summary

This is a follow-up for f6419f2b78d8.

Ref T1931.

Test Plan

Deployed on Hervil, 10-mail.conf refers correct path:
mail_location = maildir:/var/mail/_virtual

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
fix-dovecot (branched from main)
Build Status
Buildable 5551
Build 5832: arc lint + arc unit

Event Timeline

dereckson created this revision.
Complector
$ salt hervil state.apply roles/mailserver/dovecot
[…]
----------
          ID: dovecot_file_config_conf_d
    Function: file.recurse
        Name: /usr/local/etc/dovecot/conf.d
      Result: True
     Comment: Recursively updated /usr/local/etc/dovecot/conf.d
     Started: 15:27:53.192961
    Duration: 463.675 ms
     Changes:
              ----------
              /usr/local/etc/dovecot/conf.d/10-mail.conf:
                  ----------
                  diff:
                      ---
                      +++
                      @@ -13,6 +13,6 @@
                       #       and will be lost if the state is redeployed.
                       #   </auto-generated>

                      -mail_location = maildir:{{ mailbox.dir }}
                      +mail_location = maildir:/var/mail/_virtual

                       mail_plugins = quota
[…]