You are not logged in.

#1 2014-06-15 19:47:49

yramagicman
Member
Registered: 2014-05-17
Posts: 4

Mutt SSL SMTP problems

I've been googling this for hours and I can't find anything to help me solve the issue, so I'm coming to you guys. I'm trying to configure mutt, and it's not working. IMAP is perfect, but SMTP is failing horribly. I've attempted to copy my settings from my other mail client that works beautifully, but something just isn't working. I'd like to use mutt on both my Mac and my Arch box, so if there's a solution that can apply to both that'd be wonderful. (I have Homebrew on my Mac.)

Here's the configuration file (with personal data removed):

set imap_user = "email@example.com"
set imap_pass = "password"
set mbox = +Inbox
set realname = "Jonathan"
set folder = "imaps://mail.server.com:993"

set use_from = yes
set ssl_starttls = yes
set smtp_url = "smtps://mail.server.com:465"
set smtp_pass = "password"
set ssl_starttls = yes
set from = "email@example.com"
set spoolfile = "+INBOX"
set postponed="Drafts"

set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates

set move = no

set mail_check=60           # check for new mail every 60 seconds
set timeout=15

Here's the error: SMTP session failed: 550 http://www.spamhaus.org/query/bl?ip=98.28.168.239"

I'd like to use SSL/TLS, and I've tried everything from changing the port numbers to commenting out set ssl_starttls to not using SSL. If I don't use SSL/TLS mutt doesn't connect, giving me the following error SMTP session failed: read error
If I try port 587 it either gives me a read error or "SMTP session failed: 550 SMTP AUTH is required for message submission on port 587."  When trying to use SSL on port 587 I get an unknown protocol error.

Here's the output of mutt -v on my mac. I haven't tried it on my Arch machine yet.

Mutt 1.5.23 (2014-03-12)
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: Darwin 13.2.0 (x86_64)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
libiconv: 1.11
hcache backend: tokyocabinet 1.4.48

Compiler:
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

Configure options: '--disable-dependency-tracking' '--disable-warnings' '--prefix=/usr/local/Cellar/mutt/1.5.23_1' '--with-ssl=/usr/local/opt/openssl' '--with-sasl' '--with-gss' '--enable-imap' '--enable-smtp' '--enable-pop' '--enable-hcache' '--with-tokyocabinet' '--with-homespool=.mbox' '--disable-debug' 'CC=clang'

Compilation CFLAGS: -g -O2

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=".mbox"
PKGDATADIR="/usr/local/Cellar/mutt/1.5.23_1/share/mutt"
SYSCONFDIR="/usr/local/Cellar/mutt/1.5.23_1/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/.

HALP! smile What's going on here?

Offline

#2 2014-06-15 20:16:31

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

Re: Mutt SSL SMTP problems

first off the bat is this forum is only for ARCHLINUX not Apple
https://wiki.archlinux.org/index.php/Fo … pport_ONLY
second your external IP (98.28.168.239) is listed in a blacklist
speak to your ISP

Last edited by t0m5k1 (2014-06-15 20:19:50)


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

#3 2014-06-15 20:24:00

yramagicman
Member
Registered: 2014-05-17
Posts: 4

Re: Mutt SSL SMTP problems

I'm aware that this is an Arch forum. I have an Arch box, but I wasn't working on it at the time. I solved the problem. I needed to put my email before my smtp server name.

Offline

#4 2014-11-27 22:48:56

tonieee
Member
Registered: 2014-11-27
Posts: 3

Re: Mutt SSL SMTP problems

I'm having the same problem. Can you expand on the solution? Did you put the email address in smtp_url?

Offline

#5 2014-11-27 23:09:49

tonieee
Member
Registered: 2014-11-27
Posts: 3

Re: Mutt SSL SMTP problems

I think I worked it out.

If your smtp server url is smtp.server.name:465 and your email is emailname@email.domain.name then the smtp_url should be smtps://emailname@smtp.server.name:465/.

Now I'm getting "SASL authentication failed" message sad

Offline

#6 2014-11-27 23:18:45

tonieee
Member
Registered: 2014-11-27
Posts: 3

Re: Mutt SSL SMTP problems

Fixed it :-D

The smtp_url should be: smtps://emailname@email.domain.name@smtp.server.name:465/

Offline

Board footer

Powered by FluxBB