I need to catch all mails sent to “@example.com” and redirect them to a single mail account.
So if a mail was sent to test@example.com or testtest@example.com, both mails should be redirected to allmails@example.com.
I couldnt find a way yet to solve this problem – anyways i’m new to postfix and arent sure in which part of the documentation to look for this.
Put
into
/etc/postfix/virtualand make sure there’s ain
/etc/postfix/main.cf