James McGill spoke forth with the blessed manuscript:
On Fri, 4 Jun 1999, Philip Guenther wrote:
Or better yet, don't tell sendmail to scan the header for receipients.
Instead, put the one recipient on the sendmail command line. That way
the only change to make to the header is the addition of the X-Loop:
|formail -A"X-Loop: mark(_at_)box(_dot_)com" | \
$SENDMAIL $SENDMAILFLAGS juan(_at_)box(_dot_)com
We tried that, but what about for multiple recipients? We ran into line
length limitations, if I recall correctly, which was the reason for having
sendmail look for recipients in the header.
But Apparently-To: fields in the DATA are not really headers,
are they? Admittedly, we are doing insane things with procmail...
In the qf* file in the mqueue/ directory, they had both RPFD:<addr> and
This leads me to believe that sendmail thought they were headers. (the H
Anyhow, like i mentioned to James before, formail was spawning many many
'sendmail -oi -t' processes from the email. I suggest that perhaps our
(old? it doesn't tell want to me) version of formail is to blame for lots
-- Casey Zacek <cz(_at_)mindspring(_dot_)net>