We use a fake (internal, externally-unregistered) domain, for our division’s
servers. Let’s call it fakedomain.com <http://fakedomain.com/> or fd.com
<http://fd.com/>, for short.
All Linux servers in fd.com <http://fd.com/> are configured as Postfix null
clients, that neither receive mail from any external source, nor deliver any
mail locally. They merely send all email emanating from them to
mailserver.fd.com <http://mailserver.fd.com/>.
mailserver.fd.com <http://mailserver.fd.com/>:
Accepts all mail from our servers (including itself).
If the mail is destined for fd.com <http://fd.com/>, it is – with the exception
of ab...@fd.com <mailto:ab...@fd.com>, postmas...@fd.com
<mailto:postmas...@fd.com>, and r...@fd.com <mailto:r...@fd.com> – sent
straight to /dev/null.
Anything for ab...@fd.com <mailto:ab...@fd.com>, postmas...@fd.com
<mailto:postmas...@fd.com>, and r...@fd.com <mailto:r...@fd.com> are seemingly
delivered locally on mailserver.fd.com <http://mailserver.fd.com/>. However,
abuse and postmaster are aliased to root, and root is aliased to my real-world
corporate email address.
Anything not destined for fd.com <http://fd.com/>, including email destined for
my corporate address, is sent upstream to a real, legitimate, internal mail
relay: mailserver.company.com <http://mailserver.company.com/>.
This is all handled by ancient Qmail software, running on an equally ancient
CentOS 5.11 server. I need to replace it with a shiny new RHEL 9 server,
running Postfix 3.5.9. (For various reasons, I need to use what comes with the
RHEL distro, otherwise I’d compile and use the latest.)
I used to know Postfix, but haven’t used it in over 15 years, and I cannot, for
the life of me, figure out how to configure it as a replacement for the above.
Suggestions?
For testing purposes, I think I’d want to point a number of the null clients at
the new server, and have it treat mailserver.fd.com <http://mailserver.fd.com/>
as its upstream server. Once debugged, I’d bring down mailserver.fd.com
<http://mailserver.fd.com/>, re-name and re-IP the new server to those used by
mailserver.fd.com <http://mailserver.fd.com/>, and tell it its upstream server
is the corporate server.
-ste
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org