You are not logged in.

#1 2011-07-16 20:59:11

raycat
Member
Registered: 2011-07-16
Posts: 2

mutt under arch (tls problem)

Hi,

I'm new arch user. just switch from ubuntu to arch for few days.

I'm trying to get mutt working under arch. seems like arch compile mutt without GNU-TLS support, and I can't really send mail out to ours company SMTP server without TLS.  muttrc should be ok, it runs fine under ubuntu (mutt 1.5.21)

for only test SMTP, I have a mini version of .muttrc only define SMTP server.

muttrc file
set from= "username@address.com"
set realname="User Name"
set smtp_url="smtp://user.name@mail_server_address:25"
set smtp_pass="my_password"
set ssl_starttls=yes

then I try to send a test mail by running
echo "test" | mutt -s "subject" some.user@mailserver.com

I get error message:
No authenticators available

mutt -v shows -USE_SSL_GNUTLS

then I try to recompile mutt by enable gnutls

have gnutls installed:

[root@rui-laptop ~]# pacman -Ss gnutls|grep installed
extra/gnutls 2.12.7-1 [installed]
extra/libtasn1 2.9-1 [installed]
multilib/lib32-gnutls 2.12.2-1 [installed]

make sure I have tls on system.

[root@rui-laptop ~]#  locate gnutls|egrep '\/include\/|\/lib\/'
/usr/include/gnutls
/usr/include/gnutls/abstract.h
/usr/include/gnutls/compat.h
/usr/include/gnutls/crypto.h
/usr/include/gnutls/extra.h
/usr/include/gnutls/gnutls.h
/usr/include/gnutls/gnutlsxx.h
/usr/include/gnutls/openpgp.h
/usr/include/gnutls/openssl.h
/usr/include/gnutls/pkcs11.h
/usr/include/gnutls/pkcs12.h
/usr/include/gnutls/x509.h
/usr/lib/libgnutls-extra.so
/usr/lib/libgnutls-extra.so.26
/usr/lib/libgnutls-extra.so.26.21.1
/usr/lib/libgnutls-openssl.so
/usr/lib/libgnutls-openssl.so.27
/usr/lib/libgnutls-openssl.so.27.0.0
/usr/lib/libgnutls.so
/usr/lib/libgnutls.so.26
/usr/lib/libgnutls.so.26.21.1
/usr/lib/libgnutlsxx.so
/usr/lib/libgnutlsxx.so.27
/usr/lib/libgnutlsxx.so.27.0.0

then I do a ABS build,
on PKGBUILD I added:
--with-gnutls=/usr

build the package without problem, but still shows -USE_SSL_GNUTLS

then I tried to just down the source from mutt (1.5.21) and compile with only --with-gnutls=/usr after building mutt, I still don't have GNUTLS on mutt.

what am I missing? how other people use mutt (tls) on arch?   (ubuntu have tls compiled in by default)

Thanks for any help.

Offline

#2 2011-07-17 05:48:58

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: mutt under arch (tls problem)

Mutt on Arch uses openssl instead of gnutls for its tls support. 'No authenticators available' has nothing to do with ssl/tls etc. See smtp_authenticators in the muttrc manual.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2011-07-17 06:29:31

raycat
Member
Registered: 2011-07-16
Posts: 2

Re: mutt under arch (tls problem)

Thanks. I made mutt working on arch. under arch I have to put force_tls=yes in muttrc to make it work.  (build ABS with debug support) other tls only start after init auth.

Offline

#4 2011-07-17 07:01:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,797

Re: mutt under arch (tls problem)

raycat,

Welcome to Arch.  Two things.

1.  When posting program output, please use BBCode code tags around the output.  It uses a monospaced font so that columns line up, it sets the output away from the other verbiage, and they provide scroll bars for long passages.  Your readers will appreciate you.

2.  I think your problem is solved.  If so (or when it is), go ahead and edit your first post, edit the thread title, and prepend [SOLVED] to the subject so that those searching for solutions can find the thread more easily. 

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB