I'm using XMPP (through ejabberd). As per this XEP standard, I find that XMPP server can store offline messages and can deliver them when a offline user comes online(shares his presence).
My question is:
1> How long these offline messages can be stored in the server? (What is the Maximum Validity of the offline messages, as user may login after 1 month also, he must not miss any message)
2> If there is a time period after which the messages may expire, where can I increase this time limit?
3> And what is the maximum limit of messages that can be stored in XMPP server?