Postfix:How to redirect to another mail server an email from from a sender

Have Postfix 2.6.6 on RedHat  which is used as an internal mail relay server for all incoming emails to be relayed to our exchange server. We are relaying emails destined to our domain ( ) to our exchange mail server ( ). This is done by /etc/postfix/transport containing " smtp:[10.10.01] ".
We also want to relay emails from a single email sender "sender@otherdomain"  to our exchange server at How can we do this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware EngineerCommented:
it can be done by using  smtpd_send_restrictions....
In add: a check_send_access clause to the head of the smtp_send_restrictions key.

smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_redirect <, original content>

the file /etc/postfix/sender_redirect should then contain a list of addresses like: (1 per line). redirect
Adding lines like REJECT
should block mail from that user,and OK
Should allways be allowed

after that regenerate aliases etc.... (ie. postmap /etc/postfix/sender_redirect)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
expuser2008Author Commented:
Thank you, it almost worked, but used in sender_redirect table " FILTER smtp:"
nociSoftware EngineerCommented:
Ah, did it of the top of my head... long time ago i did postfix, so i need to do a refresher if i need it again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.