Charles Cazabon <[EMAIL PROTECTED]> writes:

> Eric Bonharme <[EMAIL PROTECTED]> wrote:
> > We have a problem with the 'for' line being stripped out when delivering 
> > Bcc'ed messages to the Bcc'ed recipient locally.
> 
> qmail doesn't remove any headers.  What is a "for" header?  I've never seen
> such a beast.

Eric is probably talking about the "for" clause of the Received
header:

    Received: from muncher.math.uic.edu ([131.193.178.181]) (envelope-sender 
<[EMAIL PROTECTED]>)
              by smtp01.mail.onemain.com (qmail-ldap-1.03) with SMTP
              for <[EMAIL PROTECTED]>; 23 May 2001 10:10:26 -0000
here          ^^^^^^^^^^^^^^^^^^^^^^ 

Looking at the 'for' clause is a hack, and will only work under some
circumstances.  Particularly, if more than one person on the same mail
server receives a message, the 'for' clause will not be present at
all.

Fortunately, qmail provides a better solution.  Use the first
'Delivered-To' header; that will always be there, and will always be
correct and unambiguous.

-----ScottG.

Reply via email to