Page MenuHomeDevCentral

Substitute Jinja variables in Dovecot configuration
ClosedPublic

Authored by dereckson on Oct 6 2024, 15:31.
Tags
None
Referenced Files
F3751428: D3491.id9115.diff
Sun, Nov 17, 08:32
Unknown Object (File)
Sat, Nov 16, 01:46
Unknown Object (File)
Tue, Nov 12, 21:42
Unknown Object (File)
Sun, Nov 10, 10:16
Unknown Object (File)
Sun, Nov 10, 09:47
Unknown Object (File)
Sun, Nov 10, 02:51
Unknown Object (File)
Sun, Nov 10, 01:38
Unknown Object (File)
Thu, Nov 7, 21:48
Subscribers
None

Details

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
[…]
This revision is now accepted and ready to land.Sun, Oct 20, 14:01