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: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Tue May 02 2006 - 12:03:26 CDT


On Tue, May 02, 2006 at 11:54:28AM -0500, Noel Jones wrote:

> add a custom header:
> # main.cf
> smtpd_data_restrictions =
> check_sender_access regexp:/etc/postfix/add_x_envelope_from
>
> # add_x_envelope_from
> /^$/ PREPEND X-Envelope-From: <>
> /^(.*)$/ PREPEND X-Envelope-From: <$1>

The first expression should have been (else it is redundant):

        /^<>$/ PREPEND X-Envelope-From: <>

the second one is correct. This assumes the default:

    smtpd_null_access_lookup_key = <>

--
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
     system/email administrator to architect and sustain the Unix email
     environment. If you are interested, please drop me a note.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.