[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 SpamAssassin you can fake envelope rules > using these headers.
Actually, if these headers are present, SA will treat them as an extra "From" header. So really all you need to do is create a rule checking against the From header and SA will take care of the rest, provided your MTA drops the right hints in the headers.