LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-03-2009, 08:03 PM   #1
r_avital
LQ Newbie
 
Registered: Oct 2006
Posts: 26

Rep: Reputation: 15
mutt stuck at "logging in...'


Hi all,

Just installed mutt and followed the directions in this linuxjournal article. Having difficulty logging in (or so it seems). Found several beginner and advanced tutorials ion mutt on the net, but most are outdated or inaccurate.

Behavior: when running mutt for the first time, I get a certificate from my email provider - which I suppose means I'm connecting to them ok. I choose option to accept always - this saves the cert but the next time I run mutt, it prompts me to accept again, and if I select accept always it warns me that it could not save (if I delete the previously saved cert, this save succeeds).

The more pressing problem: It shows a message at the bottom - "Logging In..." and hangs there forever. I need to close the terminal session (konsole) to exit.

Mutt shows me an INBOX mailbox with 0 messages. I have also created (manually) the ~/Mail/Inbox, ~/Mail/Sent and ~/Mail/draft folders.

I also tried sending, by picking a name in abook and pressing m to send with mutt, but since I can't log in, it makes sense that it would fail.

Please, any thoughts would be greatly appreciated. Thanks in advance.

Running mutt version 1.5.18 from konsole prompt, ubuntu jaunty, under gnome. Here is my .muttrc file, minus the pretty colors stuff and with fake names for privacy:

Code:
# Local folder
set mbox_type=Maildir
set folder=~/Mail

# IMAP Settings
set realname="me myself"
#set folder=imaps://mail.soandso.net
set spoolfile=imaps://mail.soandso.net/Inbox
set record=imaps://mail.soandso.net/Sent
set postponed=mail.soandso.net/Draft
mailboxes =INBOX # check for new email here
set header_cache=~/.mutt_cache

set from="Me Myself <memyself@soandso.net>"
set imap_user=memyself@soandso.net
set header_cache=~/.mutt_cache
set smtp_url="smtps://memyself\@soandso.net@mail.soandso.net/"

# Reading Mail
set timeout=10  
set mail_check=5
set sort=threads
set sort_aux=date
set move=no     
set mark_old=no
ignore * # ignore all headers except for ...
unignore Date: From: To: CC: Bcc: Subject:
hdr_order Subject: Date: From: To: CC: Bcc:
set index_format="%{%b %d} %-15.15L [%Z] %s" # custom index format

# Composing Mail
set editor="nano"
set markers=no
#set signature=~/.sig
set include=yes
set forward_format="Fwd: %s"

# Sending Mail
set copy=yes
set smtp_url="smtps://memyself\@soandso.net@mail.mailsnare.net/"
 
Old 07-08-2009, 01:59 PM   #2
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 137

Rep: Reputation: 27
Hi

Let me say straight away that I know nothing about imap. I am also using slackware, with an older version of mutt. But it looks to me that you have not set something like this in muttrc

# Add an item for each mailbox
#mailboxes ~/Mail/inbox
mailboxes ~/Mail/Spam
#mailboxes ~/Mail/nosubject
mailboxes ~/Mail/AdultContentFolder
mailboxes ~/Mail/unsure
mailboxes ~/Mail/virus

In other words mailboxes.

And what about this at the top

set mbox_type=maildir
set mbox="~/Mail/inbox/"
set spoolfile="~/Mail/inbox/"
set folder="~/Mail/"
set record="~/Mail/sent/"

Something to look at I'm sure.

If it helps great if not I'm sorry. All the best.
 
Old 07-10-2009, 11:35 PM   #3
r_avital
LQ Newbie
 
Registered: Oct 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks, Slackbat,

I'll give these a try, but I doubt this will do it. Since posting the problem initially, I've modified the file to connect to my Gmail account, and it connected without issues.

In any case, thanks so much, I'll try your suggestions
 
  


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
MUTT keeps telling me Bad login on "exec fetch-mail" command aliasX Linux - Server 0 05-17-2009 12:04 PM
echo mypage.htm | mutt -s "hello news" myemail@gmail.com frenchn00b Linux - General 16 04-20-2009 01:21 AM
Mutt-ng configuration with smtp returns "unknown" on Slackware-12.2 agricola7 Linux - Newbie 0 04-17-2009 10:06 AM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 09:09 AM
mutt says: "~/Mail/Inbox: No such file or directory (errno = 2)" realos Linux - General 1 08-01-2002 03:05 AM

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

All times are GMT -5. The time now is 07:27 AM.

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