Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Maildir ~/.maildir is not a maildir
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu Jul 11, 2002 11:44 pm    Post subject: Maildir ~/.maildir is not a maildir Reply with quote

So I'm following the Desktop guide, and set up postfix to send.
So far, so good. I send myself something - so far, so good.
I re-open mutt

root@host# mutt
and it says (across the bottom of the ui that opens)
"/root/.maildir is not a mailbox"
(I get this regardless of which user I am)
However, when I started mutt the first time, it asked me if I wanted to create ~/.maildir - why, if it creates it, is it not a maildir?

~Mac~
Back to top
View user's profile Send private message
kipper
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2002
Posts: 112

PostPosted: Fri Jul 12, 2002 12:54 pm    Post subject: Reply with quote

Did you type
#postfix start
before you ran mutt? With the postfix daemon running, .maildir should become assigned as a mailbox, if postfix is configured properly.


cheers,
kipper
Back to top
View user's profile Send private message
Lyquid
n00b
n00b


Joined: 25 Jul 2002
Posts: 24
Location: South Lyon, MI

PostPosted: Sun Aug 11, 2002 8:37 am    Post subject: Reply with quote

I am having the same problem as MacMasta. I am using the Gentoo Desktop Configuration Guide as a reference for setting up postfix. I encountered no errors during the setup, but I get the following error when I run mutt:

Code:

/root/.maildir is not a mailbox


Here is a snippet that I changed during setup in the /etc/postfix/main.cf

Code:

# RECEIVING MAIL

# The inet_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on.  By default,
# the software claims all active interfaces on the machine. The
# parameter also controls delivery of mail to user@[ip.address].
#
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
inet_interfaces = $ocean, localhost
mydestination = $ocean, localhost.$mydomain


Any ideas? Thanks!
Back to top
View user's profile Send private message
Echo5ive
n00b
n00b


Joined: 03 Jul 2002
Posts: 35

PostPosted: Sun Aug 11, 2002 2:29 pm    Post subject: Reply with quote

Create three directories called "cur", "new" and "tmp" in the .maildir folder. Now it's a maildir.
Back to top
View user's profile Send private message
Lyquid
n00b
n00b


Joined: 25 Jul 2002
Posts: 24
Location: South Lyon, MI

PostPosted: Sun Aug 11, 2002 2:50 pm    Post subject: Reply with quote

I have done that. Those directories are present under root. After typing in mailq, I have the following message:

Code:

bash-2.05a# hostname
ocean.mydomain.com
bash-2.05a# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
5909F198153      407 Sun Aug 11 03:42:45  root@ocean.mydomain.com
        (connect to ocean.mydomain.com[216.148.221.139]: Connection timed out)
                                         root@ocean.mydomain.com

84557198155      407 Sun Aug 11 03:56:45  root@ocean.mydomain.com
        (connect to ocean.mydomain.com[216.148.221.139]: Connection timed out)
                                         root@ocean.mydomain.com

-- 1 Kbytes in 2 Requests.
bash-2.05a#


It appears my problem is that the message was timed out...
Back to top
View user's profile Send private message
Lyquid
n00b
n00b


Joined: 25 Jul 2002
Posts: 24
Location: South Lyon, MI

PostPosted: Sun Aug 11, 2002 10:27 pm    Post subject: Reply with quote

If anyone can help, this is the ouput of my postconf -n

Code:

alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
home_mailbox = .maildir/
inet_interfaces = $ocean, localhost
local_destination_concurrency_limit = 2
mail_owner = postfix
mydestination = $ocean, localhost.$mydomain
queue_directory = /var/spool/postfix


Thanks.
Back to top
View user's profile Send private message
grakker
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 100

PostPosted: Sun Aug 11, 2002 10:37 pm    Post subject: Reply with quote

Lyquid wrote:
If anyone can help, this is the ouput of my postconf -n

Code:

[...snip...]
inet_interfaces = $ocean, localhost
[....snip...]
mydestination = $ocean, localhost.$mydomain


Thanks.


What the hell is $ocean? Did you set ocean=$myhostname or something so that you can call it via $ocean? I have
Code:
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain $mydomain
in my config, for what that helps.
Back to top
View user's profile Send private message
Lyquid
n00b
n00b


Joined: 25 Jul 2002
Posts: 24
Location: South Lyon, MI

PostPosted: Tue Aug 13, 2002 12:50 pm    Post subject: Reply with quote

Ah... I did try and name my computer "ocean", so I assumed I could use this name for the postfix setup. Well, I changed my naming convention back to your example above, and now everything works great. Thanks! :)
Back to top
View user's profile Send private message
grakker
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 100

PostPosted: Tue Aug 13, 2002 3:30 pm    Post subject: Reply with quote

Happy to have helped.
Back to top
View user's profile Send private message
wudmx
Guru
Guru


Joined: 07 Aug 2002
Posts: 527

PostPosted: Tue Aug 13, 2002 3:50 pm    Post subject: Reply with quote

next time i should read the desktopguide earlier...
now mutt works on my box too...
thx
Back to top
View user's profile Send private message
danielrm26
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 92

PostPosted: Wed Apr 30, 2003 9:08 am    Post subject: Still not working... Reply with quote

Edit:

Ok, got it taken care of...had to upgrade my packages and restart postfix.

Thanks.
_________________
dmiessler.com -- grep understanding knowledge
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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