Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th February 2013, 15:56
mantonio mantonio is offline
Junior Member
 
Join Date: Feb 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Courier-Imap: Thunderbird does not see any folders

Hello,

in installed postfix with saslauth and courier-imap on my server to learn how to setup a mailserver. Postfix uses virtual accounts and reads all information from a database where every user account holds a 'home' and a 'maildir' field beside other required account information. For the 'maildir' field i initially used the value
Code:
example.com/username/
This resulted in all mail delivered in mbox format.
In the next step i changed this field to
Code:
example.com/username/Maildir/
The skeleton for this field was stored in /etc/skel and had the qmail structure
Code:
Maildir/
cur
new
tmp
This resulted in all mail delivered into the 'new' folder.

All mail was sent from the terminal for testing. At this point i began to involve Mozilla Thunderbird to send and retrieve all mail. Connecting to the imap and smtp server works. I can send mail, but i cannot fetch it. The client connects and then immediately disconnects. I watch this process from the terminal via
Code:
tail -f /path/to/log/mail.log
Since i don't receive any errors i suppose the problem to be within the folder structure. I searched the web, read several tutorials, but cannot get it to work. I read about an INBOX folder being required and the folders .Sent, .Junk, .Trash and so on. But it is nowhere clearly stated, which of them MUST exist and in what kind they relate to the INBOX folder. So i tried several ways.
Code:
example.com/username/Maildir/
INBOX
   cur
   new
   tmp
cur
new
tmp
Code:
example.com/username/Maildir/
.Junk
   cur
   new
   tmp
.Sent
   cur
   new
   tmp
.Trash
   cur
   new
   tmp
INBOX
   cur
   new
   tmp
cur
new
tmp
For the next try i changed the maildir field in the database to
Code:
example.com/username/INBOX/
Code:
example.com/username/INBOX/
.Junk
   cur
   new
   tmp
.Sent
   cur
   new
   tmp
.Trash
   cur
   new
   tmp
cur
new
tmp
None of these works.

Now my questions are:

1. How do the INBOX folder and all the dot-folders (.Junk, .Sent, .Trash ....) belong together?

2. How must the folder structure beginning from 'example.com/username/' look like?

3. Is is correct, that the whole path to the mailboxes beginning from the root is owned by the mail user vmail:vmail and chmodded 700? I wonder if the user trying to log in and read / write to the mailbox might have not enough rights.

4. Is there a way to track where the client is looking for the folders? Maybe it is looking at a completely different location.
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2013, 18:35
mantonio mantonio is offline
Junior Member
 
Join Date: Feb 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Really nobody who can help?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Courier folders on iPad? ansabhailte Server Operation 1 21st September 2012 14:19
Imap folders missing after changing mail servers - Dovecot Problem asiri85 Server Operation 1 22nd February 2011 08:09
ISPConfig3 IMAP folders Location mybizsoft General 2 28th May 2010 13:00
ispconfig3 imap thunderbird and new mail folders Doug G General 3 28th May 2009 05:36
create sent/junk/trash folders for IMAP? crashtd Installation/Configuration 2 20th June 2007 16:00


All times are GMT +2. The time now is 06:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.