I have a domain for which I want to forward all email destined for addresses at that domain to a single email address. For example, I want to forward john@example.com and fred@exapmle.com and mary@example.com to the email address john.doe@gmail.com
I've currently set this up by pointing my domain's MX record to my server running Postifx 2.3.3 under CentOS 5.7. This succeeds in forwarding the emails however I've been unable to get Sender Rewriting Scheme working which results in many of the forwarded emails being categorized as spam.
So, I don't care what MTA I use (sendmail, postfix, exim, etc) since the only function it's going to serve is to forward this domains email.
What's the easiest way to, using an MTA and some modification, get email forwarded from a domain to an email address using SRS? Ideally this would be an MTA that can be installed with yum/rpm and a modification/patching process to enable SRS that can be done without recompiling the MTA.
Finally, it's very possible I'm going about this entirely the wrong way. My only real goal is to forward all emails destined for anything@example.com to a single email address and not have those emails categorized as spam. If this can be accomplished with a service, or some other method than running my own MTA with an SRS patch, that would also solve my problem.
Here