delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/14/18:58:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3F8C7F22.8010702@broadpark.no>
Date: Wed, 15 Oct 2003 00:56:34 +0200
From: Robert Schmidt <rschm AT broadpark DOT no>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: uw-imap tmail problem: "Unexpected file locking failure: Invalid
argument"

Hi!

I've been a happy cygwin user for many years, and recently decided to 
give uw-imap a shot, as I need a centralized e-mail storage for our home 
WLAN.

I've got imapd running through inetd, and I've gotten fetchmail to poll 
my POP3 account.
However, the feeding to tmail fails, apparently in the flock() 
implementation.

Here are the last lines of output from "fetchmail -v -v":

fetchmail: about to deliver with: /bin/tmail -D 'robert'
#*******delivering to robert+INBOX
Verifying safe delivery to /var/mail/robert by UID 1003
unix appending to #driver.unix/INBOX (directory /var/mail/robert)
Unexpected file locking failure: Invalid argument
Unexpected file locking failure: Invalid argument
[... this runs forever, a new line every 5 seconds]

Does anyone recognize this problem?  I've scanned my local docs, the web 
and cygwin mailing lists, but nothing can point me to an indication of 
what's wrong.

When I break, my /var/mail folder looks thus:  (/var/mail/robert is empty)

drwxrwxrwx+   3 robert   None            0 Oct 14 19:53 .
drwxrwxrwx+   9 robert   None            0 Oct 14 01:34 ..
drwx------+   2 robert   None            0 Oct 14 19:53 robert
-rw-rw-rw-    1 robert   None            0 Oct 14 19:53 robert.lock

Deleting the lock makes no difference.
I've tried rebuilding tmail, no difference.
My CYGWIN=ntsec.  I'm running Cygwin 1.5.5-1.
I've tried granting all Full Control to myself and Everyone.

Here's my .fetchmailrc:

set logfile /var/log/fetchmail.log
# set invisible
set no bouncemail
poll "mail.chello.no"
protocol pop3
username "rschmidt AT chello DOT no" password "xxxxxxx" is "robert"
fetchall
keep
no stripcr  # these lines were needed to
forcecr      # avoid a "LF only" warning from tmail
fetchlimit 1
mda "/bin/tmail -D %T"


Any suggestions are welcome!

Best regards,
Robert




--
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