fetchmail-friends
[Top] [All Lists]

[fetchmail]Where's my From line gone?

2004-04-27 03:37:17
A little while ago, due to a nasty impedance mis-match between sendmail
and my ISP's POP server, I tried forwarding mail directly to procmail
using the line
        mda /usr/local/bin/procmail
but found that mail seemed to get corrupted somehow (I didn't look
terribly closely at the time, having exceeded my patience with fetchmail
at that point).

More recently, I've tried simply concatenating my mail to a file, and it's
clear what's missing: there are no 'From ' lines on any of the messages!

Eh?  Where'd the 'From ' lines go?  Is there a cryptic option to put them
back again?

Here's my .fetchmailrc

# Configuration created Mon Oct 28 13:20:02 2002 by fetchmailconf
#
# The line antispam 451 ensures that mail from unresolved e-mail addresses
# is discarded by fetchmail.  (Without this option, fetchmail leaves the
# mail on the POP server, and repeatedly tries to send it each time it runs.)
set postmaster "michael"
set daemon 600
set no bouncemail
set no spambounce
set logfile .fetchmail.log
set properties ""
poll pop.ntlworld.com
    proto POP3
    timeout 50
    user '**********' is 'michael'
    password ******
    options fetchall
#    mda /usr/local/bin/procmail
#    mda '/home/michael/bin/catto /home/michael/fetchmail.mail'
    antispam 451

and here is catto

#! /bin/sh
cat >>$1


At the moment when fetchmail gets into its stupid 'refusing to fetch'
state, I comment out the second mda line above and run it once to clear
the mail.