SliTaz SliTaz Forum

You are not logged in.

#1 2014-11-03 20:36:18

emgi
Member
Registered: 2012-12-17
Posts: 127

mutt with SASL support

On slitaz4 I am using mutt to automatically send documents to my kindle.

Due to a new ISP the messages now need to be sent with TLS and SASL.

The mutt version in the repository was compiled without SASL support: (-USE_SASL)

~# mutt -vv

Mutt 1.5.21 (2010-09-15)

Copyright (C) 1996-2009 Michael R. Elkins and others.

Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.

Mutt is free software, and you are welcome to redistribute it

under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.37-slitaz (i686)

ncurses: ncurses 5.9.20110404 (compiled with 5.9)

libidn: 1.21 (compiled with 1.21)

Compile options:

-DOMAIN

-DEBUG

-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK

+USE_POP  +USE_IMAP  +USE_SMTP

+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  -USE_SASL  -USE_GSS  +HAVE_GETADDRINFO

+HAVE_REGCOMP  -USE_GNU_REGEX

+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET

+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM

+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME

-EXACT_ADDRESS  -SUN_ATTACHMENT

+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR

+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  -USE_HCACHE

-ISPELL

SENDMAIL="/usr/sbin/sendmail"

MAILPATH="/var/mail"

PKGDATADIR="/usr/share/mutt"

SYSCONFDIR="/etc"

EXECSHELL="/bin/sh"

-MIXMASTER

To contact the developers, please mail to <mutt-dev@mutt.org>.

To report a bug, please visit http://bugs.mutt.org/.

#

Could someone please submit an updated version of the package?

/emgi

Offline

#2 2014-11-04 11:40:26

linea
Administrator
Registered: 2011-03-31
Posts: 70

Re: mutt with SASL support

Hi emgi

I've pushed in the cooking repo: http://hg.slitaz.org/wok/rev/a27eb3726263,

but I haven't got access to the stable repo: abort: authorization failed?

Offline

#3 2014-11-04 14:32:25

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: mutt with SASL support

Hi emgi,

Can you test http://cook.slitaz.org/cooker.cgi?download=mutt-1.5.23.tazpkg ?

Offline

#4 2014-11-04 16:50:51

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: mutt with SASL support

Test report:

Installation went fine, no errors, new version is correctly reported.

File contents are added to /root/sent but when sending a message, the program exits with the following message: Error sending message, child exited 1 ().

This error message is displayed on the bottom line (status line) where it previously displayed the SASL error. I can then exit the program with i, q and the message is not sent.

/emgi

Offline

#5 2014-11-05 08:08:58

linea
Administrator
Registered: 2011-03-31
Posts: 70

Re: mutt with SASL support

Hi

Found this online: http://dev.mutt.org/trac/wiki/MuttFaq/Sendmail

Offline

#6 2014-11-05 14:04:18

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: mutt with SASL support

Solved!

It turned out I had made a basic mistake while installing the new package:

Forgotten to save the config file /etc/Muttrc

Hence the new mutt was using default settings and missing login- and server details for my specific situation.

Fortunately I was able to recover the old file and I was able to send a message using these settings.

Paul's message triggered me to verify the configuration and that's when I discovered my mistake.

Now I am again able to send ebooks to my kindle.

Thanks everyone!

Offline

#7 2014-11-05 20:33:56

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: mutt with SASL support

@emgi:

You have found a bug in the mutt package. The upgrade should not break your configuration files.

The fix: http://hg.slitaz.org/wok/rev/25551012e527

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]