1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-20 15:07:03 +00:00
Files
go-chasquid-smtp/test/t-07-smtputf8/run.sh
Alberto Bertogli 6dda2fff4b chasquid: Introduce support for SMTPUTF8
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
2016-10-10 00:51:04 +01:00

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