26.25 ‑‑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. The valid range is from 1 to 350 days. See 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.