Mailbox Import (Csv) Error: "Line 1 has wrong column count. Expecting 4"
-
-
-
That is a bug, the import feature is not well maintained and it will get actually removed with next version. The main reason is, that the REST API should be preferrred for batch importing as it is much more flexible: https://docs.cloudron.io/api.html#tag/Mail
-
-
@nebulon will you remove the whole import feature or only the one by .csv, keeping import with json file?
-
Similarily to the user export/import, we have removed both by now. The main reason is that there are various edge-cases around conflicts and also having another format to maintain, while the REST api already covers everything solidly.
For convenience maybe some other cli tool for import/export using that REST api may be useful. The API is mostly stable so if this is not just one-time import/export then a custom shell script with curl would be probably better suited already.
-
Okay, thank you very much.
I think it could be good also keep some options for non-developers that allow users to import and export mailboxes, avoiding REST APIs that require deep knowledge of development. This aligns with part of Cloudron's payoff: 'Self-hosting has never been simpler.'
Thank you very much!