RE: Rules using envelope info?

2006-02-28 Thread Matthew.van.Eerde
Philip Prindeville wrote: Could we add an example of using envelope info? SpamAssassin doesn't see the envelope. Some MTAs add headers for envelope-header and envelope-recipients (Return-Path:, X-Apparently-To:, etc.) If you're careful about how you call SpamAssassin you can fake envelope

Re: Rules using envelope info?

2006-02-28 Thread Theo Van Dinter
On Tue, Feb 28, 2006 at 10:59:29AM -0800, [EMAIL PROTECTED] wrote: If you're careful about how you call SpamAssassin you can fake envelope rules using these headers. It's worth noting that there's a pseudo-header called EnvelopeFrom which is available to header rules which attempts to figure

Re: Rules using envelope info?

2006-02-28 Thread Matt Kettler
[EMAIL PROTECTED] wrote: Philip Prindeville wrote: Could we add an example of using envelope info? SpamAssassin doesn't see the envelope. Some MTAs add headers for envelope-header and envelope-recipients (Return-Path:, X-Apparently-To:, etc.) If you're careful about how you call

Re: Rules using envelope info?

2006-02-28 Thread Philip Prindeville
[EMAIL PROTECTED] wrote: Philip Prindeville wrote: Could we add an example of using envelope info? SpamAssassin doesn't see the envelope. Some MTAs add headers for envelope-header and envelope-recipients (Return-Path:, X-Apparently-To:, etc.) If you're careful about how you call

Re: Rules using envelope info?

2006-02-28 Thread Philip Prindeville
Theo Van Dinter wrote: On Tue, Feb 28, 2006 at 10:59:29AM -0800, [EMAIL PROTECTED] wrote: If you're careful about how you call SpamAssassin you can fake envelope rules using these headers. It's worth noting that there's a pseudo-header called EnvelopeFrom which is available to header

Re: Rules using envelope info?

2006-02-28 Thread Theo Van Dinter
On Tue, Feb 28, 2006 at 12:28:52PM -0700, Philip Prindeville wrote: What am I missing? Is SA not using the Return-Path: line by default? It will, depending on where it's found in the headers, and if there's a better header found first. debug: all '*From' addrs: [EMAIL PROTECTED] [EMAIL

Re: Rules using envelope info?

2006-02-28 Thread Philip Prindeville
Theo Van Dinter wrote: header EnvelopeFrom =~ /[EMAIL PROTECTED]/ ought to do it. The header is just the address. envfrom= is output from the SPF debug line. Yup. That works. Now... Is anyone going to try to talk me out of this, on the basis of it being unsound? ;-) -Philip

Re: Rules using envelope info?

2006-02-28 Thread Loren Wilton
Now... Is anyone going to try to talk me out of this, on the basis of it being unsound? ;-) The check someone (possibly you) showed about giving 6 points to From @paypal.com appears to be unsound unless you are really sure you will receive no paypal stuff. Which would probably be true of a

Re: Rules using envelope info?

2006-02-28 Thread Philip Prindeville
Loren Wilton wrote: Now... Is anyone going to try to talk me out of this, on the basis of it being unsound? ;-) The check someone (possibly you) showed about giving 6 points to From @paypal.com appears to be unsound unless you are really sure you will receive no paypal stuff. Which

Re: Rules using envelope info?

2006-02-28 Thread Loren Wilton
What better checks are you referring to? Something I need to pull down from SARE? sare_spoof or something like that, as best I recall. Loren