logo       

Re: Purge msg misunderstanding: msg#00043

mail.ims.general

Subject: Re: Purge msg misunderstanding

The purge is called by scheduler to remove various
MTA log files. When you specify -num=5 the purge will
leave 5 most recent logs for every log that is created
by mta (tcp_smtp_server.log, return.log, process_master.log, etc.
depending on logging options configured for channels).
You can also run purge from command line by using 'imsimta purge -num=5'
to perform same action.

The expiration and message removal on other hand is performed by imexpire
(seen in your scheduler configuration as local.schedule.expire) and
is ran according to scheduler settings (each day at 23:00 in
your case).

If imexpire is called without switches it will do both expire
and purge in same cycle. It is possible to separate
these by using 'imexpire -e' to only expire messages and
'imexpire -c' to purge expired ones.

Hope this helps.

Stas.

On Tue, 16 Oct 2007, Marc Chapados wrote:

> Date: Tue, 16 Oct 2007 10:13:26 -0400
> From: Marc Chapados <marc.chapados-MGZXUmph38zUWWlw5grZ+w@xxxxxxxxxxxxxxxx>
> Reply-To: Info-iMS-QMRIvgJGioDQT0dZR+AlfA@xxxxxxxxxxxxxxxx
> To: Info-iMS-QMRIvgJGioDQT0dZR+AlfA@xxxxxxxxxxxxxxxx,
> Info-iMS-QMRIvgJGioDQT0dZR+AlfA@xxxxxxxxxxxxxxxx
> Subject: [Info-iMS] Purge msg misunderstanding
>
> We installed Messaging Server 6 (2005Q4) and we don't understand
> exactly how work the purge (/opt/SUNWmsgsr/lib/purge -num=5).
>
> We keep the default configuration like following:
> local.sched.enable = 1
> local.schedule.expire = "0 23 * * * /opt/SUNWmsgsr/sbin/imexpire"
> local.schedule.msprobe = "5,15,25,35,45,55 * * *
> * /opt/SUNWmsgsr/lib/msprobe"
> local.schedule.purge = "0 0,4,8,12,16,20 * *
> * /opt/SUNWmsgsr/lib/purge -num=5"
> local.schedule.return_job = "30 0 * * * /opt/SUNWmsgsr/lib/return_job"
>
> We configured some expire rules (in the
> file /opt/SUNWmsgsr/config/store.expirerule) and these expire rules
> work perfectly each day at 23:00.
>
> After the messagers are expired, we wonder which command will purge
> (remove permanently) these messagers from the disk (1.msg, 2.msg, ...)?
>
> What is exactly the purge functionality (/opt/SUNWmsgsr/lib/purge -
> num=5)? We know that -num=5 means that expired after 5 versions but
> what does it mean exactly?
>
> When we lunch the purge binary without any parameter
> (/opt/SUNWmsgsr/lib/purge) no message is purged. Why?
>
> Does this purge command log anywhere in a log file?
>
> Thanks for your help!
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise