Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix issues. "not a mailbox errors"
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
exklusve
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 270
Location: currently ~/

PostPosted: Wed Jan 29, 2003 8:54 pm    Post subject: Postfix issues. "not a mailbox errors" Reply with quote

After installing Mutt and Postfix from the gentoo documentation, when i start mutt, it asks me if I want to create the mail directory, I do, then it gives me the error,
Code:
---Mutt: (no mailbox) [Msgs:0]---(date/date)--------------------------------------------------------------------------------(all)---
/root/.maildir/ is not a mailbox.


Anyone know what this is? or how i can fix this?

Thanks!

btw. i did this all as root.
thanx
_________________
eXklusve

You do know that no one gives a shit about your system spec's right?
Back to top
View user's profile Send private message
vicay
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2002
Posts: 97
Location: Dresden, Germany

PostPosted: Wed Jan 29, 2003 11:41 pm    Post subject: Re: Postfix issues. "not a mailbox errors" Reply with quote

exklusve wrote:
After installing Mutt and Postfix from the gentoo documentation, when i start mutt, it asks me if I want to create the mail directory, I do, then it gives me the error,
Code:
---Mutt: (no mailbox) [Msgs:0]---(date/date)--------------------------------------------------------------------------------(all)---
/root/.maildir/ is not a mailbox.


Anyone know what this is? or how i can fix this?

Thanks!

btw. i did this all as root.
thanx


Hello,

first you have to chose, where Postfix should store mailbox data
and if you want to store in mbox or maildir format.
if you chose to use a mailbox within a users homedirectory,
you should edit your postfix main.cf

Code:


# for a mbox style mailbox in the users homedir called mbox
home_mailbox = mbox
# for a maildir style mailbox called maildir (note the trailing slash)
home_mailbox = maildir/



postfix reload should be enough to apply your changes.
Next you should inform your mutt where the mailbox resides
and what type it is in the .muttrc file, like:

Code:


set spoolfile = ~/maildir mbox_type=maildir



Maybe this helps :-)

vicay
Back to top
View user's profile Send private message
exklusve
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 270
Location: currently ~/

PostPosted: Wed Jan 29, 2003 11:46 pm    Post subject: Reply with quote

8)
I reemerged everything and it worked.
but what i also found was that sendmail was running in TOP. i dont know why, i did have that installed but i un-emerged it, and had a few reboots sence then. i dont know why that was?
but its working now. but just for root. i can send an email to root, and see it in mutt. but not any other users. i guess when one problem is fixed its just another. :evil:

thanx for your help dudes!
_________________
eXklusve

You do know that no one gives a shit about your system spec's right?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Jan 30, 2003 1:20 am    Post subject: sendmail and MTA's Reply with quote

exklusve wrote:
8)
I reemerged everything and it worked.

but what i also found was that sendmail was running in TOP. i dont know why, i did have that installed but i un-emerged it, and had a few reboots sence then. i dont know why that was?


Lot's of Unix programs presuppose the existance of /usr/sbin/sendmail This caused all MTA's that don't want to break a significant portion of programs to install their own /usr/sbin/sendmail Since you installed Postfix it's a sendmail compatibility wrapper that basically calls postfix in the backend. You most likely saw Mutt calling /usr/sbin/sendmail to send mail.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
digitalnick
Apprentice
Apprentice


Joined: 30 Jun 2002
Posts: 243
Location: Lawrence KS USA

PostPosted: Mon Feb 17, 2003 6:00 pm    Post subject: Reply with quote

im having the same problem with mutt ... not a mail dir however my postfix main.cf file says to use .maildir

home_mailbox = .maildir/

im sure im overlooking something can anyone help?
Back to top
View user's profile Send private message
digitalnick
Apprentice
Apprentice


Joined: 30 Jun 2002
Posts: 243
Location: Lawrence KS USA

PostPosted: Mon Feb 17, 2003 8:24 pm    Post subject: Reply with quote

finally got it to recognize it as a mailbox just cd .maildir then mkdir tmp new cur that should fix anyone elses problems
Back to top
View user's profile Send private message
NineMinuteNap
n00b
n00b


Joined: 22 Jan 2003
Posts: 9
Location: Vancouver, WA

PostPosted: Mon Feb 17, 2003 9:12 pm    Post subject: Reply with quote

digitalnick wrote:
finally got it to recognize it as a mailbox just cd .maildir then mkdir tmp new cur that should fix anyone elses problems


You could also use the 'maildirmake' command. In addition to making the cur, tmp and new directories, it has some other options for setting maildir quotas and setting maildir mode.
_________________
Tomorrow I was nothing.
Yesterday I'll be.
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