[GH-ISSUE #1108] Question: How to configure SMTP so Django can send password reset emails #2204

Open
opened 2026-03-01 17:57:16 +03:00 by kerem · 1 comment
Owner

Originally created by @KiwiActinidia on GitHub (Feb 27, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1108

Describe the bug

Mail setting

Steps to reproduce

I try to recover lost password.
Reading instruction I don't find any info about howto set mail setting

Screenshots or log output

ArchiveBox version

ArchiveBox v0.6.2
Cpython Linux Linux-5.10.0-21-amd64-x86_64-with-glibc2.28 x86_64
IN_DOCKER=True DEBUG=False IS_TTY=True TZ=UTC SEARCH_BACKEND_ENGINE=sonic

[i] Dependency versions:
 √  ARCHIVEBOX_BINARY     v0.6.2          valid     /usr/local/bin/archivebox
 √  PYTHON_BINARY         v3.9.5          valid     /usr/local/bin/python3.9
 √  DJANGO_BINARY         v3.1.10         valid     /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py
 √  CURL_BINARY           v7.64.0         valid     /usr/bin/curl
 -  WGET_BINARY           -               disabled  /usr/bin/wget
 √  NODE_BINARY           v15.14.0        valid     /usr/bin/node
 √  SINGLEFILE_BINARY     v0.3.16         valid     /node/node_modules/single-file/cli/single-file
 √  READABILITY_BINARY    v0.0.2          valid     /node/node_modules/readability-extractor/readability-extractor
 -  MERCURY_BINARY        -               disabled  /node/node_modules/@postlight/mercury-parser/cli.js
 -  GIT_BINARY            -               disabled  /usr/bin/git
 √  YOUTUBEDL_BINARY      v2021.04.26     valid     /usr/local/bin/youtube-dl
 √  CHROME_BINARY         v90.0.4430.93   valid     /usr/bin/chromium
 √  RIPGREP_BINARY        v0.10.0         valid     /usr/bin/rg

[i] Source-code locations:
 √  PACKAGE_DIR           22 files        valid     /app/archivebox
 √  TEMPLATES_DIR         3 files         valid     /app/archivebox/templates
 -  CUSTOM_TEMPLATES_DIR  -               disabled

[i] Secrets locations:
 -  CHROME_USER_DATA_DIR  -               disabled
 -  COOKIES_FILE          -               disabled

[i] Data locations:
 √  OUTPUT_DIR            6 files         valid     /data
 √  SOURCES_DIR           3 files         valid     ./sources
 √  LOGS_DIR              1 files         valid     ./logs
 √  ARCHIVE_DIR           2 files         valid     ./archive
 √  CONFIG_FILE           327.0 Bytes     valid     ./ArchiveBox.conf
 √  SQL_INDEX             224.0 KB        valid     ./index.sqlite3           
Originally created by @KiwiActinidia on GitHub (Feb 27, 2023). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1108 #### Describe the bug Mail setting #### Steps to reproduce I try to recover lost password. Reading instruction I don't find any info about howto set mail setting #### Screenshots or log output #### ArchiveBox version ``` ArchiveBox v0.6.2 Cpython Linux Linux-5.10.0-21-amd64-x86_64-with-glibc2.28 x86_64 IN_DOCKER=True DEBUG=False IS_TTY=True TZ=UTC SEARCH_BACKEND_ENGINE=sonic [i] Dependency versions: √ ARCHIVEBOX_BINARY v0.6.2 valid /usr/local/bin/archivebox √ PYTHON_BINARY v3.9.5 valid /usr/local/bin/python3.9 √ DJANGO_BINARY v3.1.10 valid /usr/local/lib/python3.9/site-packages/django/bin/django-admin.py √ CURL_BINARY v7.64.0 valid /usr/bin/curl - WGET_BINARY - disabled /usr/bin/wget √ NODE_BINARY v15.14.0 valid /usr/bin/node √ SINGLEFILE_BINARY v0.3.16 valid /node/node_modules/single-file/cli/single-file √ READABILITY_BINARY v0.0.2 valid /node/node_modules/readability-extractor/readability-extractor - MERCURY_BINARY - disabled /node/node_modules/@postlight/mercury-parser/cli.js - GIT_BINARY - disabled /usr/bin/git √ YOUTUBEDL_BINARY v2021.04.26 valid /usr/local/bin/youtube-dl √ CHROME_BINARY v90.0.4430.93 valid /usr/bin/chromium √ RIPGREP_BINARY v0.10.0 valid /usr/bin/rg [i] Source-code locations: √ PACKAGE_DIR 22 files valid /app/archivebox √ TEMPLATES_DIR 3 files valid /app/archivebox/templates - CUSTOM_TEMPLATES_DIR - disabled [i] Secrets locations: - CHROME_USER_DATA_DIR - disabled - COOKIES_FILE - disabled [i] Data locations: √ OUTPUT_DIR 6 files valid /data √ SOURCES_DIR 3 files valid ./sources √ LOGS_DIR 1 files valid ./logs √ ARCHIVE_DIR 2 files valid ./archive √ CONFIG_FILE 327.0 Bytes valid ./ArchiveBox.conf √ SQL_INDEX 224.0 KB valid ./index.sqlite3 ```
Author
Owner

@pirate commented on GitHub (Feb 28, 2023):

Resetting password by email is actually already built into ArchiveBox because it's provided by Django, but is not officially supported yet so I haven't documented the options publicly (https://docs.djangoproject.com/en/4.1/ref/settings/#email-host).

Until I release+document SMPT setup officially, I recommend using the archivebox manage changepassword command instead:

archivebox manage changepassword --help

archivebox manage changepassword <username>
<!-- gh-comment-id:1448584638 --> @pirate commented on GitHub (Feb 28, 2023): Resetting password by email is actually already built into ArchiveBox because it's provided by Django, but is not officially supported yet so I haven't documented the options publicly (https://docs.djangoproject.com/en/4.1/ref/settings/#email-host). Until I release+document SMPT setup officially, I recommend using the `archivebox manage changepassword` command instead: ```bash archivebox manage changepassword --help archivebox manage changepassword <username> ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2204
No description provided.