delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/24/06:54:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <41A4765D.8030005@familiehaase.de>
Date: Wed, 24 Nov 2004 12:54:05 +0100
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: Walter Garcia-Fontes <walter DOT garcia AT upf DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: fetchmail & procmail / mail lost?
References: <1461707649339 DOT 20041124122408 AT familiehaase DOT de> <20041124113723 DOT GF3808 AT upf DOT edu>
In-Reply-To: <20041124113723.GF3808@upf.edu>
X-IsSubscribed: yes

Walter Garcia-Fontes wrote:

>Dear Gerrit:
>
>One possibility:
>
>The mail is still at your POP3 mailserver, but it was marked as
>read and therefore fetchmail does not see it any more. You can start
>fetchmail and use the swith to fetch everything, including read mail
>(look at the man page, I dont' remember exactly). 
>
>Try to stop the fetchmail service and start it manually with "-v" to
>see what fetchmail is doing. As far as I know it doesn't flush
>anything if it got an error signal from any of the programs it calls,
>for instance procmail. 
>
>I hope this helps to find your missing email,
>  
>

Many thanks for the quick reply.

I see this in the log:
fetchmail: awakened at Wed Nov 24 11:58:11 2004
2 messages for gerrit%familiehaase.de at mail3.xxx.de (5958 octets).
reading message gerrit%familiehaase DOT de AT mail3 DOT xxx DOT de:1 of 2 (1175 octets) 
.procmail: Suspicious rcfile "/home/gerrit/.procmailrc"
procmail: Couldn't read "/home/gerrit/.procmailrc"
 flushed
reading message gerrit%familiehaase DOT de AT mail3 DOT xxx DOT de:2 of 2 (4783 octets) 
....procmail: Suspicious rcfile "/home/gerrit/.procmailrc"
procmail: Couldn't read "/home/gerrit/.procmailrc"
 flushed
fetchmail: sleeping at Wed Nov 24 11:58:19 2004

So the question is, what comes back from prcmail if there is an error?  
It seems fetchmail thinks
all is well, and flushes which means the mail at the server is deleted.  
If an error occured, the
expected behaviour is also that it retries instead of doing anything, 
marking as 'read' or delete the
mail, it shouldn't do anything if there was a problem delivering.  In 
the fetchmail FAQ is stated
that it finishes the job when it gets a positive return code, so back to 
the new question, what is
procmail returning when it fails with 'Suspicious rcfile'?  What is 
procmail doing with mail handed
over which cannot be processed?

Gerrit

-- 
=^..^=


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