I have little experience with  mail and less with postfix.   I have several 
CentOS 7/Oracle Linux 8 servers where I have been forwarding the local mail to 
user's Exchange email addresses by simply setting up an alias in the 
/etc/aliases file.
   root:       cy...@umpublishing.org<mailto:cy...@umpublishing.org>
   oracle:    joe...@umpublishing.org<mailto:joe...@umpublishing.org>
   cyoho:    cy...@umpublishing.org<mailto:cy...@umpublishing.org>

We now need to forward oracle's email to an outside account 
(bob...@dbaconsulting.com).  I can make this work by removing the hostname from 
the sender's address in /etc/postfix/main.cf (setting $myorigin = $mydomain) 
and setting up a virtual file with the forwarding information.    However, when 
I do this, Exchange won't forward any of the other users email (in the aliases 
file or using the virtual file).

The userids on the linux servers are the same as  our userids in Active 
directory, so  It looks to me like the Exchange server does not like the fact 
that some other server (eg, oraserver.upublishing.org) is trying to forward 
mail FROM cy...@umpublishing.org<mailto:cy...@umpublishing.org> (normally would 
be cy...@oraserver.umpublishing.org<mailto:cy...@oraserver.umpublishing.org>) 
TO cy...@umpublishing.org.  Exchange sees itself as being the rightful origin 
of email from cy...@umpublishing.org<mailto:cy...@umpublishing.org>, but here 
comes mail with that origin from somewhere else.

Can anyone help me with how to set this up?

Details:  Oracle Linux 8, postfix 2.3.3.1-12.el8_3.1


TIA for any help~
Cindy

Reply via email to