LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2014, 03:10 PM   #1
ewlabonte
Member
 
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127

Rep: Reputation: 15
Problem configuring mutt smtp.


I try to send but I get "login failed" every time. Here's my muttrc (minus the password). All the info is correct as far as server names. Smtp works with thunderbird and other graphical email clients. imap and smtp use ssl. The imap works fine, I just can't send mail.

muttrc:

set send_charset="utf-8"
set assumed_charset="iso-8859-1"
set editor=nvi
set menu_scroll=yes
auto_view application/msword
auto_view application/pdf
set simple_search="~f %s | ~C %s | ~s %s"
set sort=threads
set strict_threads=yes
set realname = "Ed LaBonte"
set from = ewlabonte at riseup.net
set imap_pass='My password'
set smtp_pass='My password'
set smtp_url="smtps://ewlabonte@mail.riseup.net:465"
set mail_check=60
set imap_keepalive=300
set folder=imaps://ewlabonte@imap.riseup.net/
set spoolfile=imaps://ewlabonte@imap.riseup.net/
set record=imaps://ewlabont@imap.riseup.net/Sent
set postponed=imaps://ewlabonte@imap.riseup.net/Drafts
set header_cache=/var/tmp/.mutt
mailboxes "="
mailboxes "=Lists"
#macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
macro pager \cb <pipe-entry>'w3m'<enter> 'Follow links in w3m'
#auto_view text/html # view html
#alternative_order text/plain text/enriched text/html # save html for last
 
Old 02-11-2014, 03:31 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
per This page:

smtp[s]://[user[ass]@]host[ort]

try this syntax for that setting.
 
Old 02-11-2014, 03:51 PM   #3
ewlabonte
Member
 
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127

Original Poster
Rep: Reputation: 15
Nope, I still get "login failed."
 
Old 02-11-2014, 03:54 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
so you tried changing the setting to something like this:

smtps://ewlabonte:P@$$word@mail.riseup.net:465

try without the quotes?
also try removing
set smtp_pass='My password'
 
Old 02-11-2014, 04:00 PM   #5
ewlabonte
Member
 
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127

Original Poster
Rep: Reputation: 15
Yes, I changed it with the password after the userid: I also got rid of the quotes and commented out the smtp_pass line. Still "login failed." My password is rather long with a lot of non-alphanumeric characters. But it works with imap.
 
Old 02-11-2014, 04:11 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
first off, i don't user mutt, just trying to help.

reading up on it, older versions need sendmail or some other mta to send email, even to a smarthost.

newer versions, >=1.5.x do have smtp capability if it is compiled in.
you can run:
mutt -v

On my Slackware 14.1 it is compiled with these:
+USE_POP +USE_IMAP +USE_SMTP
+USE_SSL_OPENSSL -USE_SSL_GNUTLS +USE_SASL

I'm guessing you will need at least +USE_SMTP and +USE_SASL. Depending on the encryption you might need the SSL stuff as well.
 
Old 02-11-2014, 06:56 PM   #7
ewlabonte
Member
 
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127

Original Poster
Rep: Reputation: 15
I appreciate your help, whether or not you use mutt. I'm running slackware 14.1 also. Mutt is version 1.5.22 and it was compiled with +USE_IMAP +USE_POP and +USE_SMTP. But it's still not working, so I'm at a loss.
 
Old 02-11-2014, 07:22 PM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
ok i will mess with mutt tonight and see what i come up with
 
Old 02-15-2014, 07:14 AM   #9
ewlabonte
Member
 
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127

Original Poster
Rep: Reputation: 15
I gave up on it and switched to alpine, which I like. Once you get past the horrific configuration process, it just works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to make mutt to listen to smtp ip without using msmtp package Iyyappan Linux - Server 2 01-13-2013 07:33 AM
Mutt install and remote smtp quesiton methodtwo Other *NIX 2 03-12-2011 09:46 PM
Mutt in Slackware 12.2--no SMTP? wilson47 Slackware 5 01-22-2009 09:12 AM
Configuring Mutt for the first time. darksky Linux - General 2 10-15-2003 02:40 AM
configuring mutt for imap4 synfield Linux - Networking 1 08-02-2003 05:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration