{"id":16889357,"url":"https://github.com/dcbaker/py-mailqueued","last_synced_at":"2025-04-11T12:57:17.007Z","repository":{"id":57443722,"uuid":"80876610","full_name":"dcbaker/py-mailqueued","owner":"dcbaker","description":"Queueing daemon for msmtp","archived":false,"fork":false,"pushed_at":"2018-08-07T23:50:40.000Z","size":31,"stargazers_count":6,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T09:12:25.465Z","etag":null,"topics":["email","queue"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcbaker.png","metadata":{"files":{"readme":"README.rst","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":"2017-02-03T22:57:17.000Z","updated_at":"2023-04-19T12:25:48.000Z","dependencies_parsed_at":"2022-09-05T09:41:09.385Z","dependency_job_id":null,"html_url":"https://github.com/dcbaker/py-mailqueued","commit_stats":null,"previous_names":["dcbaker/msmtpqd"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcbaker%2Fpy-mailqueued","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcbaker%2Fpy-mailqueued/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcbaker%2Fpy-mailqueued/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcbaker%2Fpy-mailqueued/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcbaker","download_url":"https://codeload.github.com/dcbaker/py-mailqueued/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248404155,"owners_count":21097666,"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":["email","queue"],"created_at":"2024-10-13T16:56:55.710Z","updated_at":"2025-04-11T12:57:16.979Z","avatar_url":"https://github.com/dcbaker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"py-mailqueued\n=============\n\npy-mailqueued is an ansynchronous daemon for sending or queueing mail,\ndepending on the state of the network. It's primary advantage is that it always\nsends mail immediately if the network is up, and queues only if the network is\ndown.\n\nIt currently only supports using NetworkManager over dbus to query the network\nstatus. This has the advantage that most Linux desktop/laptop setups use\nNetworkManager and dbus, and isn't bound to silly tricks like pinging (which\nmake be blocked by a proxy or firewall) or resolving a hostname (which is\nnot guaranteed to work). It also means that the daemon switches modes as soon\nas NetworkManager switches to or from full network access. The downside is of\ncourse that NetworkManager must be managing all of your network interfaces.\n\nUsage\n=====\n\nThis package requires systemd to run. You're welcome to use it without systemd,\nbut I'm not intrested in supporting any other init system. Sorry.\n\nThis package also requires that you use NetworkManager. This should cover most\nsystems that realistically need a mail-queueing daemon. I might take patches to\nsupport other clients if they have dbus interfaces.\n\nThis first thing you'll need to do is enable the daemon:\n\n.. code-block:: sh\n\n    systemctl --user daemon-reload\n    systemctl --user start mailqueued\n    systemctl --user enable mailqueued\n\nOnce that's done add 'mail-queue' to the front of your normal mailer command\n(tested with msmtp):\n\n.. code-block:: sh\n\n    /bin/mail-queue /bin/msmtp --account=myaccount -t\n\nAnd that's it. Mail will be sent when generated if the network is up, and\nqueued when it is not\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcbaker%2Fpy-mailqueued","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcbaker%2Fpy-mailqueued","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcbaker%2Fpy-mailqueued/lists"}