How do I cleanly purge MMS messages in the NowMMSC that have been d...

How do I cleanly purge MMS messages in the NowMMSC that have been d... SearchSearch
Author Message
Frank Grygus
Unregistered guest
Posted on Wednesday, August 18, 2004 - 12:21 am:   

I am testing with NowMMSC, and it appears that there are a lot messages in the server. How do I cleanly purge them?

Is there an option of "no read after xxx day(s), delete message"?

Is there an option of deleting messages after MMS-Client downloads the message?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3292
Registered: 10-2002
Posted on Wednesday, August 18, 2004 - 03:25 pm:   

Hi Frank,

Yes, there are options for this, but currently they are hidden away in INI files.

To automatically delete messages after they are retrieved, there is the following setting under the [MMSC] header in MMSC.INI:

ExpireDynamicLinks=##, where ## is the number of minutes after the link is first accessed before it should be automatically deleted.

By default messages are purged automatically after 30 days. To change this value, the following setting can be applied under the [MMSC] section of MMSC.INI:

DataRetainDays=###, where ### is the number of days for which messages (MMS and Multimedia WAP Push) should be retained. Please note that we have not tested this setting for larger values, and we do not recommend settings higher than 180.


Additionally, there are settings for specifying how many days to retain the log files for ... the following setting is available under the [MMSC] section of MMSC.INI, and under the [SMSGW] section of SMSGW.INI:

LogRetainDays=###, where ### is the number of days for which log files should be retained. Please note that we have not tested this setting for larger values, and we do not recommend settings higher than 180. (You should archive the files to alternate storage if you require them for more than 180 days.)
Frank Grygus
Unregistered guest
Posted on Wednesday, August 18, 2004 - 03:33 pm:   

Thanks Bryce, that is what I am looking for.

Just a quick Q: Is there a way to manually purge message before the set timed interval, which for me 30 days is more than enough.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3298
Registered: 10-2002
Posted on Wednesday, August 18, 2004 - 04:29 pm:   

No, there's not.

But if you want it to purge once a day, set DataRetainDays=1.

(I cut and pasted the above from another e-mail. Usually people are asking to increase the amount of time that messages are retained.)
Frank Grygus
Unregistered guest
Posted on Thursday, August 19, 2004 - 05:45 pm:   

Bryce,

Do the same variables above apply to SMSCG? Are the SMS messages stored in a file and purged every 30 days (by default)?

Frank
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3312
Registered: 10-2002
Posted on Thursday, August 19, 2004 - 06:00 pm:   

Frank,

For SMS messages, there is only the information in the log files. Messages themselves are not retained.

(Things are different for MMS and Multimedia WAP Push because of the way the delivery process works...we have to store the content on the server and send a URL out to the recipient.)

-bn