#StackBounty: #dns #email #sendmail How to configure an email-forwarding system, usable as "MX" record in DNS

Bounty: 150

Context: let’s say I have the domain example.com, but the registrar doesn’t provide an "email forward" system.

How can I configure postfix (or even a simple Python script would be better, because I could customize certain forwarding rules) to use my server of IP as a server that only redirects every mail incoming to *@example.com ("catch-all") to myadress@gmail.com ?

The DNS record would probably be something like:

mx.example.com                   MX     mailforwarder.example.com
mailforwarder.example.com        A

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.