Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
-ERR Maildir invalid (no 'cur' directory) while telnet-ing
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
ahuacatlan
n00b
n00b


Joined: 29 Dec 2008
Posts: 74

PostPosted: Sun Jan 04, 2009 2:28 pm    Post subject: -ERR Maildir invalid (no 'cur' directory) while telnet-ing Reply with quote

I'm trying to test out my recently setup postfix/courier mail setup.

(using this guide: http://74.125.95.132/search?q=cache:FH2XlaJCYVUJ:test.gentoo-wiki.com/Complete_Virtual_Mail_Server/Courier-IMAP_and_Authentication_Services+http://test.gentoo-wiki.com/Complete_Virtual_Mail_Server/Courier-IMAP_and_Authentication_Services&hl=en&ct=clnk&cd=1&gl=us&client=safari)

This is what is happening:
Code:
# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user sometestuser
+OK Password required.
Pass mypasswordhere
-ERR Maildir invalid (no 'cur' directory)
Connection closed by foreign host.
#


Does anyone know what I can do about this?
Back to top
View user's profile Send private message
Gef
Apprentice
Apprentice


Joined: 17 May 2008
Posts: 180
Location: France

PostPosted: Sun Jan 04, 2009 4:33 pm    Post subject: Reply with quote

Your maildir should have a structure similar to this (afaik. My box runs vpopmail) :
Code:

/RootDirForAllMaiDirs/
|
|--->user1/
|    |
|    `----->Maildir/
|               |
|               |----->cur/
|               |
|               `----->new/
|
`--->user2/


The server seems to complain about the lack of "cur" dir.
_________________
Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64
Back to top
View user's profile Send private message
ahuacatlan
n00b
n00b


Joined: 29 Dec 2008
Posts: 74

PostPosted: Sun Jan 04, 2009 10:11 pm    Post subject: Reply with quote

thanks.

should i manually create these directories if there is nothing in .maildir/ ?
or will they be created automatically when the user receives mail?
Back to top
View user's profile Send private message
ahuacatlan
n00b
n00b


Joined: 29 Dec 2008
Posts: 74

PostPosted: Sun Jan 04, 2009 10:56 pm    Post subject: Reply with quote

Ok,
I sent the testuser some mail and sure enough the directories were automatically created.

I no longer get an error when logging in through telnet
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