The imta purge command deletes older versions of IMTA log files. imta purge can determine which log files are older, based on the uniqueid strings terminating IMTA log file names.
|
If specified, the file-pattern parameter is a filename pattern that establishes which IMTA log files to purge. The default pattern, if none is specified, is /var/opt/SUNWmail/imta/log. The options for this command are:
To purge all but the last five versions of each type of log file in /var/opt/SUNWmail/imta/log, execute the command:
# imta purge