45.22 ‑‑logdays

Sets the number of days you want MTA log files to remain on disk before being automatically deleted. The default log file age is 30 days. See Section 43.3, Using MTA Log Files.

Linux MTA

Windows MTA

Syntax:

‑‑logdays days

/logdays-days

Example:

‑‑logdays 45

/logdays-60

See also ‑‑log, ‑‑loglevel, ‑‑logdiskoff, and ‑‑logmax.