Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kkelley1 committed Jun 14, 2024
1 parent eded13d commit 6ed7d5c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion content/momentum/4/4-exe.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This table lists all executable commands alphabetically giving a brief descripti
| [ec_lic](/momentum/4/executable/ec-lic) – Fetch a new license file from Message Systems | misc |
| [ec_log_trace](/momentum/4/executable/ec-log-trace) – Parse Momentum log files | logs |
| [ec_md5passwd](/momentum/4/executable/ec-md-5-passwd) – Change the password for a system user's password | security |
| [ec_mta_sts_purge](/momentum/4/executable/ec-mta-sts-purge) - remove expired MTA-STS policy files |
| [ec_mta_sts_purge](/momentum/4/executable/ec-mta-sts-purge) - remove expired MTA-STS policy files | misc |
| [ec_rotate](/momentum/4/executable/ec-rotate) – Rotate Momentum logfiles | misc |
| [ec_sendmail](/momentum/4/executable/ec-sendmail) – A sendmail compatibility interface | misc |
| [ec_show](/momentum/4/executable/ec-show) – Show spool or message information | messages |
Expand Down
10 changes: 5 additions & 5 deletions content/momentum/4/executable/ec-mta-sts-purge.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ ec_mta_sts_purge — Remove expired MTA-STS policies from the file system

The **ec_mta_sts_purge** command is a utility script used to remove expired MTA-STS policies from the file system.

Momentum caches MTA-STS policies on the file system. This is to reduce how often Momentum needs to fetch the policies using HTTP. This also prevents a large number of fetches on a restart. These policies will normally get updated regularly, but if a domain is not used for a long time, this command can be used to delete the expired policy file for this domain from the file system.
Momentum caches MTA-STS policies on the file system. This is to reduce how often Momentum needs to fetch the policies using HTTP. This also prevents a large number of fetches on a restart. These policies will normally get updated regularly, but if some domains have not been used for a long time, this command can be used to delete the expired policy files for these domains from the file system.

### Note

The **ec_mta_sts_purge** script will by default delete files in the default location. If you have specified a different location via `mta_sts_policy_store`, the `-dir` option must be used.
The **ec_mta_sts_purge** script will delete files in the default location. If you have specified a different location via `mta_sts_policy_store`, the `-dir` option must be used.

The following options change the behavor of the **ec_mta_sts_purge** command:

Expand All @@ -35,22 +35,22 @@ The following options change the behavor of the **ec_mta_sts_purge** command:

<dd>

Specify the full path to the directory where the policy files are stored. Default is '/var/spool/ecelerity/mtasts'.
Specify the full path to the directory where the policy files are stored. Default is `/var/spool/ecelerity/mtasts`.

</dd>

<dt>-dryrun</dt>

<dd>

If this option is specified, the script will just print files that would be deleted.
If this option is specified, the script will just list the files that would be deleted.

</dd>

</dl>

The following is an example:

```
```sh
/opt/msys/ecelerity/bin/ec_mta_sts_purge -dryrun -dir /path/to/policy/files
```
2 changes: 1 addition & 1 deletion content/momentum/4/executable/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ description: "Table of Contents ad summary summarize the adaptive module actions
| [ec_lic](/momentum/4/executable/ec-lic) | fetch a new license file from Message Systems |
| [ec_log_trace](/momentum/4/executable/ec-log-trace) | parse Momentum log files |
| [ec_md5passwd](/momentum/4/executable/ec-md-5-passwd) | changes the password for a system user's password |
| [ec_mta_sts_purge](/momentum/4/executable/ec-mta-sts-purge.md) | remove expired MTA-STS policy files |
| [ec_mta_sts_purge](/momentum/4/executable/ec-mta-sts-purge) | remove expired MTA-STS policy files |
| [ec_rotate](/momentum/4/executable/ec-rotate) | rotate Momentum logfiles |
| [ec_sendmail](/momentum/4/executable/ec-sendmail) | a sendmail compatibility interface |
| [ec_show](/momentum/4/executable/ec-show) | show spool or message information |
Expand Down

0 comments on commit 6ed7d5c

Please sign in to comment.