[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

X-Orcpt type headers and direct procmail delivery



(My third try, I think the first couple got hung up by
the zmailer list html spam filters due to a header in
the example)

AFAIK when zmailer gets a message and delivers it locally
with 'command="mailbox"' the env information of the ORCPT
and other such stuff gets tacked onto the end of the
headers:

  >Return-Path: <owner-cssa@quartz.srv.ualberta.ca>
  >X-Envelope-To: <yan@micralyne.com> (uid 0)
  >X-Orcpt: rfc822;yanqi@micralyne.com
  >Original-Recipient: rfc822;yanqi@micralyne.com

from the router queue example below.  It appears, though,
when delivering directly through procmail with 'command=
"sm -c $channel procm"' that, except for the 'Return-Path',
the headers do not get created.  What am I doing wrong
or is this a bug?  Is there some other way to ensure that
the envelope information relating to the recipient gets
documented in the headers of similar mailing list emails?

Example from the router queue:

-------------------------------------------------
  >external
  >rcvdfrom quartz.srv.ualberta.ca ([129.128.5.55]:43794 "EHLO
  >quartz.srv.ualberta.ca")
  >comment quartz.srv.ualberta.ca [129.128.5.55]:43794 "EHLO
  >quartz.srv.ualberta.ca" smtp-auth: <none> TLS-CIPHER: <none> TLS-PEER:
  ><none>)
  >with ESMTP
  >from <owner-cssa@quartz.srv.ualberta.ca>
  >todsn NOTIFY=FAILURE,DELAY ORCPT=rfc822;yanqi@micralyne.com
  >INRCPT=rfc822;yanqi@micralyne.com
  >INFROM=rfc822;owner-cssa@quartz.srv.ualberta.ca
  >to <yanqi@micralyne.com>
  >env-end
  >Received: (from majordom@localhost)
  >         by quartz.srv.ualberta.ca (8.9.3/8.9.3) id RAA12172
  >         for 9Wq4nNy7BaP; Wed, 19 Mar 2003 17:35:11 -0700
  >Received: from hotmail.com (bay2-f29.bay2.hotmail.com [65.54.247.29])
  >         by quartz.srv.ualberta.ca (8.9.3/8.9.3) with ESMTP id RAA12164
  >         for <cssa@majordomo.srv.ualberta.ca>; Wed, 19 Mar 2003
  >17:35:00 -0700
  >Received: from mail pickup service by hotmail.com with Microsoft >SMTPSVC;
  >          Wed, 19 Mar 2003 16:34:30 -0800
  >Received: from 129.128.67.167 by by2fd.bay2.hotmail.msn.com with HTTP;
  >         Thu, 20 Mar 2003 00:34:30 GMT
  >X-Originating-IP: [129.128.67.167]
  >X-Originating-Email: [lijh100@hotmail.com]
  >From: "jianhong li" <lijh100@hotmail.com>
  >To: cssa@majordomo.srv.ualberta.ca
  >Subject: CSSA-post: moving sale
  >Date: Thu, 20 Mar 2003 00:34:30 +0000
  >Mime-Version: 1.0
  >Content-Type: text
  >Message-ID: <BAY2-F29bzZLnWEGFJH00016ed8@hotmail.com>
  >X-OriginalArrivalTime: 20 Mar 2003 00:34:30.0546 (UTC)
  >FILETIME=[7887FF20:01C2EE78]
  >Sender: owner-cssa@majordomo.srv.ualberta.ca
  >Precedence: bulk
  >
  >REST OF THE BODY..............
--------------------------------------------------------


-- 
Daryle A. Tilroe



-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi