View previous topic :: View next topic |
Author |
Message |
wol Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Jun 2002 Posts: 107
|
Posted: Tue Jan 07, 2003 9:13 pm Post subject: Wrong mutt maildirectory |
|
|
Installing 1.4rc2, following Desktop Configuration Guide.
postfix delivers mail to /root/.maildir but
mutt wants to look in /var/mail/root
mutt seems to ignore anything I put in a /root/.muttrc
I can set a softlink in /var/mail, but I seem to be missing something
obvious in the mutt setup. Any suggestions?
TIA _________________ Intellectual dishonesty is a mortal sin. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rtn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Nov 2002 Posts: 427
|
Posted: Tue Jan 07, 2003 9:18 pm Post subject: |
|
|
You need to change your mbox type to maildir. Put this in your ~/.muttrc
or /etc/mutt/Muttrc:
Code: | set mbox_type=Maildir |
--rtn |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Tue Jan 07, 2003 11:27 pm Post subject: |
|
|
Moved from Installing Gentoo.
Forums front page wrote: | Installing Gentoo
If you've finished the install guide, look somewhere else. But if you're still working your way through it, or just need some info before you start your install, this is the place. |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jkcunningham l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 28 Apr 2003 Posts: 649 Location: 47.49N 121.79W
|
Posted: Mon May 05, 2003 6:36 pm Post subject: |
|
|
I know this is months old, but there's another solution that might help someone trying to troubleshoot by following this thread. I had this problem and could only resolve it be defining
MAIL environment variable in your .bashrc
Code: |
export MAIL=$HOME/.maildir
|
Apparently, mutt reads this variable and overrides what's in its config, and this variable can be set elsewhere to the spool path when you log on.
-Jeff |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dkaplowitz Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/58381571440539d1828d86.jpg)
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Wed Dec 17, 2003 2:58 pm Post subject: |
|
|
jkcunningham wrote: | I had this problem and could only resolve it be defining
MAIL environment variable in your .bashrc
Code: |
export MAIL=$HOME/.maildir
|
Apparently, mutt reads this variable and overrides what's in its config, and this variable can be set elsewhere to the spool path when you log on.
-Jeff |
I used the export command above to change the $MAIL variable, but whenever I load mutt, it complains that my /home/username/.maildir/ is not a mailbox . I've not set up fetchmail and procmail yet, but I don't think this problem is related to that.
For some reason I put maildir in my USE flags when I set the machine up. I thought I'd need it, but I'm not sure if I do. Now I can't really figure out how to get mutt to work, and will likely have issues setting up procmail.
Is there something obvious I'm missing?
Thanks,
Dave _________________ http://dkap.info |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jkcunningham l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 28 Apr 2003 Posts: 649 Location: 47.49N 121.79W
|
Posted: Thu Dec 18, 2003 2:45 am Post subject: |
|
|
Having maildir in your use flags enables the ability, it doesn't affect other abilities. You can get that error message if mutt is expecting a mailbox in a different format. What is your mbox_type set to in .muttrc?
-Jeff |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dkaplowitz Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/58381571440539d1828d86.jpg)
Joined: 22 Nov 2003 Posts: 596 Location: Philadelphia, PA
|
Posted: Fri Dec 19, 2003 11:46 am Post subject: |
|
|
jkcunningham wrote: | Having maildir in your use flags enables the ability, it doesn't affect other abilities. You can get that error message if mutt is expecting a mailbox in a different format. What is your mbox_type set to in .muttrc?
-Jeff |
Code: |
set mbox_type=Maildir
set folder=~/.maildir
set spoolfile=~/.maildir/
set record=~/.maildir-sent/
unset mbox
set move=no
|
That's why I think it's odd that mutt is complaining. I've not played with it in a couple days though. This weekend I should get some more time to look at it.
Thanks for the reply.
Dave _________________ http://dkap.info |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|