On Tue, Jun 11, 2024 at 10:12 AM Sergey Poznyakoff <[email protected]> wrote:
> Make sure mailutils is compiled with support for GSASL. Running
> 'mailutils info gsasl' should show WITH_GSASL.

Indeed, after installing libgsasl-dev (Alpine Linux) it started to work:

$ echo test email \
  | mail --debug-level 'all;tls.!=prot' --debug-line-info \
      --exec 'set
sendmail=smtps://yuri%40example.com:[email protected];[email protected]'
\
      -s 'test mail' \
      [email protected]

On a side note, it took me a while to figure out that one can after
all enable everything but... This doesn't work: all;!tls, but this
does: all;tls.!=prot. After seeing that all;!tls == all, I thought
that one can't disable categories and levels, only enable. But it
turned out that disabling levels works. And now that I think about it,
what other use can be for !category than all;!category? So I'd say it
doesn't work as documented.

To make it more specific, with all;!tls this condition:

http://git.savannah.gnu.org/cgit/mailutils.git/tree/libmu_auth/tls.c?id=cf9dfee3017129b375f6dbbacb63c741228c0104#n68

is true. Unless I mixed up something.

Regards,
Yuri

Reply via email to