26.30 ‑‑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 24.2.2, 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.