Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix & mutt
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
jlawrence
n00b
n00b


Joined: 12 Apr 2004
Posts: 17
Location: Longview, TX

PostPosted: Wed Aug 25, 2004 8:42 pm    Post subject: postfix & mutt Reply with quote

I create a working install of postfix - I think, though I now have the problem that when i open mutt to test it, I get the message
Code:
/home/jlawrence/.maildir/ is not a mailbox

the DIR does exist...it just won't see it as a mail box. Any suggestions? Thanks in advance!
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Wed Aug 25, 2004 8:59 pm    Post subject: Reply with quote

That's because it isn't it mailbox it is a maildir. I think you need to tell mutt to read maildir instead. Can any maildir users confirm?
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
jlawrence
n00b
n00b


Joined: 12 Apr 2004
Posts: 17
Location: Longview, TX

PostPosted: Wed Aug 25, 2004 9:36 pm    Post subject: Reply with quote

Yes, all the other users confirm that they get the same message. How do I get mutt to read a maildir?
Back to top
View user's profile Send private message
PietjePuk66
n00b
n00b


Joined: 08 Mar 2004
Posts: 2

PostPosted: Wed Aug 25, 2004 10:37 pm    Post subject: Reply with quote

Does your maildir actually have something in it (you should have directories 'cur' and 'new' and such in it)? If not, check that your main.cf has 'home_mailbox = .maildir/' in it. You might need to send a test email to your account to create the proper dirs. Check that a file containing your message actually appears somewhere in your ~/.maildir tree.
If the postfix stuff seems ok, you should probably post your ~/.muttrc here. I think it should work by default (my muttrc doesn't have anything in it to tell mutt where to look for mail and it works). Mutt should automatically detect the mailbox format:

Quote:
> How will I change mutt settings to begin using maildir.

To read existing maildirs, no change necessary, mutt recognizes folder type automatically. If you want to make it create maildirs by default when creating new folders, rather than the default of mboxes, that would be

set mbox_type="Maildir"

in $HOME/.muttrc
Back to top
View user's profile Send private message
jlawrence
n00b
n00b


Joined: 12 Apr 2004
Posts: 17
Location: Longview, TX

PostPosted: Wed Aug 25, 2004 11:11 pm    Post subject: Reply with quote

Ok, my maildir has nothing in it, and it was created by mutt.

there is no file that exists as ~/.muttrc , though it seems that the config is in /etc/mutt/Muttrc That file looks like:
Code:
set mbox_type=Maildir
set folder=~/.maildir
set spoolfile=~/.maildir/
set record=~/.maildir-sent/
set move=no

set index_format="%4C %Z %{%b %d} %-16.16L  %s"


I tried sending a message to myself (my username is jlawrence) and it was
Code:
To: jlawrence


my host name is 'jonlawrence' so I also tried
Code:
To: jlawrence@jonlawrence
and still nothing.
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Thu Aug 26, 2004 12:36 am    Post subject: Re: postfix & mutt Reply with quote

jlawrence wrote:
I create a working install of postfix - I think, though I now have the problem that when i open mutt to test it, I get the message
Code:
/home/jlawrence/.maildir/ is not a mailbox

the DIR does exist...it just won't see it as a mail box. Any suggestions? Thanks in advance!


Once that user receives an email, that message will go away. I can
duplicate that problem with any account that has never recieved any mail
on a system with a known working MUA/MTA.

--rtn
Back to top
View user's profile Send private message
jlawrence
n00b
n00b


Joined: 12 Apr 2004
Posts: 17
Location: Longview, TX

PostPosted: Thu Aug 26, 2004 12:43 am    Post subject: Reply with quote

I think that I have narowed it down to the users aren't recieving the mail. I have set everything up from what I have seen, and still no luck....
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