You can use regular standard AT commands, such as AT+CMGL=4, over /dev/ttyUSB3. You can also use any tool you want that can talk with the modem over AT, such as gnokii. For example:
sudo gnokii --config <config-file> --getsms MT 0 end -f <output-file>
with config file being:
[global]
port = /dev/ttyUSB3
model = AT
connection = serial
Notice the message retrieval time and get the system logs from the journal around that time.
Ideally collect all the PDUs with AT+CMGL=4 and send them to Purism support together with the logs mentioned above. That should at least give us some clues on what may be happening on your phone.
This is very false. The only case left when that may happen that I’m aware of right now is when not all chunks of a multi-part message are delivered/parsed and the stuck chunks end up filling up the entire message storage on the modem, but that’s very far from something that would be occurring daily. If you’re hitting some other yet unknown problem, it needs to be troubleshot on your device first so we know what’s going on.