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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-11-2014, 03:10 PM
|
#1
|
Member
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127
Rep:
|
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
|
|
|
02-11-2014, 03:31 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
per This page:
smtp[s]://[user[  ass]@]host[  ort]
try this syntax for that setting.
|
|
|
02-11-2014, 03:51 PM
|
#3
|
Member
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127
Original Poster
Rep:
|
Nope, I still get "login failed."
|
|
|
02-11-2014, 03:54 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
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'
|
|
|
02-11-2014, 04:00 PM
|
#5
|
Member
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127
Original Poster
Rep:
|
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.
|
|
|
02-11-2014, 04:11 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
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.
|
|
|
02-11-2014, 06:56 PM
|
#7
|
Member
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127
Original Poster
Rep:
|
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.
|
|
|
02-11-2014, 07:22 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
ok i will mess with mutt tonight and see what i come up with
|
|
|
02-15-2014, 07:14 AM
|
#9
|
Member
Registered: Mar 2005
Distribution: Debian Stretch
Posts: 127
Original Poster
Rep:
|
I gave up on it and switched to alpine, which I like. Once you get past the horrific configuration process, it just works.
|
|
|
All times are GMT -5. The time now is 06:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|