I've searched high and low for an answer. This seems so simple...
Domain = chadmccan.com
Server 1 = admin.mo.chadmccan.com
Server 2 = leroy.mo.chadmccan.com
Email for my domain is handled by Google Apps. MX records point there, I receive a ton of email there.
I have 2 systems. admin.mo.chadmccan.com, which is designed to be the "gateway" for all services, including email.
On the same network, is leroy.mo.chadmccan.com. It's just an application server, for random apps, including a webserver.
I'm using submit.mc (submit.cf) for relaying through admin.
/etc/submit.mc
Code:
FEATURE(`msp', `[admin]')dnl
/etc/aliases
Code:
root: blahblah@chadmccan.com
Leroy runs logwatch and emails logwatch to "root" every night. The mail is accepted by admin, then a bounce is generated to
root@leroy.mo.chadmccan.com. I never receive the email.
I just want all of my systems to email anything that goes to "root" to
blahblah@chadmccan.com relaying via admin.mo.chadmccan.com. Is this impossible?