8 messages in net.sourceforge.lists.courier-usersRE: [courier-users] How point imapd t...
FromSent OnAttachments
Stefan KrugerOct 11, 2001 5:35 am 
Blake CrosbyOct 11, 2001 6:00 am 
Bill MichellOct 11, 2001 6:01 am 
Stefan KrugerOct 11, 2001 6:06 am 
Stefan KrugerOct 11, 2001 6:20 am 
Bill MichellOct 11, 2001 6:41 am 
Stefan KrugerOct 11, 2001 7:48 am 
Sam VarshavchikOct 12, 2001 6:25 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] How point imapd to right directory?Actions...
From:Blake Crosby (de@samurai.com)
Date:Oct 11, 2001 6:00:44 am
List:net.sourceforge.lists.courier-users

There are two main types of email storage methods.

1. mbox 2. Maildir

The default location for mbox files is /var/mail/username (where username is a FILE not a DIRECTORY). The default location for Maildir files is ~username/Maildir (where Maildir is a DIRECTORY not a FILE).

I think your problem is that your MTA (or is it MTU?) (postfix,sendmail, etc..) is delivering mail in mbox format, rather than maildir format.

Double check with your MTA/MTU to make sure that its delivering mail in maildir format.

Blake

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Stefan Kruger Sent: October 11, 2001 8:35 AM To: cour@lists.sourceforge.net Subject: [courier-users] How point imapd to right directory?

Hi all,

Firstly - I'm new to this game, so I apologise in advance if this is a newbie mistake.

I've spent the last few days playing with Courier-imap. I would appreciate if someone could help me, or point me in the right direction on the following issue. On my machine (FreeBSD 4.4) email is kept in the /var/mail/XXXX directory, where XXXX is the username (maildir). I've installed imapd, using PAM authentication, all which seems to work fine -- clients log in, authenticating successfully, according to the log.

However, I get the error message "Maildir: no such file or directory" back from the server, meaning that I have not set it up correctly with regards to telling imapd where to look for maildirs.

Reading through imapd.rc I noted that couriertcpd is started with the last argument being "${exec_prefix}/bin/imapd Maildir", so I tried changing that to "/var/mail", but that was not the correct solution.

I must be missing something obvious, but I can't see any configure option that specifies this, nor any setting in .../etc/imapd

So, in short, how do I tell imapd to find mailboxes in /var/mail?

Thanks in advance for any pointers,

stefan