On Fri, Aug 20, 2010 at 11:39:05PM -0400, Matt Kettler wrote:
>  On 8/20/2010 9:09 PM, Alex wrote:
> >Hi,
> >
> >I'm trying to use whitelist_from_rcvd and it doesn't appear to be
> >working. I'm trying to whitelist mail from the AZ lottery. Here are
> >the headers from the email:
> >
> >Received: from AZMTAQS01.AZ.GOV (azmtaprd01.az.gov [159.87.126.8])
> >From: "Arizona Lottery"<email.re...@azlottery.gov>
> >
> >Isn't this the proper way to use this?
> >
> >whitelist_from_rcvd email.re...@azlottery.gov az.gov
> >
> >What am I doing wrong?
> 
> That "should" work. Assuming that:
> 
> 1) there is a "by" clause you cut off that Received: header.
> 2) The host that is receiving the mail from az.gov is trusted by SA.
> 3) az.gov is *NOT* trusted by SA.
> 
> For 2 and 3 you might want to run a copy of the message through
> spamassassin -D and see what the list of trusted and untrusted
> relays are.

You need to use _envelope_ sender (e.g. Return-Path), not From.

Reply via email to