{"id":13573215,"url":"https://github.com/aclemons/emailrelay","last_synced_at":"2026-01-28T22:39:11.312Z","repository":{"id":142648524,"uuid":"82994980","full_name":"aclemons/emailrelay","owner":"aclemons","description":"emailrelay migrated to git (unofficial) - https://svn.code.sf.net/p/emailrelay/code/ mirrored in git","archived":false,"fork":false,"pushed_at":"2025-12-31T23:42:30.000Z","size":9594,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-05T12:39:23.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://emailrelay.sourceforge.net/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aclemons.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-24T02:59:03.000Z","updated_at":"2025-12-31T23:42:45.000Z","dependencies_parsed_at":"2024-05-29T12:34:23.136Z","dependency_job_id":"fe0ce1d2-1605-4b69-834c-3f8d973c839d","html_url":"https://github.com/aclemons/emailrelay","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/aclemons/emailrelay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aclemons%2Femailrelay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aclemons%2Femailrelay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aclemons%2Femailrelay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aclemons%2Femailrelay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aclemons","download_url":"https://codeload.github.com/aclemons/emailrelay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aclemons%2Femailrelay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28853752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-08-01T15:00:31.909Z","updated_at":"2026-01-28T22:39:11.297Z","avatar_url":"https://github.com/aclemons.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"E-MailRelay Readme\n==================\n\nIntroduction\n------------\nE-MailRelay is a lightweight SMTP store-and-forward mail server with POP access\nto spooled messages. It can be used as a personal internet mail server using\nSpamAssassin spam filtering and DNSBL connection blocking, with incoming e-mail\ndelivered to maildir mailboxes. Store-and-forward operation is normally to a\nfixed smarthost but DNS MX routing can also be configured. External scripts can\nbe used for address validation and for processing e-mail messages as they\nare received.\n\nE-MailRelay runs as a single process using the same non-blocking i/o model as\nSquid and nginx giving excellent scalability and resource usage.\n\nQuick start\n-----------\nE-MailRelay can be run straight from the command-line, and on Windows you can\nrun \"emailrelay.exe\" or \"emailrelay-textmode.exe\" from the zip file without\ngoing through the installation process.\n\nTo use E-MailRelay in store-and-forward mode use the \"--as-server\" option to\nstart the storage daemon in the background, and then do delivery of spooled\nmessages by running with \"--as-client\".\n\nFor example, to start a storage daemon in the background listening on port 10025\nuse a command like this:\n\n\temailrelay --as-server --port 10025 --spool-dir /tmp\n\nOn Windows use \"c:/temp\" for testing, rather than \"/tmp\".\n\nOr to run it in the foreground:\n\n\temailrelay --log --no-daemon --port 10025 --spool-dir /tmp\n\nAnd then to forward the spooled mail to \"smtp.example.com\" run something\nlike this:\n\n\temailrelay --as-client smtp.example.com:25 --spool-dir /tmp\n\nTo forward continuously you can add the \"--poll\" and \"--forward-to\" options to\nthe server command-line:\n\nFor example, this starts a server that also forwards spooled-up e-mail every\nminute:\n\n\temailrelay --as-server --poll 60 --forward-to smtp.example.com:25\n\nOr for a server that forwards each message as soon as it has been received, you\ncan use \"--forward-on-disconnect\":\n\n\temailrelay --as-server --forward-on-disconnect --forward-to smtp.example.com:25\n\nTo edit or filter e-mail as it passes through the server specify your filter\nprogram with the \"--filter\" option, something like this:\n\n\temailrelay --as-server --filter /tmp/set-from.js\n\nLook for example filter scripts in the \"examples\" directory.\n\nE-MailRelay can also be used as a personal internet mail server:\n\nUse \"--remote-clients\" (\"-r\") to allow connections from outside the local\nnetwork, define your domain name with \"--domain\" and use an address verifier as\na first line of defense against spammers:\n\n\temailrelay --as-server -v -r --domain=example.com --address-verifier=account:\n\nThen enable POP access to the incoming e-mails with \"--pop\", \"--pop-port\" and\n\"--pop-auth\":\n\n\temailrelay ... --pop --pop-port 10110 --pop-auth /etc/emailrelay.auth\n\nSet up the POP account with a user-id and password in the \"--pop-auth\" secrets\nfile. The secrets file should contain a single line of text like this:\n\n\tserver plain \u003cuserid\u003e \u003cpassword\u003e\n\nFor more information on the command-line options refer to the reference guide\nor run:\n\n\temailrelay --help --verbose\n\nAutostart\n---------\nTo install E-MailRelay on Windows run the \"emailrelay-setup\" program and choose\nthe automatic startup option on the last page so that E-MailRelay runs as a\nWindows service. Use the Windows \"Services\" utility to configure the E-MailRelay\nservice as automatic or manual startup.\n\nTo install E-MailRelay on Linux from a RPM package:\n\n\tsudo rpm -i emailrelay*.rpm\n\nOr from a DEB package:\n\n\tsudo dpkg -i emailrelay*.deb\n\nTo get the E-MailRelay server to start automatically you should check the\nconfiguration file \"/etc/emailrelay.conf\" is as you want it and then run the\nfollowing commands to activate the \"systemd\" service:\n\n\tsystemctl enable emailrelay\n\tsystemctl start emailrelay\n\tsystemctl status emailrelay\n\nOn other Linux systems try some combination of these commands to set up and\nactivate the E-MailRelay service:\n\n\tcp /usr/lib/emailrelay/init/emailrelay /etc/init.d/\n\tupdate-rc.d emailrelay enable\n\trc-update add emailrelay\n\tinvoke-rc.d emailrelay start\n\tservice emailrelay start\n\ttail /var/log/messages\n\ttail /var/log/syslog\n\nOn BSD systems add this line to /etc/rc.conf:\n\n\temailrelay_enable=\"YES\"\n\nDocumentation\n-------------\nThe following documentation is provided:\n* README -- this document\n* COPYING -- the GNU General Public License\n* INSTALL -- generic build \u0026 install instructions\n* AUTHORS -- authors, credits and additional copyrights\n* userguide.txt -- user guide\n* reference.txt -- reference document\n* ChangeLog -- change log for releases\n\nSource code documentation will be generated when building from source if\n\"doxygen\" is available.\n\nFeedback\n--------\nTo give feedback, including reviews, bug reports and feature requests, please\nuse the SourceForge project website at https://sourceforge.net/projects/emailrelay\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faclemons%2Femailrelay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faclemons%2Femailrelay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faclemons%2Femailrelay/lists"}