{"id":35174309,"url":"https://github.com/skygenesisenterprise/mail-server","last_synced_at":"2026-04-29T03:04:03.530Z","repository":{"id":305181941,"uuid":"996609626","full_name":"skygenesisenterprise/mail-server","owner":"skygenesisenterprise","description":"The Enterprise Mail Server Authorities ","archived":false,"fork":false,"pushed_at":"2025-08-15T01:50:48.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-15T03:22:01.002Z","etag":null,"topics":["api","email-client","mail-server","rust","shell"],"latest_commit_sha":null,"homepage":"https://skygenesisenterprise.com","language":"Rust","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/skygenesisenterprise.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-05T07:39:43.000Z","updated_at":"2025-08-15T01:50:51.000Z","dependencies_parsed_at":"2025-07-18T19:54:57.154Z","dependency_job_id":"894af5e5-fa68-441a-9e21-41ed13713e95","html_url":"https://github.com/skygenesisenterprise/mail-server","commit_stats":null,"previous_names":["skygenesisenterprise/mail-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skygenesisenterprise/mail-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Fmail-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Fmail-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Fmail-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Fmail-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skygenesisenterprise","download_url":"https://codeload.github.com/skygenesisenterprise/mail-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skygenesisenterprise%2Fmail-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28104910,"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","status":"online","status_checked_at":"2025-12-28T02:00:05.685Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","email-client","mail-server","rust","shell"],"created_at":"2025-12-28T21:51:34.302Z","updated_at":"2025-12-28T21:51:39.818Z","avatar_url":"https://github.com/skygenesisenterprise.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enterprise Mail Server\n\nA high-performance, multi-protocol mail server written in Rust supporting IMAP, SMTP, and POP3 protocols with multi-domain support and PowerDNS integration.\n\n## Features\n\n- **Multi-Protocol Support**: IMAP, SMTP, and POP3 protocols\n- **Multi-Domain**: Support for multiple email domains\n- **Security**: TLS/SSL encryption, secure authentication with Argon2\n- **Scalability**: Async/await architecture with connection pooling\n- **PowerDNS Integration**: Automatic DNS record management\n- **Database Storage**: PostgreSQL backend for reliable email storage\n- **Modular Architecture**: Clean separation of concerns\n\n## Quick Start\n\n### Prerequisites\n\n- Rust 1.70+\n- PostgreSQL 12+\n- PowerDNS (optional, for domain management)\n- TLS certificates\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/skygenesisenterprise/mail-server\ncd mail-server\n```\n\n2. Set up the database:\n```bash\ncreatedb mailserver\n```\n\n3. Configure the server:\n```bash\ncp config.toml.example config.toml\n# Edit config.toml with your settings\n```\n\n4. Generate or obtain TLS certificates:\n```bash\nmkdir certs\n# Place your server.crt and server.key in the certs directory\n```\n\n5. Run the server:\n```bash\ncargo run\n```\n\n## Configuration\n\nThe server is configured via `config.toml`. Key sections include:\n\n- **server**: Basic server settings\n- **database**: PostgreSQL connection settings\n- **tls**: TLS certificate paths\n- **smtp/imap/pop3**: Protocol-specific settings\n- **powerdns**: PowerDNS API configuration\n- **auth**: Authentication settings\n- **storage**: Email storage configuration\n\n## Architecture\n\nThe mail server is built with a modular architecture:\n\n- **Core**: Main server orchestration and configuration\n- **Protocols**: SMTP, IMAP, and POP3 protocol implementations\n- **Auth**: Authentication and user management\n- **Storage**: Database operations and email storage\n- **Domain**: Domain management and PowerDNS integration\n- **TLS**: SSL/TLS configuration and management\n\n## Development\n\n### Running Tests\n\n```bash\ncargo test\n```\n\n### Logging\n\nThe server uses structured logging with tracing. Set the `RUST_LOG` environment variable to control log levels:\n\n```bash\nRUST_LOG=debug cargo run\n```\n\n### Database Migrations\n\nDatabase migrations run automatically on startup. The server will create all necessary tables and indexes.\n\n## Security Considerations\n\n- Always use TLS in production\n- Regularly update dependencies\n- Use strong passwords and proper certificate management\n- Configure firewall rules appropriately\n- Monitor logs for suspicious activity\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](../LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskygenesisenterprise%2Fmail-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskygenesisenterprise%2Fmail-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskygenesisenterprise%2Fmail-server/lists"}