This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new fe4b123a smtpd replaced by aiosmtpd
fe4b123a is described below
commit fe4b123a92f311685bee00303641abc8a44f7c07
Author: Sebb <[email protected]>
AuthorDate: Wed Jul 9 13:34:47 2025 +0100
smtpd replaced by aiosmtpd
---
DOCKER.md | 2 +-
Dockerfile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/DOCKER.md b/DOCKER.md
index f794c303..383050d1 100644
--- a/DOCKER.md
+++ b/DOCKER.md
@@ -159,7 +159,7 @@ Testing email
-------------
The following command can be used to run a dummy smtp server on port 1025:
-`python3 -u -m smtpd -n -c DebuggingServer localhost:1025`
+`python3 -m aiosmtpd -n -l localhost:1025`
It can be tested with:
`tools/testmail.rb <userid>`
diff --git a/Dockerfile b/Dockerfile
index a5352876..f8d723a0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -45,7 +45,7 @@ RUN gem install passenger --install_dir=/var/lib/gems/3.2.0
&& \
passenger-install-apache2-module --snippet
>/etc/apache2/conf-enabled/passenger.conf
# Note: pips are generally maintained by Ubuntu now
-RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y python3-img2pdf
+RUN DEBIAN_FRONTEND='noninteractive' apt-get install -y python3-img2pdf
python3-aiosmtpd
RUN \
a2enmod cgi && \