delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/15/20:26:39

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT 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 AT FAMILYROOM> <fa04oq$po6$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019