Re: Inbox folder doesn't work anymore
On Wed, May 08, 2019 at 01:24:29AM -0300, Luciano ES wrote: I have ~/Mail/inbox as correctly indicated in the line that was causing me trouble. Still a mystery. $folder specifies the default location for all your mailboxes. The first time you enter the browser, this will be where mutt looks. Subsequent times, it will change depending on the last folder selected. So by setting 'set folder="$HOME/Mail/inbox"' you have told mutt to look in there, at least the first time, when you open the browser. The problem is "$HOME/Mail/inbox" is a MH mailbox, in which you also appear to have other mailboxes: postponed-mail, sent-mail, and clAcc. I would suggest moving those mailboxes under "$HOME/Mail/" instead, using your shell or a file manager program. Then adjust: set folder="$HOME/Mail" set spoolfile="+inbox" set postponed="+postponed-mail" set record="+sent-mail" -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: Inbox folder doesn't work anymore
On Tue, 7 May 2019 22:59:51 -0400, Patrick Shanahan wrote: > > set folder="$HOME/Mail/inbox" > > > > When that one line is commented out, the problem disappears. > you can answer yourself, look at: > ls -la ~/ |grep -i mail > ls -la ~/{M,m}ail |grep -i inbox > > guessing, you actually have ~/Mail/Inbox or > ~/mail/Inbox or > ~/Mail/inbox I have ~/Mail/inbox as correctly indicated in the line that was causing me trouble. Still a mystery. -- Luciano ES >>
Re: Inbox folder doesn't work anymore
* Luciano ES [05-07-19 21:28]: > I believe the problem has been fixed, though I don't really understand > why... yet. I'll have to catch up with a lot of reading before I can > really understand. > > I took a new approach and attacked my muttrc file rather than the > inbox folder. I deleted about half of all lines in it and launched > mutt and... Problem gone! > > So I restored all lines and repeated the elimination process a few > times until I zeroed in on one line: > > set folder="$HOME/Mail/inbox" > > When that one line is commented out, the problem disappears. > > Please tell me why if you feel like it. Who knows why I even added > it in the first place. Probably copied from some .muttrc file shared > and spotted in the wild. you can answer yourself, look at: ls -la ~/ |grep -i mail ls -la ~/{M,m}ail |grep -i inbox guessing, you actually have ~/Mail/Inbox or ~/mail/Inbox or ~/Mail/inbox -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri Registered Linux User #207535@ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode
Re: Inbox folder doesn't work anymore
On 2019-05-07 22:12, Russell L. Harris wrote: > On Tue, May 07, 2019 at 12:08:14AM -0300, Luciano ES wrote: > > The problem is that the Inbox folder is empty. And it shouldn't be. > > I can inspect that directory say, with a file manager, and it's loaded > > with messages. > > Check two things: > > (1) The only maildirs or mboxes of which Mutt is aware are those which > are specified in .muttrc by the "mailboxes" command. This is not true, strictly speaking. The "mailboxes" command makes a folder available to switch with the "y" or "c-?" key sequences. But in response to the prompt after "c", you can enter a filename of any file or directory that is a valid folder - in a format that mutt knows about - and mutt will happily open it. And you can always start mutt like mutt -f /home/me/Mail/box even if that path is not in any mailboxes line. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.
Re: Inbox folder doesn't work anymore
I believe the problem has been fixed, though I don't really understand why... yet. I'll have to catch up with a lot of reading before I can really understand. I took a new approach and attacked my muttrc file rather than the inbox folder. I deleted about half of all lines in it and launched mutt and... Problem gone! So I restored all lines and repeated the elimination process a few times until I zeroed in on one line: set folder="$HOME/Mail/inbox" When that one line is commented out, the problem disappears. Please tell me why if you feel like it. Who knows why I even added it in the first place. Probably copied from some .muttrc file shared and spotted in the wild. Mutt seems to be working again and I'll be reading docs and fine tuning it to my very specific tastes. I'll stick around so I get to read about the subject more often and keep learning. Feel free to add any comments you may feel like. They will be very welcome. Otherwise, thank you very much for all the attention. All the best, -- Luciano ES >>
Re: Inbox folder doesn't work anymore
On Tue, May 07, 2019 at 08:00:56PM -0300, Luciano ES wrote: I don't have any 'mailboxes' command in my .muttrc file. Not at all. I have this: set spoolfile="$HOME/Mail/inbox" I have a few folder-hooks though, and they all point to subdirectories of $HOME/Mail/inbox. Your problem may be that your system is running on defaults of which you are unaware, and that you need to use ".muttrc" to specify a few locations. As I said, if you do not use "folder" to specify a base for your mail repository, Mutt assumes the base is $HOME/Mail. You need to read the Mutt manual (and possibly other sources) to familiarize yourself with the typical usage of the following directories, all of which, in your case, are in Mail: "mbox", "postponed", "record", "spoolfile", "tmpdir". Each has an intended use. And the path of each should specified with a "mailboxes" command. In particular, "spoolfile" no longer serves the purpose it once did. In modern Linux systems the Mail Transfer Agent (Exim4) commonly delivers system-level messages to "spoolfile"; and some system utilities expect the format of "spoolfile" to be Mbox rather than Maildir. I suggest that you add to ".muttrc" the line "mailboxes $HOME/Mail/inbox" and specify "inbox" as "Maildir". Also, if the Mutt configuration variable "move" is true, Mutt automatically transfers a message from "spoolfile" to the location specified by the Mutt configuration variable "mbox" once the message has been read; this reduces clutter in "spoolfile". Regrettably, Mutt uses for this location variable the same name used for the format "mbox"; this is a source of confusion.
Re: Inbox folder doesn't work anymore
On 2019-05-07 19:00, Luciano ES wrote: I pasted the output of ls -AR here: https://pastebin.com/DihPtit2 Nothing jumps out at me as obviously invalid MH format, but it's clearly been modified and reused at least a couple times. There's extra stuff that's not normally present in MH format. For one, it looks like you renamed maildir's subdirectories tmp, new, and cur to xtmp, xnew, and xcur, but left them there, in what is now used as an MH directory. There are still about 900 messages in xcur, which would be inaccessible to anything expecting either maildir or MH format. Mutt might be trying and failing to interpret those subdirectories as subfolders -- failing because they're not either maildir or MH format. I suggest that you try to start over, make a new clean folder. Use something high-level -- maybe Mutt -- to copy the messages into a new place and leave all the other stuff behind. Then rename directories to end up with the new clean folder having the same old pathname.
Re: Inbox folder doesn't work anymore
On Tue, 7 May 2019 22:12:35 +, Russell L. Harris wrote: > (1) The only maildirs or mboxes of which Mutt is aware are those which > are specified in .muttrc by the "mailboxes" command. > (2) The base of the maildir or mbox structure is specified by the > "folder" command. If I recall correctly, Mutt assumes "~/Mail" if no > base is specified. I don't have any 'mailboxes' command in my .muttrc file. Not at all. I have this: set spoolfile="$HOME/Mail/inbox" I have a few folder-hooks though, and they all point to subdirectories of $HOME/Mail/inbox. On Tue, 7 May 2019 17:29:39 -0400, Kurt Hackenberg wrote: > On 2019-05-07 17:11, Luciano ES wrote: > > > I don't remember how I converted it. It was a very long time ago. > > Oh. But the problem just started a day or two ago? Then two questions: > > Did something change just before the problem started? If so, what? > > And, maybe you could show us the contents of that directory? Say, the > output of "ls -AR". The problem started years ago. I asked for help in a generic *nix forum and nobody had a clue so I gave up. I am trying to sort it out for good this time around. I'm making progress. :-) I just want to get rid of that glitch in the command. I pasted the output of ls -AR here: https://pastebin.com/DihPtit2 -- Luciano ES >>
Re: Inbox folder doesn't work anymore
On Tue, May 07, 2019 at 12:08:14AM -0300, Luciano ES wrote: The problem is that the Inbox folder is empty. And it shouldn't be. I can inspect that directory say, with a file manager, and it's loaded with messages. Check two things: (1) The only maildirs or mboxes of which Mutt is aware are those which are specified in .muttrc by the "mailboxes" command. (2) The base of the maildir or mbox structure is specified by the "folder" command. If I recall correctly, Mutt assumes "~/Mail" if no base is specified.
Re: Inbox folder doesn't work anymore
On 2019-05-07 17:11, Luciano ES wrote: I don't remember how I converted it. It was a very long time ago. Oh. But the problem just started a day or two ago? Then two questions: Did something change just before the problem started? If so, what? And, maybe you could show us the contents of that directory? Say, the output of "ls -AR".
Re: Inbox folder doesn't work anymore
On Tue, 7 May 2019 16:28:59 -0400, Kurt Hackenberg wrote: > On 2019-05-07 15:21, Luciano ES wrote: > > > Why does mutt show files rather than browse folders on every first > > attempt? It doesn't make sense. > > Because when you converted your inbox from maildir to MH format, you > didn't do it right. That's my current guess, anyway. > > How did you convert it, exactly? I don't remember how I converted it. It was a very long time ago. I'm not even sure I converted it. Maybe I just started the whole Mail content with MH since I used claws before mutt. Or maybe I imported them from Kmail, which I used some 15 years ago. I do have mail as old as that. Claws-mail can only import mbox so maybe I used mbox. Or maybe I converted from maildir to mbox then imported the resulting file into claws-mail. I don't know really. -- Luciano ES >>
Re: Inbox folder doesn't work anymore
On 2019-05-07 15:21, Luciano ES wrote: Why does mutt show files rather than browse folders on every first attempt? It doesn't make sense. Because when you converted your inbox from maildir to MH format, you didn't do it right. That's my current guess, anyway. How did you convert it, exactly?
Re: Inbox folder doesn't work anymore
On 2019-05-07, Luciano ES wrote: > By the way, does mutt support Gmail boxes now? It didn't when I still > used it. Please note that I am stuck with mutt 1.7.2 which is what > Debian stable provides. Yes. Mutt's IMAP support works great with Gmail's IMAP server (and has for many years). -- Grant Edwards grant.b.edwardsYow! Either CONFESS now or at we go to "PEOPLE'S COURT"!! gmail.com
Re: Inbox folder doesn't work anymore
On Tue, 7 May 2019 13:43:22 -0400, Kurt Hackenberg wrote: > On 2019-05-07 12:13, Luciano ES wrote: > > >> Does the Inbox folder contain the standard maildir style > >> directories: cur, new, tmp ? Unread messages should be inside > >> 'new', read messages inside 'cur'. > >> > > > > Hi. There used to be cur, new, tmp. There shouldn't be because it is > > all MH. So I decided to delete them. Only Inbox had them. Sure > > enough, now mutt can see the contents of Inbox. > > An MH folder is a directory containing a file for each message; the > filenames are numbers. There's also, optionally, a file named > ".mh_sequences" that contains one or two message attributes > ("unseen", and Mutt adds "replied"), plus user-specified groupings of > messages. I believe Mutt will not recognize this as an MH folder if > the file .mh_sequences is absent. So that might be part of your > problem. > > But maildir would probably be a better choice for your main inbox. > Maildir does random access, concurrent access, and spooling of > incoming messages. MH format does only random access. When you use MH > format for your inbox, how is new incoming mail delivered? I just poll pop3 boxes directly, mostly Gmail. I don't use procmail or anything like that. By the way, does mutt support Gmail boxes now? It didn't when I still used it. Please note that I am stuck with mutt 1.7.2 which is what Debian stable provides. I love maildir, but the problem with maildir is that even if I go back to mutt, I want to have something to fall back on if I have to. I am going to need some time to relearn how to properly configure mutt so it's nice and sweet again. The only MUA I can stand besides mutt is claws-mail, which does not support maildir. There used to be a plugin, but it is discontinued. Since mutt supports MH, I guess I had better just stay put in relation to that. I'm just insecure about the whole thing because it's behaving strangely. Why does mutt show files rather than browse folders on every first attempt? It doesn't make sense. Thank you for your assistance. -- Luciano ES >>
Re: Inbox folder doesn't work anymore
On 2019-05-07 12:13, Luciano ES wrote: Does the Inbox folder contain the standard maildir style directories: cur, new, tmp ? Unread messages should be inside 'new', read messages inside 'cur'. Hi. There used to be cur, new, tmp. There shouldn't be because it is all MH. So I decided to delete them. Only Inbox had them. Sure enough, now mutt can see the contents of Inbox. An MH folder is a directory containing a file for each message; the filenames are numbers. There's also, optionally, a file named ".mh_sequences" that contains one or two message attributes ("unseen", and Mutt adds "replied"), plus user-specified groupings of messages. I believe Mutt will not recognize this as an MH folder if the file .mh_sequences is absent. So that might be part of your problem. But maildir would probably be a better choice for your main inbox. Maildir does random access, concurrent access, and spooling of incoming messages. MH format does only random access. When you use MH format for your inbox, how is new incoming mail delivered?
Re: Inbox folder doesn't work anymore
On Mon, 6 May 2019 22:23:39 -0500, Jason wrote: > On Tue, May 07, 2019 at 12:08:14AM -0300, Luciano ES wrote: > > > > Then I tried to use it again, but it didn't quite work anymore. > > > > The problem is that the Inbox folder is empty. And it shouldn't be. > > I can inspect that directory say, with a file manager, and it's > > loaded with messages. In fact, I can view them all in claws-mail, > > the MUA I've been using since I had that problem. Mutt can't see > > them. Mutt always shows me an empty Inbox folder. > > > > It's just the Inbox folder. I can switch to any other folder and > > view all of their contents. Old and recent messages (received > > through claws-mail) are all there, not one is missing. Mutt can > > display them. It just can't see anything inside Inbox. > > >> > Does the Inbox folder contain the standard maildir style directories: > cur, new, tmp ? Unread messages should be inside 'new', read messages > inside 'cur'. > Hi. There used to be cur, new, tmp. There shouldn't be because it is all MH. So I decided to delete them. Only Inbox had them. Sure enough, now mutt can see the contents of Inbox. When I brought those folders back (I didn't delete them, I moved them) the Inbox would look empty again. So I moved them out again, and mutt could see the contents of Inbox again. But something strange has happened. When I pressed the key to change folder, mutt would show me a list of the files inside Inbox, including many messages but shown as files, all named after numbers. I couldn't open them. Then I would press the key to exit and mutt would exit altogether. That was yesterday, after I sent a message to this mailing list. Today, the behavior is a little different. I press the key to change folder and I get that strange file list. But now I exit and I just exit that screen and go back to the Inbox, and then the Inbox looks normal and I can browse and open messages. Then I press the key to change folder and I can browse them normally again. I have repeated the test and many times and I can confirm that pressing the key to change folder always gives me the weird file list on the first time, then I exit that screen and the 'change folder' key will show the folders normally again. Does that make sense? I believe something is broken, but I have no idea what. -- Luciano ES >>
Re: Inbox folder doesn't work anymore
On Tue, May 07, 2019 at 12:08:14AM -0300, Luciano ES wrote: > > Then I tried to use it again, but it didn't quite work anymore. > > The problem is that the Inbox folder is empty. And it shouldn't be. > I can inspect that directory say, with a file manager, and it's loaded > with messages. In fact, I can view them all in claws-mail, the MUA > I've been using since I had that problem. Mutt can't see them. Mutt > always shows me an empty Inbox folder. > > It's just the Inbox folder. I can switch to any other folder and view > all of their contents. Old and recent messages (received through > claws-mail) are all there, not one is missing. Mutt can display them. > It just can't see anything inside Inbox. > >> Does the Inbox folder contain the standard maildir style directories: cur, new, tmp ? Unread messages should be inside 'new', read messages inside 'cur'. -- Jason
Inbox folder doesn't work anymore
This is a very old problem. I used mutt a long time ago. I loved it. Then I stopped using it for a short while for some reason I can't even remember. Then I tried to use it again, but it didn't quite work anymore. The problem is that the Inbox folder is empty. And it shouldn't be. I can inspect that directory say, with a file manager, and it's loaded with messages. In fact, I can view them all in claws-mail, the MUA I've been using since I had that problem. Mutt can't see them. Mutt always shows me an empty Inbox folder. It's just the Inbox folder. I can switch to any other folder and view all of their contents. Old and recent messages (received through claws-mail) are all there, not one is missing. Mutt can display them. It just can't see anything inside Inbox. I would love to use mutt again, but I can't with that problem. Does anyone here have any clue about why that happens? Thanks a lot for any help. -- Luciano ES >>