procmail
[Top] [All Lists]

Re: Sort by To, CC, BCC

2003-05-15 09:17:16
On Thu, May 15, 2003 at 10:23:49AM -0500, CaribeNet wrote:
Hello List,

 "If the regular expression contains `^TO' it will be substituted by 
`(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-
       Z])?)', which should catch all destination specifications containing a 
specific word." - But in our case procmail is not looking for Bcc.

It is, but it is also likely that your MTA is stripping Bcc like a
good MTA should.  Since procmail (as the local delivery agent) comes
after the MTA has stripped Bcc, you'll not likely get much from it.

One option you might consider (in your case especially) is to add an
MTA processing rule that adds an X-Recipient: header or something like
that (someone else on the list may have a stronger opinion). Your MTA
documentation will likely document some mechanism to do that.

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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