Avatar of expuser2008
expuser2008Flag 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
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Blurred text
THIS SOLUTION IS 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
Avatar of expuser2008
expuser2008
Flag of Cyprus image

ASKER

Thank you, it almost worked, but used in sender_redirect table " from_address@some.example.org FILTER smtp:10.10.0.1"
Avatar of noci
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.
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo