{"id":15757038,"url":"https://github.com/jongha/mail-commander","last_synced_at":"2025-03-31T08:26:18.579Z","repository":{"id":15692719,"uuid":"18430486","full_name":"jongha/mail-commander","owner":"jongha","description":"I want to control the server remotely. However, there are security problems. So, I decided to develop a program that can remote control the server safely and easily. It is using email's pop3 server located in internal network. This is still not perfect from a security. However, if you are using a well-controlled internal network it will be very useful.","archived":false,"fork":false,"pushed_at":"2014-05-04T12:54:16.000Z","size":208,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T07:59:15.363Z","etag":null,"topics":["internal-network","mail","pop","python","ssl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jongha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-04T07:06:35.000Z","updated_at":"2019-06-10T07:05:00.000Z","dependencies_parsed_at":"2022-08-24T16:22:03.417Z","dependency_job_id":null,"html_url":"https://github.com/jongha/mail-commander","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/jongha%2Fmail-commander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fmail-commander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fmail-commander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongha%2Fmail-commander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongha","download_url":"https://codeload.github.com/jongha/mail-commander/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246438578,"owners_count":20777445,"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":["internal-network","mail","pop","python","ssl"],"created_at":"2024-10-04T09:03:57.492Z","updated_at":"2025-03-31T08:26:18.560Z","avatar_url":"https://github.com/jongha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mail-commander\n\nI want to control the server remotely. However, there are security problems. So, I decided to develop a program that can remote control the server safely and easily. It is using email's pop3 server located in internal network. This is still not perfect from a security. However, if you are using a well-controlled internal network it will be very useful.\n\n## Description\n\nThis is `mail.cfg` file content.\n\n```\n[Host]\nPOP3=POP3SERVER\nSSL=1\n\n[Account]\nUser=YOURACCOUNT\nPassword=YOURPASSWORD\n\n[Rules]\necho=\\[Daily report\\] (?P\u003cparam\u003e.*)\necho2=\\[WARNING\\] (?P\u003cparam\u003e.*)\n```\n\n* **Host**\n  * POP3\n    * Server address of pop3. (ex: outlook.office365.com)\n * SSL\n   * 1 is SSL, 0 is Non-SSL\n* **Account**\n  * User\n    * User account for POP3\n  * Password\n    * User password for POP3\n* **Rules**\n  * key\n    * Python module name in `modules` subdirectory.\n  * value\n    * A regular expression for subject selecting.\n    * `?P\u003cparam\u003e` is input parameter to module.\n\n### Module Sample\n\nSample of echo.py in modules subdirectory.\n\n```\n#! /usr/bin/env python\n\ndef main(param):\n    # implement your command\n    print('echo module', param)\n\nif __name__ == '__main__':\n    main()\n```\n\n## Usage\n\nYou can run a `main.py` file periodically or use crontab.\n\n## License\n\nmail-commander is available under the terms of the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fmail-commander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongha%2Fmail-commander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongha%2Fmail-commander/lists"}