Avatar of expuser2008
expuser2008
Flag for Cyprus asked on

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 ( mydomain.com ) to our exchange mail server ( 10.10.0.1 ). This is done by /etc/postfix/transport containing "mydomain.com smtp:[10.10.01] ".
We also want to relay emails from a single email sender "sender@otherdomain"  to our exchange server at 10.10.0.1. How can we do this?
Email ServersLinuxEmail Software

Avatar of undefined
Last Comment
noci

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
noci

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
expuser2008

ASKER
Thank you, it almost worked, but used in sender_redirect table " from_address@some.example.org FILTER smtp:10.10.0.1"
noci

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.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes