Page MenuHomeDevCentral

Substitute Jinja variables in Dovecot configuration
ClosedPublic

Authored by dereckson on Oct 6 2024, 15:31.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 12:14
Unknown Object (File)
Thu, Dec 12, 12:14
Unknown Object (File)
Thu, Dec 12, 12:05
Unknown Object (File)
Thu, Dec 12, 11:56
Unknown Object (File)
Tue, Dec 3, 15:17
Unknown Object (File)
Tue, Dec 3, 02:01
Unknown Object (File)
Tue, Dec 3, 02:01
Unknown Object (File)
Tue, Dec 3, 01:02
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.Oct 20 2024, 14:01