X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: Error when attempting to start inetd
Date:  Wed, 15 Aug 2007 19:25:25 -0500
Lines: 52
Message-ID: <fa05hq$s79$1@sea.gmane.org>
References:  <2AD8CDD60A104CA98080FB4FE47C91CC@FAMILYROOM> <fa04oq$po6$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <fa04oq$po6$1@sea.gmane.org>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Ren=E9 Berber wrote:
> Michael Grand wrote:
>=20
>> Ren=E9 Berber wrote:
>>
>>> They have to be the same directory, thus the hardlink (man ln):
>>>
>>> ln /var/mail/spool /var/mail
>>>
>>> of course this has to be done after you delete the directory you create=
d.
>> /var/mail/spool does not exist.  Do you mean /var/spool ?
>=20
> No, I copied the paths in the wrong order, it should be:
>=20
> ln /var/mail /var/spool/mail

Wrong again, I have a soft link, not a hard link.  It doesn't make a differ=
ence
but you could also use:

ln -s /var/mail /var/spool/mail

But there's something wrong here, you said /var/mail does exist, it didn't =
in my
case.  I had /var/spool/mail and created the link as `ln -s /var/spool/mail
/var/mail`, I used the wrong order after looking at your message, but I don=
't
think it is right.

Better debug at the imapd level, run imapd:

$ /usr/sbin/imapd
* PREAUTH [CAPABILITY IMAP4REV1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN
MAILBOX-REFERRALS BINARY UNSELECT ESEARCH SCAN SORT THREAD=3DREFERENCES
THREAD=3DORDEREDSUBJECT MULTIAPPEND] Pre-authenticated user rberber black
IMAP4rev1 2006i.385 at Wed, 15 Aug 2007 19:22:22 -0500
a01 logout
* BYE black IMAP4rev1 server terminating connection
a01 OK LOGOUT completed

You probably will get the error when the user's mailbox can't be found.  If
there's no error then I was wrong and imapd uses /var/spool/mail/<username>=
 not
/var/mail/<username> (of course it could be exim the one using /var/mail/..=
. so
imapd will not see the messages.)
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

