dovecot-userpassdb


Namedovecot-userpassdb JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/koniiiik/dovecot-userpassdb
SummaryDovecot user-controllable passwords
upload_time2024-01-02 19:45:50
maintainer
docs_urlNone
authorMichal Petrucha
requires_python
licenseBSD
keywords dovecot imap password checkpassword
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            Dovecot user-controllable passwords
===================================

Passwords used by your users to log into a system using SSH are precious.
Way too precious to have mail software store them in plaintext on
arbitrary devices (laptops, phones, ...). Unless you are using LDAP to
store password hashes for your system users, Dovecot doesn't offer an
out-of-the-box way to let regular users set passwords for IMAP that differ
from those they use to log into the system.

This tool provides a simple way of implementing separate passwords in
Dovecot for regular system users. Passwords are stored inside each user's
home directory, and they can be modified from the command line. It
implements Dovecot's checkpassword interface for password verification.

Future plans include:

* setting additional attributes (such as ``mail`` to override the
  system-default ``mail_location``)

Installation
------------

This is a regular Python package installable using ``pip``. Obviously, it
depends on Python (tested on 3.4+). If you're feeling adventurous, just
run ``pip install dovecot-userpassdb`` as root to have everything
installed inside ``/usr/local``. If you prefer to keep things tidy and
isolated, you can follow these steps instead:

#. Create a Python virtualenv::

    # python -m venv /usr/local/venv-dovecot-userpassdb
    # PIP="/usr/local/venv-dovecot-userpassdb/bin/pip"
    # $PIP install -U pip                                # to be up-to-date

#. Install the ``dovecot-userpassdb`` package inside the new virtualenv::

    # $PIP install dovecot-userpassdb

#. Make the newly-installed ``imap-passwd`` script available in system
   ``PATH``::

    # ln -s /usr/local/venv-dovecot-userpassdb/bin/imap-passwd /usr/local/bin

#. Finally, configure Dovecot to use the provided ``dovecot-checkpass``
   script, for example by including the following block::

    passdb {
        driver = checkpassword
        args = /usr/local/venv-dovecot-userpassdb/bin/dovecot-checkpass
    }

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/koniiiik/dovecot-userpassdb",
    "name": "dovecot-userpassdb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "dovecot imap password checkpassword",
    "author": "Michal Petrucha",
    "author_email": "michal.petrucha@koniiiik.org",
    "download_url": "https://files.pythonhosted.org/packages/aa/0c/096940f3bc87af523157835086f0a0c3829d06fb4645e6424acc2640a4aa/dovecot-userpassdb-0.1.1.tar.gz",
    "platform": null,
    "description": "Dovecot user-controllable passwords\n===================================\n\nPasswords used by your users to log into a system using SSH are precious.\nWay too precious to have mail software store them in plaintext on\narbitrary devices (laptops, phones, ...). Unless you are using LDAP to\nstore password hashes for your system users, Dovecot doesn't offer an\nout-of-the-box way to let regular users set passwords for IMAP that differ\nfrom those they use to log into the system.\n\nThis tool provides a simple way of implementing separate passwords in\nDovecot for regular system users. Passwords are stored inside each user's\nhome directory, and they can be modified from the command line. It\nimplements Dovecot's checkpassword interface for password verification.\n\nFuture plans include:\n\n* setting additional attributes (such as ``mail`` to override the\n  system-default ``mail_location``)\n\nInstallation\n------------\n\nThis is a regular Python package installable using ``pip``. Obviously, it\ndepends on Python (tested on 3.4+). If you're feeling adventurous, just\nrun ``pip install dovecot-userpassdb`` as root to have everything\ninstalled inside ``/usr/local``. If you prefer to keep things tidy and\nisolated, you can follow these steps instead:\n\n#. Create a Python virtualenv::\n\n    # python -m venv /usr/local/venv-dovecot-userpassdb\n    # PIP=\"/usr/local/venv-dovecot-userpassdb/bin/pip\"\n    # $PIP install -U pip                                # to be up-to-date\n\n#. Install the ``dovecot-userpassdb`` package inside the new virtualenv::\n\n    # $PIP install dovecot-userpassdb\n\n#. Make the newly-installed ``imap-passwd`` script available in system\n   ``PATH``::\n\n    # ln -s /usr/local/venv-dovecot-userpassdb/bin/imap-passwd /usr/local/bin\n\n#. Finally, configure Dovecot to use the provided ``dovecot-checkpass``\n   script, for example by including the following block::\n\n    passdb {\n        driver = checkpassword\n        args = /usr/local/venv-dovecot-userpassdb/bin/dovecot-checkpass\n    }\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Dovecot user-controllable passwords",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/koniiiik/dovecot-userpassdb"
    },
    "split_keywords": [
        "dovecot",
        "imap",
        "password",
        "checkpassword"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "967284096ad104ca80e5af560c818a311b324e97a5eb208293543a652f5c6487",
                "md5": "e526f4672e02d5c8ba16023848433ff4",
                "sha256": "fd1e9f9d93fa184b21b9ea72f865d1326fe8cb7d993c0833d67b6c3ed0ab174b"
            },
            "downloads": -1,
            "filename": "dovecot_userpassdb-0.1.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e526f4672e02d5c8ba16023848433ff4",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 5084,
            "upload_time": "2024-01-02T19:45:48",
            "upload_time_iso_8601": "2024-01-02T19:45:48.208369Z",
            "url": "https://files.pythonhosted.org/packages/96/72/84096ad104ca80e5af560c818a311b324e97a5eb208293543a652f5c6487/dovecot_userpassdb-0.1.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aa0c096940f3bc87af523157835086f0a0c3829d06fb4645e6424acc2640a4aa",
                "md5": "ca2483726b267436b8a14c38111b2072",
                "sha256": "742fdaac4dd346b818720d5a900c029471c5b97dd6eef7566ad54e0c11ad0a0e"
            },
            "downloads": -1,
            "filename": "dovecot-userpassdb-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ca2483726b267436b8a14c38111b2072",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5437,
            "upload_time": "2024-01-02T19:45:50",
            "upload_time_iso_8601": "2024-01-02T19:45:50.057976Z",
            "url": "https://files.pythonhosted.org/packages/aa/0c/096940f3bc87af523157835086f0a0c3829d06fb4645e6424acc2640a4aa/dovecot-userpassdb-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-02 19:45:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "koniiiik",
    "github_project": "dovecot-userpassdb",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "dovecot-userpassdb"
}
        
Elapsed time: 0.17452s