[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: additional fetchmail/procmail questions
- To: Dale Kiefling <http://www.skywriterhosting.com/~dale>
- Subject: Re: additional fetchmail/procmail questions
- From: <http://dummy.us.eu.org/robert>
- Date: Tue, 29 May 2007 07:09:09 -0700 (PDT)
- Cc: http://www.gmail.com/~daleki
- Delivery-date: Tue, 29 May 2007 07:09:04 -0700
- Envelope-to: http://dummy.us.eu.org/robert
--- Dale Kiefling <http://www.skywriterhosting.com/~dale> wrote:
> Hey Robert,
> 
>   I incorporated your suggestions in ,procmailrc which I am attaching
> along with the latest log file.  Thanks for the help. When I run this
> against sabine's account I see 411 emails on the old server and
> fetchmail brings over about 260.  Any ideas  based on the log what the
> missing mails are?
All the trashing seems to be due to the "formail -D 200000 .messids" line.  I
can only guess that when there's a missing Message-ID header field, it
/dev/null's the message.
Two things to try:
1) Instead of /dev/null, put the messages into a file, i.e.,
   :0hwc
   |formail -D 200000 .messids
   LOG="$FILENO"
   # duplicate case -- throw away
   :a:
   trashed
   Then, look at the messages to see if they're missing a Message-ID as I
hypothesize.
2) If indeed the problem is missing Message-IDs, then move:
   :0fhw
   *!^message-id:
   |formail -a Message-ID:
   to be above the above ("duplicate case") recipe.
> I tried the fetchmail -a this time.
Good.  BTW, for future reference, where is the procmail.log located?
> Cheers,
> Dale
> 
> > --- Dale Kiefling <http://www.skywriterhosting.com/~dale> wrote:
> >> Is this what you mean?
> >
> > Yes, this is better.
> >
> > Some more suggestions below.