45.28 ‑‑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 Section 42.4.2, Enabling MTA Message Logging.

Linux MTA

Windows MTA

Syntax:

‑‑messagelogdays days

/messagelogdays-days

Example:

‑‑messagelogdays 45

/messagelogdays-60

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