Building mailuitls under Alpine Linux

2024-06-10 Thread Yuri Kanivetsky
Hi, I'm trying to build mailutils under Alpine Linux: $ docker run --rm -it alpine:3.20 / # apk add git libtool autoconf automake wget rsync gettext-dev coreutils build-base perl perl-pod-parser bison flex gawk / # git clone git://git.savannah.gnu.org/mailutils.git / # cd mailutils /mailutils # .

Re: Building mailuitls under Alpine Linux

2024-06-10 Thread Yuri Kanivetsky
Okay, I guess I mixed up something. I tried again and bootstrap finished successfully. But now I've run into libtool version mismatch when I "make" the project: libtool: Version mismatch error. This is libtool 2.4.6, but the libtool: definition of this LT_INIT comes from libtool 2.4.7. libtool: Y

How do I make mail authenticate?

2024-06-10 Thread Yuri Kanivetsky
Hi, I'm trying to send an email: $ echo test mail | mail --debug-level all.prot --exec 'set sendmail=smtps://yuri%40example.com:...;auth=pl...@example.com' -s 'test mail' y...@example.com but it doesn't authenticate (doesn't send the AUTH command). Any suggestions? Regards, Yuri

Re: Building mailuitls under Alpine Linux

2024-06-11 Thread Yuri Kanivetsky
On Tue, Jun 11, 2024 at 1:22 PM Sergey Poznyakoff wrote: > Thanks for reporting. Mailutils includes its own version of ltmain.sh, > which conflicts with libtool 2.4.7. I have fixed this in two recent > commits. Please pull. Yep, now it's working: FROM alpine:3.20 RUN apk add git libtool autoc

Re: How do I make mail authenticate?

2024-06-11 Thread Yuri Kanivetsky
On Tue, Jun 11, 2024 at 10:12 AM Sergey Poznyakoff 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;tl

Re: How do I make mail authenticate?

2024-06-12 Thread Yuri Kanivetsky
On Wed, Jun 12, 2024 at 3:31 PM Sergey Poznyakoff wrote: > Correct me if I'm wrong, but I don't remember "all" being documented > anywhere. I'd advise against using it. It was a somewhat experimental > feature, which never matured to actual use... Indeed, you're right. I discovered it by guessi

Re: Building mailuitls under Alpine Linux

2024-06-12 Thread Yuri Kanivetsky
On Tue, Jun 11, 2024 at 10:12 PM Sergey Poznyakoff wrote: > FWIW, that's useless. Use --disable-debug option to configure, instead. Why useless? It let me set CFLAGS='-g3 -O0' (the -O0 part). But thanks for the suggestion, ./configure --disable-debug CFLAGS='-g3 -O0' is probably a more civilize

Re: How do I make mail authenticate?

2024-06-12 Thread Yuri Kanivetsky
On Wed, Jun 12, 2024 at 5:51 PM Sergey Poznyakoff wrote: > In that case, please pull. Implemented it in commit b990f6cde. Thanks, all;!tls now works. Actually I see 2 more issues. The first one is minor and I'm not sure if it should be fixed. When I just started my "experiments" (trying to send