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

RE: X-Orcpt headers and direct procmail delivery




Hi,

you have to add "O" option to sm.conf line.
For example:
maildrop        SPO    /app/courier/libexec/deliverquota       deliverquota
-w 90 $u
                   ^

HTH.

> -----Original Message-----
> From: Daryle A. Tilroe [mailto:daryle@micralyne.com]
> Sent: Wednesday, March 19, 2003 10:33 PM
> To: zmailer@nic.funet.fi
> Subject: X-Orcpt headers and direct procmail delivery
> 
> 
> 
> AFAIK when zmailer gets a message and delivers it locally
> with 'command="mailbox"' the env information of the ORCPT
> (is this always the same as the last 'to' line?) always
> gets rolled into the headers of the email message as:
> 
>  >X-Orcpt: 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 that header does not get
> created.  What am I doing wrong or is this a bug?  Is
> there some other way to ensure that the envelope 'to'
> information gets documented in the headers of 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/html
>  >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
>  >
>  ><html><div style='background-color:'><DIV></DIV>
>  >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
> 
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi