Sorry , didn't send tha last email to the list as well/.... Doesn't Spamassassin have a standard routine somewhere to deteremine who an email is for? It would seem like pretty basic stuff?
Rick On Thu, May 22, 2008 at 11:38 AM, Theo Van Dinter <[EMAIL PROTECTED]> wrote: > [sending back to users@ list since it's generally useful info] > > On Thu, May 22, 2008 at 11:25:44AM -0400, Rick Duval wrote: > > One thing though, IF using to:addr I often get the name of the mailing > list > > as opposed to the actual recipient. Is there a "clean" way to get that? > > It sounds like you want the envelope recipient, not the "To" header field. > > Unfortunately, there's no standard way to get that since each MTA does it > differently, if that information is added at all. > > There should probably be a standard get() option that at least attempts > to figure this out similar to EnvelopeFrom (feel free to open a bugzilla > request about it), but in the mean time, looking at another function in > PerMsgStatus that wants similar data (in no particular order): > > $self->get('To') # std > $self->get('Cc') # std > $self->get('Apparently-To') # sendmail, from envelope > $self->get('Delivered-To') # Postfix, poss qmail > $self->get('Envelope-Recipients') # qmail: new-inject(1) > $self->get('Envelope-To') # exim > $self->get('X-Envelope-To') # procmailrc manpage > $self->get('X-Delivered-To') # procmail quick start > $self->get('X-Original-To') # procmail quick start > $self->get('X-Rcpt-To') # procmail quick start > $self->get('X-Real-To') # procmail quick start > $self->get('Apparently-Resent-To') # procmailrc manpage > > Hope this helps. :) > > -- > Randomly Selected Tagline: > "I lost my foo." - Theo >