I'm looking for a way to deliver messages delivered to me by straight SMTP feed
and forward them to another SMTP server.
So for example I have :
domain.com IN MX mail1.domain.com
So if you mail firstname.lastname@example.org my mail
does arrive. Now I wonder how I can tell sendmail
that any mail delivered which is addressed to
email@example.com should be
forwarded to another SMTP server.
The really nasty thing is that this other SMTP
server is local address. So no MX record from
the outside is going to help me here.
I somehow need to teach sendmail his own MX
records. I've tried looking for it on Google but most
answers I got all pointed towards MX records.
Others where very nasty tricks involving redirecting.