View previous topic :: View next topic |
Author |
Message |
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Thu Jul 11, 2002 11:44 pm Post subject: Maildir ~/.maildir is not a maildir |
|
|
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 |
|
|
kipper Tux's lil' helper
Joined: 20 Apr 2002 Posts: 112
|
Posted: Fri Jul 12, 2002 12:54 pm Post subject: |
|
|
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 |
|
|
Lyquid n00b
Joined: 25 Jul 2002 Posts: 24 Location: South Lyon, MI
|
Posted: Sun Aug 11, 2002 8:37 am Post subject: |
|
|
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 |
|
|
Echo5ive n00b
Joined: 03 Jul 2002 Posts: 35
|
Posted: Sun Aug 11, 2002 2:29 pm Post subject: |
|
|
Create three directories called "cur", "new" and "tmp" in the .maildir folder. Now it's a maildir. |
|
Back to top |
|
|
Lyquid n00b
Joined: 25 Jul 2002 Posts: 24 Location: South Lyon, MI
|
Posted: Sun Aug 11, 2002 2:50 pm Post subject: |
|
|
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 |
|
|
Lyquid n00b
Joined: 25 Jul 2002 Posts: 24 Location: South Lyon, MI
|
Posted: Sun Aug 11, 2002 10:27 pm Post subject: |
|
|
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 |
|
|
grakker Tux's lil' helper
Joined: 17 Apr 2002 Posts: 100
|
Posted: Sun Aug 11, 2002 10:37 pm Post subject: |
|
|
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 |
|
|
Lyquid n00b
Joined: 25 Jul 2002 Posts: 24 Location: South Lyon, MI
|
Posted: Tue Aug 13, 2002 12:50 pm Post subject: |
|
|
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 |
|
|
grakker Tux's lil' helper
Joined: 17 Apr 2002 Posts: 100
|
Posted: Tue Aug 13, 2002 3:30 pm Post subject: |
|
|
Happy to have helped. |
|
Back to top |
|
|
wudmx Guru
Joined: 07 Aug 2002 Posts: 527
|
Posted: Tue Aug 13, 2002 3:50 pm Post subject: |
|
|
next time i should read the desktopguide earlier...
now mutt works on my box too...
thx |
|
Back to top |
|
|
danielrm26 Tux's lil' helper
Joined: 18 Apr 2002 Posts: 92
|
Posted: Wed Apr 30, 2003 9:08 am Post subject: Still not working... |
|
|
Edit:
Ok, got it taken care of...had to upgrade my packages and restart postfix.
Thanks. _________________ dmiessler.com -- grep understanding knowledge |
|
Back to top |
|
|
|