Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wrong mutt maildirectory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wol
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2002
Posts: 107

PostPosted: Tue Jan 07, 2003 9:13 pm    Post subject: Wrong mutt maildirectory Reply with quote

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
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Tue Jan 07, 2003 9:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Tue Jan 07, 2003 11:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Mon May 05, 2003 6:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Wed Dec 17, 2003 2:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Thu Dec 18, 2003 2:45 am    Post subject: Reply with quote

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
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Fri Dec 19, 2003 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum