delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/23/16:48:53

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
MIME-Version: 1.0
From: "Matthew Rich" <mrich AT runbox DOT com>
Reply-To: mrich AT runbox DOT com
To: cygwin AT cygwin DOT com
Subject: procmail not writing mbox file properly?
Date: Tue, 23 Sep 2003 20:48:12 GMT
X-Sender: 174501
Message-Id: <E1A1u4y-0008Rl-F1@odie.runbox.com>
X-Sender: unknown
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h8NKmn8t031494

I just moved to cygwin from debian linux and am having some problems setting up my email. I use mutt, fetchmail, and procmail. procmail writes most of my mail to ~/mbox, my main mbox file. However, I noticed that mutt was not picking up the messages written to ~/mbox by procmail.

I set up mutt to poll my pop3 server itself, and when it does this it writes to the mbox file properly. Also, I looked at my old mbox file from my linux machine and I figured out what's wrong: procmail on cygwin is not writing the leading From line for each message. Thus mutt is just ignoring the messages it writes. Note that procmail (the same version, 3.22) *was* writing this line on debian.

For example, the first few lines of each message in the mbox file should look like:

From sender AT sender DOT com Tue Jul 01 09:15:07 2003
Return-path: <sender AT sender DOT com>
Envelope-to: matthew AT localhost
Delivery-date: Tue, 01 Jul 2003 09:15:07 -0500

But with procmail on cygwin, I'm just getting:

Received: from bar.com [168.143.80.100]
    by localhost with POP3 (fetchmail-6.2.4)
    for ci_matthew AT localhost (single-drop); Tue, 23 Sep 2003 13:49:53 -0500 (CST)
Received: from cujo.runbox.com (193.71.199.138)
    by mail01d.rapidsite.net (RS ver 1.0.86vs) with SMTP id 3-0850523058
    for <foo AT bar DOT com>; Tue, 23 Sep 2003 14:50:59 -0400 (EDT)
Received: from [10.9.9.15] (helo=odie.runbox.com)
    by lufsen.runbox.com with esmtp (Exim 4.20)
    id 1A1sFY-0005RV-Lj
    for foo AT bar DOT com; Tue, 23 Sep 2003 20:51:00 +0200
Received: from mail by odie.runbox.com with local (Exim 4.20)
    id 1A1sFF-00024v-LY
    for foo AT bar DOT com; Tue, 23 Sep 2003 20:50:41 +0200
Content-Type: text/plain; charset=iso-8859-1

etc. Namely, it starts right in with the Received: headers, without ever writing the From line. If I just add in a dummy From line copied from another message in the mbox file, mutt can then read the message written by procmail.

Anyone know what's going on? 





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