Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 23 Apr 2004 16:59:20 -0400 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: fetchmail/procmail lost messages Message-ID: <20040423205920.GA1556@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <20040423005903 DOT GA444 AT knuckles> <20040423125357 DOT GB1724 AT tishler DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Kelly, On Fri, Apr 23, 2004 at 04:44:19PM +0000, Kelly Felkins wrote: > Jason Tishler tishler.net> writes: > > 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. > > 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". I don't really know, hence the "AFAICT". Nevertheless, my perception is that message delivery seems very reliable. > - Any suggestions for diagnosing the problem? Use VERBOSE=yes, as in the following: $ procmail VERBOSE=yes .procmailrc-test 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? procmail is returning 0, as confirmed by Robert: $ echo $? 0 Which explains why fetchmail flushes the message. > Any other suggestions? Like, should I dump fetchmail or procmail or > both? Any recommended alternatives? Use reasonable locations (e.g., local drives) to store your mail messages. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- 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/