{"id":20132834,"url":"https://github.com/jcomo/smtpd-java","last_synced_at":"2025-04-09T16:53:57.868Z","repository":{"id":74888653,"uuid":"48764954","full_name":"jcomo/smtpd-java","owner":"jcomo","description":"A server implementing the SMTP protocol","archived":false,"fork":false,"pushed_at":"2015-12-30T04:01:25.000Z","size":52,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T19:04:52.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/jcomo.png","metadata":{"files":{"readme":"README.md","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":"2015-12-29T20:02:22.000Z","updated_at":"2021-07-18T22:35:36.000Z","dependencies_parsed_at":"2023-02-26T21:15:56.553Z","dependency_job_id":null,"html_url":"https://github.com/jcomo/smtpd-java","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcomo%2Fsmtpd-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcomo%2Fsmtpd-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcomo%2Fsmtpd-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcomo%2Fsmtpd-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcomo","download_url":"https://codeload.github.com/jcomo/smtpd-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248073791,"owners_count":21043474,"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-11-13T20:55:18.713Z","updated_at":"2025-04-09T16:53:57.845Z","avatar_url":"https://github.com/jcomo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smtpd ![](https://travis-ci.org/jcomo/smtpd.svg?branch=master)\n\nA server implementing the SMTP protocol.\n\nThe server is useful for debugging at the moment.\nIn its current state, the server is only useful for development and debugging.\nThere is support for sending messages to stdout and to individual files on disk.\nAuth and TLS support have not been implemented yet.\n\n### Usage\n\nDownload the [pre-release jar](https://github.com/jcomo/smtpd/releases/download/0.1/smtpd.jar).\n\n```\njava -jar smtpd.jar\n```\n\nTo test it, you can point your mail client (such as Apple mail) to the address it is running on, or you can interact with it via telnet.\nA example SMTP interaction [from RFC 821](http://www.freesoft.org/CIE/RFC/821/31.htm) can be used.\n\n### Configuration\n\nA properties file can be specified as the first positional argument to the program. Available configuration values are\n\n| Key                       | Default                     | Description                                                                   |\n| ------------------------- | --------------------------- | ----------------------------------------------------------------------------- |\n| `server.port`             | 8025                        | Port to run the server on                                                     |\n| `server.hostname`         | contents of `/etc/hostname` | Hostname of the mail server                                                   |\n| `server.shutdown.timeout` | 5                           | Time in seconds to wait for threads to finish before shutting down forcefully |\n| `pool.connections.core`   | 0                           | Number of unused threads to keep in the server thread pool                    |\n| `pool.connections.max`    | 1024                        | Max number of simultaneous connections to handle                              |\n| `pool.idle.timeout`       | 60                          | Time in seconds until idle threads are destroyed                              |\n| `mailer.type`             | `debug`                     | The type of Mailer to use for sending mail. See Mailer types below            |\n| `mailer.file.directory`   | `/tmp/mail`                 | The directory to use for mail when using the file Mailer                      |\n\n#### Mailer types\n\nThe value of `mailer.type` can be either `debug` or `file`. The debug mailer will \"send\" messages to stdout and the file mailer will write\nall messages to unique files in the specified directory.\n\n#### Configuring at Runtime\n\nTo override this configuration with runtime values, you can use command line properties. All configuration values can be overridden\nby suppling the properties with the `smtpd.` prefix. For example, to override the port at runtime:\n\n```\njava -Dsmtpd.server.port=5025 -jar smtpd.jar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcomo%2Fsmtpd-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcomo%2Fsmtpd-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcomo%2Fsmtpd-java/lists"}