I've familarized myself with Sendmail and have a working setup but always here that postfix is easier and more secure so i'm not sure if i'm making a mountain out of a molehill or what but I've ran into a problem.
I have one location setup as let's say HERE.DOMAIN.COM and I toss the mail around on the local network with that address (Everything works fine), now for OUTGOING mail I would like it to be USER@DOMAIN.COM
so I setup the Masquerade Domain and it works fine but I can no longer send the mail around locally with the USER@HERE.DOMAIN.COM
address it all comes from USER@DOMAIN.COM
In Sendmail I use the FEATURE(NO_LOCAL_MASQUERADE) so all my mail going to email@example.com
gets delivered correctly locally and if it is sent to anyone else it comes from firstname.lastname@example.org
and works good. can that be reproduced with Postfix easy enough?
PostFix sure does look easier to configure and work with so i would like to get this resolved but I'm thinking sendmail and not finding the right solution. Maybe i'm approching it wrong and have to re-structure it?
Also, all my outgoing mail will be relayed off to our corporate office which has there mail at USER@DOMAIN.COM
that is why I want to toss it locally at USER@HERE.DOMAIN.COM
and only masquerade outgoing mail, otherwise I end up with a user sending a message to someone and the reply leaves our location to the Corp Office and back again so it's not efficient.