26.31 ‑‑messagelogdays

Sets the number of days you want MTA message log files to remain on disk before being automatically deleted. The default is 30 days. See Configuring MTA Log Settings and Switches.

Linux MTA

Windows MTA

Syntax:

‑‑messagelogdays days

/messagelogdays-days

Example:

‑‑messagelogdays 45

/messagelogdays-60

See also ‑‑messagelogsettings, ‑‑messagelogpath, and ‑‑messagelogmaxsize.