Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

procmail adding extra ">From " header line

2 views
Skip to first unread message

David Caldarelli

unread,
Mar 8, 2005, 2:50:54 PM3/8/05
to
I have spent a half hour searching web and NG for help on this - I
found a few versions of the same question, but no good answer.

However, I was lucky enough to get a quick response from someone who
posted the same problem in 2001 - and he was able to find his
_workaround_.

I'm surprised if there is no fix for this - or is it more of an
incompatibility between programs?

Anyway, below I will post his original post, and below that, the
workaround.

David

-----------------------------------------------------------------------------
From: Tres Hofmeister
(e-mail address deleted by David for spam protection)
Subject: procmail adding extra "From " header line
Newsgroups: muc.lists.debian.user
Date: 2001-11-14 16:31:19 PST

I upgraded a potato box to woody recently. With the current
sendmail (8.12.1-2) and procmail (3.21.20011028.3.15.2-2), it looks
like the mail delivery agent (MDA) is sensible-mda, which seems to
use procmail as a first choice.

What I'm noticing is that messages in my mailbox now have a
second, escaped "From " header line, e.g.:

From 0xdeadbee...@petting-zoo.net Wed Nov 14 11:58:18 2001
>From tres Wed Nov 14 11:58:18 2001

This causes various odd problems, the most obvious and annoying
being that it mostly breaks Mutt's "bounce" function--the message
is basically mangled at the receiving end, with everything from the
">From " line forward moved into the body of the message. Yech...

Removing procmail solves the problem, but I need procmail for
mail filtering. I've noticed that there's a "wishlist" bug #119104
against procmail which seems to reference this problem, but it doesn't
offer a solution. I suppose I could reconfigure sendmail to force
using a different MDA... Any suggestions?

-----------------------------------------------------------------------------
put in .procmailrc ...

# Fix (remove) nasty ">From " header lines. See procmailex(5).
# These seem to be inserted "helpfully" by procmail when it's the MDA.
# Yech...
# Thu Nov 15 00:20:05 MST 2001
:0 fhw
| formail -I "From " -a "From "

-----------------------------------------------------------------------------

Sven Guckes

unread,
Mar 8, 2005, 6:36:17 PM3/8/05
to
* David Caldarelli <daca...@ottawa.com> [2005-03-08]:

> I have spent a half hour searching web and NG for help on this -
> I found a few versions of the same question, but no good answer.
> However, I was lucky enough to get a quick response from someone who
> posted the same problem in 2001 - and he was able to find his
> _workaround_. I'm surprised if there is no fix for this -
> or is it more of an incompatibility between programs?

it's not a bug - it's a feature! however, it is
a feature of the MTA. so comp.mail.misc applies.

Sven

Message has been deleted

Alan Connor

unread,
Mar 9, 2005, 1:34:06 AM3/9/05
to
On Tue, 8 Mar 2005 23:12:31 -0600, Peter H. Coffin <hel...@ninehells.com> wrote:

>
>
> On 8 Mar 2005 11:50:54 -0800, David Caldarelli wrote:
>> I have spent a half hour searching web and NG for help on this - I
>> found a few versions of the same question, but no good answer.
>>
>> However, I was lucky enough to get a quick response from someone who

<snip>

OP:

"Peter H. Coffin" uses the X-No-Archive: yes header, which means
that he doesn't think his own posts are worth archiving, and/or
that he is up to something, and/or he is a paranoid nutcase

That header will keep his posts out of the Usenet Archives at
http://groups.google.com so that his Usenet activities will
be very hard to track.

He can post _anything_ and you won't be able to prove that he
posted it.

Be careful about taking any advice from him.

AC

Paul Walker

unread,
Mar 9, 2005, 6:25:49 PM3/9/05
to
On Wed, 09 Mar 2005 06:34:06 GMT, Alan Connor wrote:

> Be careful about taking any advice from him.

Well .. you can be careful, but Peter knows what he's talking about, so
reading his posts is a good idea. They're generally useful.

You might want to stop using XNA as a rule for whether you read/reply or
not. I use it myself for most groups.

--
Paul

Alan Connor

unread,
Mar 9, 2005, 7:03:01 PM3/9/05
to
On Wed, 09 Mar 2005 06:34:06 GMT, Alan Connor <zzz...@xxx.yyy> wrote:
>
>

You have a troll score in my newsreader, "Paul Walker".

So I don't read your posts nor any responses to them.

If you don't like what I have to say, then feel free to eat shit.


AC


Paul Walker

unread,
Mar 10, 2005, 4:33:41 AM3/10/05
to
On Thu, 10 Mar 2005 00:03:01 GMT, Alan Connor wrote:

> You have a troll score in my newsreader, "Paul Walker".
> So I don't read your posts nor any responses to them.

Which is bizarre, because you've read them and posted responses to them when
I complimented you on previous posts. But hey, if you want to pretend you
have people scored down, who am I to argue?

--
Paul

`Naturally, a sysadmin's entire person is holy. We have the power to kill
daemons.' --- Mike Sphar

Message has been deleted

Alan Connor

unread,
Mar 10, 2005, 4:14:27 PM3/10/05
to
On Wed, 09 Mar 2005 06:34:06 GMT, Alan Connor <zzz...@xxx.yyy>
wrote:

> On Tue, 8 Mar 2005 23:12:31 -0600, Peter H. Coffin

His headers:


Newsgroups: comp.mail.mutt
From: "Peter H. Coffin" <hel...@ninehells.com>
Subject: Re: procmail adding extra ">From " header line
References: <ad894feb.05030...@posting.google.com> <slrnd2t1ds.dvb.he
ll...@othin.ninehells.com> <yNwXd.5291$cN6....@newsread1.news.pas.earthlink.net
>
Reply-To: hel...@ninehells.com
X-No-Archive: yes
Message-ID: <slrnd314cr....@othin.ninehells.com>
User-Agent: slrn/0.9.7.4 (OpenBSD)
Date: Thu, 10 Mar 2005 12:27:40 -0600
NNTP-Posting-Host: ninehells.com
X-Trace: newspeer2.tds.net 1110479486 216.170.211.219 (10 Mar 2005 12:31:26 CST)
Lines: 41
Organization: TDS.NET Internet Services www.tds.net
Path: newsspool2.news.pas.earthlink.net!stamper.news.pas.earthlink.net!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!tdsnet-transit!newspeer.tds.net!216.170.153.144.MISMATCH!newspeer2.tds.net!othin.ninehells.com!news
Xref: news.earthlink.net comp.mail.mutt:24463
X-Received-Date: Thu, 10 Mar 2005 10:46:08 PST (newsspool2.news.pas.earthlink.net

endquote

Also notice the "MISMATCH" above in his post's PATH.

That means that he has forged part of that header.

And probably other headers too.

This fellow is bad medicine.


AC


Message has been deleted

Sven Guckes

unread,
Mar 10, 2005, 5:57:20 PM3/10/05
to
WARNING: if you don't have a sense
for black humour then DROP DEAD!!!


* Alan Connor <zzz...@xxx.yyy> [2005-03-10]:


> Also notice the "MISMATCH" above in his post's PATH.
> That means that he has forged part of that header.
> And probably other headers too.
> This fellow is bad medicine.

H||
__________H||___________
[| ** ****** |
|| **** **////** |
|| **//** ** // |
|| ** //** /** |
|| **********/** |
|| /**//////**//** ** |
|| /** /** //****** |
|| // // ////// |
[|_______________________|
H||_______H||
H||________\|
H|| H||
H|| H||
_H||_______H||__
H|________________|

alright... that does it!
where shall we hang him?

Sven

--
"We need killfiles that actually *kill*!"
--Sven Guckes on alt.fan.warlord [990611]

Alan Connor

unread,
Mar 10, 2005, 6:50:06 PM3/10/05
to
On 10 Mar 2005 22:57:20 GMT, Gven Suckes <use...@suckes.net> wrote:
>
>
> WARNING: if you don't have a sense
> for black humour then DROP DEAD!!!
>

I prefer purple humor, thank you. (with yellow polka dots)

>
> * Alan Connor <zzz...@xxx.yyy> [2005-03-10]:
>> Also notice the "MISMATCH" above in his post's PATH.
>> That means that he has forged part of that header.
>> And probably other headers too.
>> This fellow is bad medicine.
>
> H||
> __________H||___________
> [| ** ****** |
> || **** **////** |
> || **//** ** // |
> || ** //** /** |
> || **********/** |
> || /**//////**//** ** |
> || /** /** //****** |
> || // // ////// |
> [|_______________________|
> H||_______H||
> H||________\|
> H|| H||
> H|| H||
> _H||_______H||__
> H|________________|
>


That's pretty good! I'll save it.

With screen it is easy: Just <Control-Character>-[ to enter copy
mode, and put the cursor a few spaces to the left of the leftmost
character of the figure and a couple of lines above, hit Space
then c (to set the left margin) then j until you are a few lines
past the bottom of the figure, then Space to copy it into the
buffer.

>

rr....I'm busy at the moment. Perhaps another day.

> --
> "We need killfiles that actually *kill*!"
> --Sven Guckes on alt.fan.warlord [990611]

Oh well....Can't have everything.

;-)

AC

Andrew Preater

unread,
Mar 10, 2005, 7:14:43 PM3/10/05
to
* Peter H. Coffin <hel...@ninehells.com>:
> Therefore, I choose to minimize the amount of benefit I contribute
> to their making money off of my postings for no compensation.

Uh-huh. I _search_ Deja sometimes, for this reason I find it useful
to have my own posts archived, but the new 'beta' Google Groups is so
cripped even this is becoming a painful experience.

Spam and abuse from Google Groups posters means I've scored down
'Organization: http://groups.google.com/' in slrn. It's a shame to
plonk a whole organisation in this way, but needs must. BTW I also
score down XNA posts ;) but I score up interesting people to counter
it (so I still see your posts for example).

AC, what can I say? Life's too short for wannabe Usenet kooks with a
yen for posting boilerplate about their C-R systems, best to plonk and
move on.

--
Andrew Preater
Linux user #238547
Now playing: Manic Street Preachers - Sepia

Alan Connor

unread,
Mar 10, 2005, 7:16:13 PM3/10/05
to
On 10 Mar 2005 22:57:20 GMT, Sven Guckes <use...@guckes.net> wrote:

<snip>

^L


* Alan Connor <zzz...@xxx.yyy> [2005-03-10]:
> Also notice the "MISMATCH" above in his post's PATH.
> That means that he has forged part of that header.
> And probably other headers too.
> This fellow is bad medicine.

H||
__________H||___________
[| ** ****** |
|| **** **////** |
|| **//** ** // |
|| ** //** /** |
|| **********/** |
|| /**//////**//** ** |
|| /** /** //****** |
|| // // ////// |
[|_______________________|
H||_______H||
H||________\|
H|| H||
H|| H||
_H||_______H||__
H|________________|


# in slrn, what is below becomes what is above when
# you hit Space or Reply or use less! From Sven Guckes post:
# Message-ID: <2005-03-1...@guckes.net>


^L
* **** ****** **************** *************
* **** ****** *** ********** ***** ** *** ****** *****
* **** ***** **** ** *** ****** **** ** **** *******
* *** ******** ***** ******* ****
* **** ****** ** *** *********

***
************************
** ** ****** *
** **** ******** *
** ****** ** ** *
** ** **** *** *
** ************* *
** *************** ** *
** *** *** ******** *
** ** ** ****** *
**************************
*************
*************
*** ***
*** ***
****************
*******************

********** **** **** ***
***** ***** ** **** ****

****


--------------------------------------------


How the _hell_ did you DO that?!


AC


Message has been deleted

Peter J Ross

unread,
Mar 10, 2005, 9:01:48 PM3/10/05
to
On Friday 11 March 2005, Andrew Preater wrote in comp.mail.mutt:

> * Peter H. Coffin <hel...@ninehells.com>:
>> Therefore, I choose to minimize the amount of benefit I contribute
>> to their making money off of my postings for no compensation.
>
> Uh-huh. I _search_ Deja sometimes, for this reason I find it useful
> to have my own posts archived, but the new 'beta' Google Groups is so
> cripped even this is becoming a painful experience.

<http://groups.google.co.uk/> still has the old format, as do other
national Google flavours.

> Spam and abuse from Google Groups posters means I've scored down
> 'Organization: http://groups.google.com/' in slrn.

I score Google down too, but it's because of the broken wrapping and
lack of quoted text. Either way, there isn't much to like about them.

> It's a shame to
> plonk a whole organisation in this way, but needs must. BTW I also
> score down XNA posts ;) but I score up interesting people to counter
> it (so I still see your posts for example).
>
> AC, what can I say? Life's too short for wannabe Usenet kooks with a
> yen for posting boilerplate about their C-R systems, best to plonk and
> move on.

<http://angel.1jh.com/nanae/kooks/alanconnor.shtml>

(Not that a FAQ is needed to see that he's an idiot.)

PJR :-)
--
alt.usenet.kooks award-winners and FAQ:
http://www.insurgent.org/~kook-faq/

[To reply by email, remove "NOSPAM".]

Peter J Ross

unread,
Mar 10, 2005, 9:11:04 PM3/10/05
to
On Friday 11 March 2005, Alan Connor wrote in comp.mail.mutt:

> How the _hell_ did you DO that?!


R T F M

Alan Connor

unread,
Mar 10, 2005, 10:52:07 PM3/10/05
to
On 10 Mar 2005 22:57:20 GMT, Sven Guckes <use...@guckes.net> wrote:


* Sven Guckes Suckes :-)


"Spoilers"? New one on me.

AC

Paul Walker

unread,
Mar 11, 2005, 5:05:41 AM3/11/05
to
On Thu, 10 Mar 2005 12:27:40 -0600, Peter H. Coffin wrote:

> Anyone that wants confirmation that I've said something or didn't say
> something can email me, Mr. zzz...@xxx.yyy. The X-No-Archive is up there

I wouldn't worry too much. Alan seems to have forgotten to take his medicine
again. ;-)

--
Paul

Can a dog have Buddha-nature? (to answer Yes Or No means your own
Buddha-nature is gone) -- Shih Tzu.

0 new messages