El 20/1/25 a las 22:39, Emmanuel Bouthenot escribió:
When you encounter this failure, could you send me the result of this
command:

cd tests ; bash -x test-header-handling.sh

Here it is.
+ set -e
+ echo 'Starting msmtpd'
Starting msmtpd
+ MSMTPD_PID=174683
+ trap 'kill 174683' EXIT
+ echo 'Generating test mail'
Generating test mail
+ cat
+ echo t...@example.com t...@example.com t...@example.com to4 t...@example.com 
t...@example.com t...@example.com t...@example.com t...@example.com 
to10@localhost t...@example.com to12 to13@localhost b...@example.com
+ echo 'Testing From header generation'
Testing From header generation
+ ../src/msmtp --host=::1 --port=12346 --set-from-header=on --from 
t...@example.com recipi...@example.com
+ ../src/msmtpd --interface=::1 --port=12346 '--command=cat > 
out-header-handling-mail.txt; echo > out-header-handling-rcpt.txt'
+ cmp -s /dev/fd/63 /dev/fd/62
++ grep '^From: ' out-header-handling-mail.txt
++ echo 'From: t...@example.com'
+ ../src/msmtp --host=::1 --port=12346 --set-from-header=on --from 
t...@example.com -F 'Test User' recipi...@example.com
+ cmp -s /dev/fd/63 /dev/fd/62
++ grep '^From: ' out-header-handling-mail.txt
++ echo 'From: Test User <t...@example.com>'
+ LANG=en_US.UTF-8
+ LC_ALL=en_US.UTF-8
+ ../src/msmtp --host=::1 --port=12346 --set-from-header=on --from 
t...@example.com -F 'Test Üser' recipi...@example.com
+ cmp -s /dev/fd/63 /dev/fd/62
++ grep '^From: ' out-header-handling-mail.txt
++ echo 'From: =?utf-8?B?VGVzdCDDnHNlcg==?= <t...@example.com>'
+ kill 174683

Reply via email to