procmail
[Top] [All Lists]

Re: formail and Apparently-To:

1999-06-05 00:31:44
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:
line:

    |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
HApparently-To: <addr>.
This leads me to believe that sendmail thought they were headers. (the H
in particular)
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
of this.

-- 
-- Casey Zacek <cz(_at_)mindspring(_dot_)net>
   Perlfectionist
   Engineering
   Mindspring Enterprises

<Prev in Thread] Current Thread [Next in Thread>