The number of mails to export is limited by 4420 because that was the number of mails in my mailstore at the time. I did not find a way to get the number of mails in a mailstore, so I punted and hardcoded the number.
I don't know of the "openmail" command, but I needed to export email from two databases and the easiest way seemed to be to hardcode the names.
|