OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Envelope-from headers for SPF

From: Magnus Bäck (magnusdsek.lth.se)
Date: Wed May 03 2006 - 13:26:45 CDT


On Wednesday, May 03, 2006 at 07:28 CEST,
     Ramprasad <ramnetcore.co.in> wrote:

> On Tue, 2006-05-02 at 19:08 +0200, mouss wrote:
>
> > How are you running SA? If using a pipe, include 'R' in the flags.
> > See pipe(8).
>
> I am using spamassassin as Module in Mailscanner. I think postfix is not
> inserting the headers before it puts messages in the hold queue, is
> there a workaround

Some of the delivery agents add the Return-Path header upon delivery,
but it's not present in the queue file. Since MailScanner manipulates
the queue file (which of course contains the envelope sender address),
MailScanner should be able to help you.

You could theoretically use check_sender_access and the PREPEND action
to add the Return-Path header, but that would be very wrong.

--
Magnus Bäck
magnusdsek.lth.se