formail creates deliver-unreadable format

From: Peter Pilsl (no email)
Date: Sun Dec 02 2001 - 19:45:38 EST


this is an old problem I run into several times and found also plenty
of postings at googles, but this time I really want to know, who the
evil is ;)

If I get a mail and pass it through procmail/formail to add an x-loop-header
and then pass to deliver, deliver fails with an error: "Message
contains invalid header"

The reason is that formail (and not procmail !) - that always tries to
fix the mail to be standardconform - adds one From-line at the
beginning of the mail in a format deliver doesnt seem to like:

example: cat /tmp/mail | formail -a"X-Loop3: "server.goldfisch.at"

the input:
Return-Path: <>
Received: from server2.local (localhost.localdomain [127.0.0.1])\\
        by server2.local (8.12.1/8.12.1) with ESMTP id fATL5vOx015215
...

becomes to:








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD