Page MenuHomeDevCentral

Update Exim MTA container configuration
ClosedPublic

Authored by dereckson on Mar 7 2023, 22:06.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 05:52
Unknown Object (File)
Sun, Dec 22, 05:27
Unknown Object (File)
Fri, Dec 20, 05:54
Unknown Object (File)
Tue, Dec 17, 05:26
Unknown Object (File)
Mon, Dec 16, 05:47
Unknown Object (File)
Thu, Dec 12, 00:03
Unknown Object (File)
Wed, Dec 11, 20:11
Unknown Object (File)
Sat, Dec 7, 18:51
Subscribers
None

Details

Summary

Always use latest tianon/exim4 image.

Provide volumes for spool and log.

Ref T1791

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
$ ssh -t docker-002 deploy-container exim
local:
----------
          ID: /srv/exim/sentry_smtp
    Function: file.directory
      Result: True
     Comment: The directory /srv/exim/sentry_smtp is in the correct state
     Started: 22:09:41.165494
    Duration: 5.888 ms
     Changes:
----------
          ID: /srv/exim/sentry_smtp/spool
    Function: file.directory
      Result: True
     Comment:
     Started: 22:09:41.171564
    Duration: 1.671 ms
     Changes:
              ----------
              /srv/exim/sentry_smtp/spool:
                  ----------
                  directory:
                      new
----------
          ID: /srv/exim/sentry_smtp/log
    Function: file.directory
      Result: True
     Comment:
     Started: 22:09:41.173356
    Duration: 1.553 ms
     Changes:
              ----------
              /srv/exim/sentry_smtp/log:
                  ----------
                  directory:
                      new
----------
          ID: /srv/exim/sentry_smtp/mailname
    Function: file.managed
      Result: True
     Comment: File /srv/exim/sentry_smtp/mailname is in the correct state
     Started: 22:09:41.175029
    Duration: 29.635 ms
     Changes:
----------
          ID: selinux_context_sentry_smtp_exim_data
    Function: selinux.fcontext_policy_present
        Name: /srv/exim/sentry_smtp
      Result: True
     Comment: SELinux policy for "/srv/exim/sentry_smtp" already present with specified filetype "all files" and sel_type "container_file_t".
     Started: 22:09:41.207344
    Duration: 397.715 ms
     Changes:
----------
          ID: selinux_context_sentry_smtp_exim_data_applied
    Function: selinux.fcontext_policy_applied
        Name: /srv/exim/sentry_smtp
      Result: True
     Comment: SElinux policies are already applied for filespec "/srv/exim/sentry_smtp"
     Started: 22:09:41.605608
    Duration: 13.955 ms
     Changes:
----------
          ID: sentry_smtp
    Function: docker_container.running
      Result: True
     Comment: Replaced container 'sentry_smtp'
     Started: 22:09:41.674233
    Duration: 3848.801 ms
     Changes:
              ----------
              container:
                  ----------
                  Config:
                      ----------
                      Volumes:
                          ----------
                          new:
                              ----------
                              /etc/mailname:
                                  ----------
                              /var/log/exim4:
                                  ----------
                              /var/spool/exim4:
                                  ----------
                          old:
                              ----------
                              /var/log/exim4:
                                  ----------
                              /var/spool/exim4:
                                  ----------
                  HostConfig:
                      ----------
                      Binds:
                          ----------
                          new:
                              - /srv/exim/sentry_smtp/mailname:/etc/mailname:ro
                              - /srv/exim/sentry_smtp/spool:/var/spool/exim4
                              - /srv/exim/sentry_smtp/log:/var/log/exim4
                          old:
                              None
              container_id:
                  ----------
                  added:
                      b060c7cda35cef48e3ab804150832e10f973aa5f71a4261e37e7bdfb331159f4
                  removed:
                      - 3baa77c17efa641675a342682b6ed636b605fd888706fc23376b09fb93e27064

Summary for local
------------
Succeeded: 7 (changed=3)
Failed:    0
------------
Total states run:     7
Total run time:   4.299 s
This revision is now accepted and ready to land.Mar 7 2023, 22:10
This revision was automatically updated to reflect the committed changes.