infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Jira)" <>
Subject [jira] [Commented] (INFRA-18464) improve auditing of unmanaged .qmail files
Date Mon, 30 Sep 2019 15:07:00 GMT


Sebb commented on INFRA-18464:

If the number of files (35,700 approx) really is a problem, then there are alternatives which
would involve using fewer files.

For example, list all the soft links to a versioned file.
That would deal with about half of them (17,300 approx)

There are also over 7000 availids. These have two files each (plus a link).
Since their files are recreated regularly they could be dropped.

The remainder (about 4,400) could be stored in a versioned file (or files) containing the
file name followed by the file contents.
to reduce the size of the file, it could be split by the first character of the name, i.e.
about 170 per file

This approach should show when files have changed, as well as all the link or contents to
be restored.

To reduce the time needed to update the files, one could detect which files have changed since
the last collection, and only update the summary files to which they belong.

Obviously it would be easier if the files could just be stored directly in a repo.

> improve auditing of unmanaged .qmail files
> ------------------------------------------
>                 Key: INFRA-18464
>                 URL:
>             Project: Infrastructure
>          Issue Type: Planned Work
>          Components: Mail (qmail)
>            Reporter: Chris Lambertus
>            Assignee: Drew Foulks
>            Priority: Major
> Most .qmail files on hermes are auto-created or auto-maintained, however, some, like
.qmail-root, are one-offs. It would be good to get these in svn for auditing purposes. I propose
to create ~apmail/managed-forwards/ or similar containing the qmail forward files under version
control, with a follower script that creates the proper symlinks in ~apmail/

This message was sent by Atlassian Jira

View raw message