mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-20 15:07:03 +00:00
This patch adds initial support for SMTPUTF8, which for now consists of just advertising it. We support most of it, but sending emails over SMTP requires further work, as the SMTP courier does not support this yet (it's not in Go's standard library). That will come in subsequent patches, along with IDNA handling. https://tools.ietf.org/html/rfc6531.html
27 lines
510 B
Bash
Executable File
27 lines
510 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
. $(dirname ${0})/../util/lib.sh
|
|
|
|
init
|
|
|
|
skip_if_python_is_too_old
|
|
|
|
generate_certs_for ñoños
|
|
add_user ñoños ñangapirí antaño
|
|
|
|
# Python doesn't support UTF8 for auth, use an ascii user and domain.
|
|
add_user nada nada nada
|
|
|
|
mkdir -p .logs
|
|
chasquid -v=2 --log_dir=.logs --config_dir=config &
|
|
wait_until_ready 1025
|
|
|
|
smtpc.py --server=localhost:1025 --user=nada@nada --password=nada \
|
|
< content
|
|
|
|
wait_for_file .mail/ñangapirí@ñoños
|
|
mail_diff content .mail/ñangapirí@ñoños
|
|
|
|
success
|