delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/23/12:51:06

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
To: cygwin AT cygwin DOT com
From: Kelly Felkins <kellyfelkins2003 AT yahoo DOT com>
Subject: Re: fetchmail/procmail lost messages
Date: Fri, 23 Apr 2004 16:44:19 +0000 (UTC)
Lines: 47
Message-ID: <loom.20040423T183639-368@post.gmane.org>
References: <20040423005903 DOT GA444 AT knuckles> <20040423125357 DOT GB1724 AT tishler DOT net>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 198.129.91.77 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007)

Jason Tishler <jason <at> tishler.net> writes:

> 
> Kelly,
> 
> On Thu, Apr 22, 2004 at 05:59:06PM -0700, Kelly Felkins wrote:
> > For example, today the hard drive that I use for both the spool file
> > and my mail boxes was off-line. Five messages to /dev/null.
> > 
> > I'm inclined to think this is a bad design. Or have I got it
> > configured incorrectly?
> 
> Possibly.
> 
> I highly recommend using a spool file that is *always* on-line (e.g.,
> /var/spool/mail/$LOGNAME).  Nevertheless, fetchmail should not have
> flushed the message if procmail exited with a nonzero status.
> 
> BTW, I have used Cygwin fetchmail/procmail to process my mail for about
> 3 years.  I process more 10,000 emails per month.  So, I have processed
> more than 300,000 messages during this time period.  AFAICT, I have not
> lost a single message.
> 
> Jason
> 

Thanks for responding. Your suggestion for locating the spool file is wise. A
few questions:

- How do you know you haven't lost messages? It appears that the only notice I
get is a brief message on my console, just before the message about "flushing"
-- it's a bad feeling to see an error message, followed by "flushing".

- Any suggestions for diagnosing the problem? It seems like procmail should
return an error code, and fetchmail should respond to that error code - this is
apparently not happening. I don't know if procmail is not returning an error
status, or if fetchmail is ignoring it. How can I verify this?

When everything is configured correctly the system works nicely. But I have to
say that I am deeply troubled that when there is a problem it looses messages. 

Any other suggestions? Like, should I dump fetchmail or procmail or both? Any
recommended alternatives?

Thanks very much.

-Kelly


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