Hi,
I have installed Neomutt on Arch Linux using Luke Smith's Mutt-Wizard.
It's working fine. I am storing all my emails in my local laptop's ~/.config/mutt/accounts folder which is mentioned in my .muttrc file.
But I have thousands of emails. And very soon there will be some space problem. So I wanted to change the location of storing the mails. I
intend to store them on an external hard disk. But when I write the
location of external disk in my .muttrc, Neomutt gives me error as
"Cannot execute .muttrc file".
Is there any way to config this?
Please help.
Jaydip C <chalao.adda@gmail.com> wrote:
Hi,I think you must have some sort of misconfiguration of where things
I have installed Neomutt on Arch Linux using Luke Smith's Mutt-Wizard.
It's working fine. I am storing all my emails in my local laptop's
~/.config/mutt/accounts folder which is mentioned in my .muttrc file.
But I have thousands of emails. And very soon there will be some space
problem. So I wanted to change the location of storing the mails. I
intend to store them on an external hard disk. But when I write the
location of external disk in my .muttrc, Neomutt gives me error as
"Cannot execute .muttrc file".
Is there any way to config this?
Please help.
are. It should be quite easy to do what you want.
What hve you actually put in your .muttrc file? You could post the
whole thing here, less passwords and anything else private of course.
This newsgroup is pretty quiet by the way, the mutt mailing list is
much more active.
On 27/07/21 7:49 pm, Chris Green wrote:
Jaydip C <chalao.adda@gmail.com> wrote:
Hi,I think you must have some sort of misconfiguration of where things
I have installed Neomutt on Arch Linux using Luke Smith's Mutt-Wizard.
It's working fine. I am storing all my emails in my local laptop's
~/.config/mutt/accounts folder which is mentioned in my .muttrc file.
But I have thousands of emails. And very soon there will be some space
problem. So I wanted to change the location of storing the mails. I
intend to store them on an external hard disk. But when I write the
location of external disk in my .muttrc, Neomutt gives me error as
"Cannot execute .muttrc file".
Is there any way to config this?
Please help.
are. It should be quite easy to do what you want.
What hve you actually put in your .muttrc file? You could post the
whole thing here, less passwords and anything else private of course.
This newsgroup is pretty quiet by the way, the mutt mailing list is
much more active.
Thanks for your reply.
I have some cloud drives, like Google, NextCloud, Mega etc. I configured Rclone to automount them in home directory. I created a directory "Mutt"
in my "NextCloud" directory.
Now in my gmx muttrc, which is sourced from original
~/.config/mutt/muttrc, in place of 'set folder = "~/.local/share/mail/joy_deep@gmx.com"', I put 'set folder = "~/NextCloud/Mutt/joy_deep@gmx.com"'. But then when I started Neomutt,
it says, "Cannot source joy_deep@gmx.com.muttrc from muttrc". Then it
asked if it should create the necessary directories. When I typed "Yes",
it created all the mailboxes except Inbox. And I cannot see any emails
in any mail folders.
I know I am missing something.
Also how do I access mutt mailing list?
On 27/07/21 7:49 pm, Chris Green wrote:
Jaydip C <chalao.adda@gmail.com> wrote:
Hi,I think you must have some sort of misconfiguration of where things
I have installed Neomutt on Arch Linux using Luke Smith's Mutt-Wizard.
It's working fine. I am storing all my emails in my local laptop's
~/.config/mutt/accounts folder which is mentioned in my .muttrc file.
But I have thousands of emails. And very soon there will be some space
problem. So I wanted to change the location of storing the mails. I
intend to store them on an external hard disk. But when I write the
location of external disk in my .muttrc, Neomutt gives me error as
"Cannot execute .muttrc file".
Is there any way to config this?
Please help.
are. It should be quite easy to do what you want.
What hve you actually put in your .muttrc file? You could post the
whole thing here, less passwords and anything else private of course.
This newsgroup is pretty quiet by the way, the mutt mailing list is
much more active.
Thanks for your reply.
I have some cloud drives, like Google, NextCloud, Mega etc. I
configured Rclone to automount them in home directory. I created a
directory "Mutt" in my "NextCloud" directory.
Now in my gmx muttrc, which is sourced from original
~/.config/mutt/muttrc, in place of 'set folder = "~/.local/share/mail/joy_deep@gmx.com"', I put 'set folder = "~/NextCloud/Mutt/joy_deep@gmx.com"'. But then when I started Neomutt,
it says, "Cannot source joy_deep@gmx.com.muttrc from muttrc". Then it
asked if it should create the necessary directories. When I typed
"Yes", it created all the mailboxes except Inbox. And I cannot see any
emails in any mail folders.
I know I am missing something.
Jaydip C <chalao.adda@gmail.com> writes:
On 27/07/21 7:49 pm, Chris Green wrote:
Jaydip C <chalao.adda@gmail.com> wrote:Thanks for your reply.
Hi,I think you must have some sort of misconfiguration of where things
I have installed Neomutt on Arch Linux using Luke Smith's
Mutt-Wizard.
It's working fine. I am storing all my emails in my local laptop's
~/.config/mutt/accounts folder which is mentioned in my .muttrc file.
But I have thousands of emails. And very soon there will be some
space problem. So I wanted to change the location of storing the
mails. I intend to store them on an external hard disk. But when I
write the location of external disk in my .muttrc, Neomutt gives me
error as "Cannot execute .muttrc file".
Is there any way to config this?
Please help.
are. It should be quite easy to do what you want.
What hve you actually put in your .muttrc file? You could post the
whole thing here, less passwords and anything else private of course.
This newsgroup is pretty quiet by the way, the mutt mailing list is
much more active.
I have some cloud drives, like Google, NextCloud, Mega etc. I
configured Rclone to automount them in home directory. I created a
directory "Mutt" in my "NextCloud" directory.
Now in my gmx muttrc, which is sourced from original
~/.config/mutt/muttrc, in place of 'set folder =
"~/.local/share/mail/joy_deep@gmx.com"', I put 'set folder =
"~/NextCloud/Mutt/joy_deep@gmx.com"'. But then when I started Neomutt,
it says, "Cannot source joy_deep@gmx.com.muttrc from muttrc". Then it
asked if it should create the necessary directories. When I typed
"Yes", it created all the mailboxes except Inbox. And I cannot see any
emails in any mail folders.
I know I am missing something.
Your excerpts from your .muttrc file are line-wrapped, which makes it difficult to tell exactly what you really have in the file. And you've
shown us only the excerpts that you assume are relevant -- but as you
say, you don't know what the problem is.
If you don't want to share your .muttrc file (and anything it sources), perhaps you can reduce it to a smaller version that reproduces the
problem and show us that.
As Chris Green suggested, the first thing to do is to verify that you
can access ~/NextCloud/Mutt/joy_deep@gmx.com from your shell:
ls -l ~/NextCloud/Mutt/joy_deep@gmx.com
If there's a problem with that file, I'd expect a more specific error
message than "Cannot source ..." from mutt. You apparently have a
"source" command in your .muttrc. Mutt isn't complaining about
~/NextCloud/Mutt/joy_deep@gmx.com
It's complaining about
joy_deep@gmx.com.muttrc
My guess is that you have a syntax error somwhere in your .muttrc or in something it refers to.
The string "Cannot source" does not occur anywhere in the current
neomutt source code, and there are no occurrences of "Cannot" that are
not followed by something other than "source". In other words, I don't
see how neomutt could have produced that message. Are you sure that's *exactly* what it printed? If you want to show us an error message, copy-and-paste it, don't re-type it.
I presume that your ~/NextCloud directory is actually a separate file
system. If it's not, if it's just synchronized with NextCloud, then
it's going to take up just as much space on your local file system.
Another solution would be to leave your .muttrc alone and make the
folder directory a symbolic link. But that's not going to help with the problem you're reporting.
Jaydip C <chalao.adda@gmail.com> wrote:
On 27/07/21 7:49 pm, Chris Green wrote:
Jaydip C <chalao.adda@gmail.com> wrote:Thanks for your reply.
Hi,I think you must have some sort of misconfiguration of where things
I have installed Neomutt on Arch Linux using Luke Smith's
Mutt-Wizard.
It's working fine. I am storing all my emails in my local laptop's
~/.config/mutt/accounts folder which is mentioned in my .muttrc
file. But I have thousands of emails. And very soon there will be
some space problem. So I wanted to change the location of storing
the mails. I intend to store them on an external hard disk. But when
I write the location of external disk in my .muttrc, Neomutt gives
me error as "Cannot execute .muttrc file".
Is there any way to config this?
Please help.
are. It should be quite easy to do what you want.
What hve you actually put in your .muttrc file? You could post the
whole thing here, less passwords and anything else private of course.
This newsgroup is pretty quiet by the way, the mutt mailing list is
much more active.
I have some cloud drives, like Google, NextCloud, Mega etc. I
configured Rclone to automount them in home directory. I created a
directory "Mutt"
in my "NextCloud" directory.
Now in my gmx muttrc, which is sourced from original
~/.config/mutt/muttrc, in place of 'set folder =
"~/.local/share/mail/joy_deep@gmx.com"', I put 'set folder =
"~/NextCloud/Mutt/joy_deep@gmx.com"'. But then when I started Neomutt,
it says, "Cannot source joy_deep@gmx.com.muttrc from muttrc". Then it
That says to me that, for whatever reason, the file either doesn't exist
or isn't visible to mutt. If you exit mutt and do:-
ls -l ~/NextCloud/Mutt/joy_deep@gmx.comk
what do you see? I wonder if the @ in the file name is causing the
problem?
asked if it should create the necessary directories. When I typedGo to mutt.org and scroll down to the link for 'Mailing Lists', on the
"Yes",
it created all the mailboxes except Inbox. And I cannot see any emails
in any mail folders.
I know I am missing something.
Also how do I access mutt mailing list?
page that takes you to there are links to subscribe, etc. You want the mutt_users mailing list.
That says to me that, for whatever reason, the file either doesn't exist
or isn't visible to mutt. If you exit mutt and do:-
ls -l ~/NextCloud/Mutt/joy_deep@gmx.comk
what do you see? I wonder if the @ in the file name is causing the problem?
You are right. I don't see anything there.
ls -l ~/NextCloud/Mutt/
total 0
So what needs to be changed?
Jaydip C <chalao.adda@gmail.com> wrote:
[snip]
That says to me that, for whatever reason, the file either doesn't
exist or isn't visible to mutt. If you exit mutt and do:-
ls -l ~/NextCloud/Mutt/joy_deep@gmx.comk
what do you see? I wonder if the @ in the file name is causing the
problem?
That's nothing to do with mutt or your muttrc.
You are right. I don't see anything there.
ls -l ~/NextCloud/Mutt/
total 0
So what needs to be changed?
If you can't see the file joy_deep@gmx.comk from the command line then
mutt isn't going to be able to see it either.
I still think that @ sign may be an issue. Also are there any case sensitivity issues there?
Did you just edit the file joy_deep@gmx.comk locally and then copy it to
the remote storage or what exactly? Try creating a file with no special characters in the name (my standard test file name is "fred") and, if
that works in terms of being able to see it then work slowly from that
simple name to the one you are trying and see what breaks things.
On Wed, 28 Jul 2021 09:10:30 +0100, Chris Green wrote:
Jaydip C <chalao.adda@gmail.com> wrote:
[snip]
That says to me that, for whatever reason, the file either doesn't
exist or isn't visible to mutt. If you exit mutt and do:-
ls -l ~/NextCloud/Mutt/joy_deep@gmx.comk
what do you see? I wonder if the @ in the file name is causing the
problem?
That's nothing to do with mutt or your muttrc.
You are right. I don't see anything there.
ls -l ~/NextCloud/Mutt/
total 0
So what needs to be changed?
If you can't see the file joy_deep@gmx.comk from the command line then
mutt isn't going to be able to see it either.
I still think that @ sign may be an issue. Also are there any case sensitivity issues there?
Did you just edit the file joy_deep@gmx.comk locally and then copy it to the remote storage or what exactly? Try creating a file with no special characters in the name (my standard test file name is "fred") and, if
that works in terms of being able to see it then work slowly from that simple name to the one you are trying and see what breaks things.
As suggested, I changed the folder name from joy_deep@gmx.com to gmx. I
also created the folder gmx in ~/NextCloud/Mutt/ directory. now when I run mbsync -a, I get error "Maildir error: cannot read UIDVALIDITY". Also it gives me error "Error: channel joy_deep@gmx.com: near side box INBOX
cannot be opened". That error is there for all the mail folders. Although,
I found all the direcotories have been created. But when I start Neomutt,
I don't see any emails in the Inbox.
Jaydip C <chalao.adda@gmail.com> wrote:
On Wed, 28 Jul 2021 09:10:30 +0100, Chris Green wrote:You are getting farther and farther from mutt problems! :-)
Jaydip C <chalao.adda@gmail.com> wrote:
[snip]
That says to me that, for whatever reason, the file either doesn't
exist or isn't visible to mutt. If you exit mutt and do:-
ls -l ~/NextCloud/Mutt/joy_deep@gmx.comk
what do you see? I wonder if the @ in the file name is causing
the problem?
That's nothing to do with mutt or your muttrc.
You are right. I don't see anything there.
ls -l ~/NextCloud/Mutt/
total 0
So what needs to be changed?
If you can't see the file joy_deep@gmx.comk from the command line
then mutt isn't going to be able to see it either.
I still think that @ sign may be an issue. Also are there any case
sensitivity issues there?
Did you just edit the file joy_deep@gmx.comk locally and then copy it
to the remote storage or what exactly? Try creating a file with no
special characters in the name (my standard test file name is "fred")
and, if that works in terms of being able to see it then work slowly
from that simple name to the one you are trying and see what breaks
things.
As suggested, I changed the folder name from joy_deep@gmx.com to gmx. I
also created the folder gmx in ~/NextCloud/Mutt/ directory. now when I
run mbsync -a, I get error "Maildir error: cannot read UIDVALIDITY".
Also it gives me error "Error: channel joy_deep@gmx.com: near side box
INBOX cannot be opened". That error is there for all the mail folders.
Although,
I found all the direcotories have been created. But when I start
Neomutt, I don't see any emails in the Inbox.
When using maildir remember that many systems create *all* their
maildirs in one directory with the 'folder' names being part of very
long directory names separated by dots.
E.g. if you have maildir mailboxes in sub-folders of a directory called
root what you will actually see is directories as follows:-
root.folder1 root.folder2 root.folder3.sub-folder3
Then, inside these directories are the cur, new and tmp directories that
make up a maildir mailbox. Trying to manage this sort of thing across
an interface to cloud storage can be fraught with difficulties.
The error about "... near side box INBOX cannot be opened" sounds like
it's talking about imap4, yet another can of worms IMHO.
I think you need to try and simplify what you are doing and work your
way up to what you want.
Now I can see all the mailboxes in neomutt. I don't see any mails in them.
So I guess my .muttrc file is okay.
Whenever I issue command 'mbsync -a', I get error
Maildir error: cannot read UIDVALIDITY.
Error: channel joy_deep@gmx.com: near side box INBOX cannot be opened.
So here is my .mbsyncrc file. Please have a look and suggest if it's okay.
Jaydip C <chalao.adda@gmail.com> wrote:
I know nothing about mbsync, you need to ask elsewhere, start at:-
Now I can see all the mailboxes in neomutt. I don't see any mails in
them.
So I guess my .muttrc file is okay.
Whenever I issue command 'mbsync -a', I get error
Maildir error: cannot read UIDVALIDITY.
Error: channel joy_deep@gmx.com: near side box INBOX cannot be opened.
So here is my .mbsyncrc file. Please have a look and suggest if it's
okay.
https://isync.sourceforge.io/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 237:12:40 |
Calls: | 6,624 |
Files: | 12,172 |
Messages: | 5,319,873 |