View previous topic :: View next topic |
Author |
Message |
exklusve Apprentice
Joined: 23 Aug 2002 Posts: 270 Location: currently ~/
|
Posted: Wed Jan 29, 2003 8:54 pm Post subject: Postfix issues. "not a mailbox errors" |
|
|
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 |
|
|
vicay Tux's lil' helper
Joined: 29 Apr 2002 Posts: 97 Location: Dresden, Germany
|
Posted: Wed Jan 29, 2003 11:41 pm Post subject: Re: Postfix issues. "not a mailbox errors" |
|
|
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 |
|
|
exklusve Apprentice
Joined: 23 Aug 2002 Posts: 270 Location: currently ~/
|
Posted: Wed Jan 29, 2003 11:46 pm Post subject: |
|
|
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.
thanx for your help dudes! _________________ eXklusve
You do know that no one gives a shit about your system spec's right? |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Jan 30, 2003 1:20 am Post subject: sendmail and MTA's |
|
|
exklusve wrote: |
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 |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Mon Feb 17, 2003 6:00 pm Post subject: |
|
|
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 |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Mon Feb 17, 2003 8:24 pm Post subject: |
|
|
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 |
|
|
NineMinuteNap n00b
Joined: 22 Jan 2003 Posts: 9 Location: Vancouver, WA
|
Posted: Mon Feb 17, 2003 9:12 pm Post subject: |
|
|
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 |
|
|
|