[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I busted all the From: hdrs - want them back: help (fwd)
This did not make it to the list...
---------- Forwarded message ----------
Date: Sun, 4 Jan 1998 22:06:27 +0000 ( )
From: "Peter L. Peres" <plp@actcom.co.il>
To: linux-il@linux.org.il
Subject: I busted all the From: hdrs - want them back: help
This is a sendmail problem, relates to Linux (Slackware as usual). It will
probably be answered by a sendmail.cf guru (hopefully).
Problem: While installing sendmail into a system already running (and with
mailboxes full), I had the option 'SaveFromLine' commented out in
sendmail.cf. At this, when I ran sendmail, it promptly deleted all the
From: headers from all the mailboxes in the machine, like any good
product made in Redmond. This broke pine and POP3 (and what else).
Question: How can I restore the From headers (even empty), without
editing
by hand the all the mail files. The system is offline but the mail files
date back to September or so...
I could probably cook up an gawk program after examining the syntax of the
1st line in each message (indented and contains sendmail versions etc),
but is there another way ? (And why the !@#$ are there mailbox files w/o
From: in them ? Who uses such a thing ? Aliens who can guess the message
starts ?)
OTOH: WARNING: This happened with a stock sendmail.cf, the very one that
is meant to work with 'PPP or SLIP connection', supplied in Slackware 3.1
or so. If you happen to install that for some reason, and have mailboxes
that are not empty, make sure that you edit /etc/sendmail.cf and uncomment
O SaveFromLine
*before* you shut down the system after installation (otherwise, when the
system comes up after that, it starts sendmail and... read above).
Funny: While I put this text through ispell, it did not like Linux and
proposed Linus instead... It also did not know Redmond. Perhaps the ispell
database should be revised a bit ;)