{"id":22396259,"url":"https://github.com/hoehrmann/agent2mbox","last_synced_at":"2025-03-26T23:14:19.671Z","repository":{"id":2189457,"uuid":"3137313","full_name":"hoehrmann/agent2mbox","owner":"hoehrmann","description":"Convert Forté Agent mail archives to Unix mailbox files","archived":false,"fork":false,"pushed_at":"2022-12-14T20:04:24.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T04:43:39.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoehrmann.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-09T15:01:39.000Z","updated_at":"2022-12-14T20:04:28.000Z","dependencies_parsed_at":"2022-08-31T01:12:22.131Z","dependency_job_id":null,"html_url":"https://github.com/hoehrmann/agent2mbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fagent2mbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fagent2mbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fagent2mbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoehrmann%2Fagent2mbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoehrmann","download_url":"https://codeload.github.com/hoehrmann/agent2mbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749907,"owners_count":20666086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T06:07:33.748Z","updated_at":"2025-03-26T23:14:19.652Z","avatar_url":"https://github.com/hoehrmann.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"So,\r\n\r\n  Mail clients. I have yet to discover why it is, but people seem unable\r\nto make good ones. I've been reasonably happy with mine, but it's time\r\nto fight back against the netiquette haters with better software. Since\r\nthere is no better software, I've started working on my own every now\r\nand then. Eventually that will mean migration, and having seen that one\r\ncoming, I've reverse engineered the file format my client uses every so\r\nand so often. There are some tools and there is some documentation out\r\nthere, but they are outdated and some come in forms like Delphi code. In\r\nmy case, also wanted to extract information others can probably do with-\r\nout, and of course I wanted to obtain it reasonably properly so I don't\r\nrun into any surprises, so this wasn't entirely trivial. The basic form\r\nis quite simple, but the part following the message list is weird, I've,\r\nwell, normalized variable length fields and guessed based on what you'd\r\nfind the length of the not-yet-normalized variable lengths fields until\r\neverything parsed okay. It's likely not complete, but works for me.\r\n\r\nI used the Data::ParseBinary module which in turn is based on the Python\r\nPyConstructs module. The documentation for the Perl module isn't great,\r\nbut the module as a whole was okay to work with, certainly better than\r\nhaving `read`s all over and then trying to `unpack` each little bit into\r\nvariables. The main gotcha I encountered was that you can only have one\r\n`then` argument to the If function, but you get not proper error message\r\nfor that. Unrelated to the module, if vec() warned when you use it on a\r\nhash reference rather than a string, that would have helped aswell... I\r\nmade no effort to name things sensibly, this is just how it has grown.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoehrmann%2Fagent2mbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoehrmann%2Fagent2mbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoehrmann%2Fagent2mbox/lists"}