Matt, Thanks for helping. Got whitelist_from_spf working ( with some help from postfix guys )
I had to do the following IN postfix In file /etc/postfix/main.cf smtpd_data_restrictions = reject_unauth_pipelining, check_sender_access regexp:/etc/postfix/add_x_envelope_from, permit that file contains /^<>$/ PREPEND X-Envelope-From: <> /^(.*)$/ PREPEND X-Envelope-From: <$1> Now it works great Thanks Ram