Hello,
How do I change the postfix value on the aapanel mail server, so that I can receive all emails from any domain, in which domain I set the DNS using mx records on my main domain mail server.
The illustration is as follows:
my mail server :
- host : mail.ttmail.com
- active catch-all email, all emails received by *@ttmail.com will be sent to admin@ttmail.com
- The DNS mailserver for the ttmail.com domain is OK (according to the directions on aapanel), and the mailserver is functioning properly
- I want my second domain, for example "youmail.com", I set the DNS to be the same as the DNS MX Records of the main domain, namely: mail.ttmail.com (Priority 10)
- I want the domain "youmail.com" to receive email to any username (*@youmail.com) and be forwarded to admin@ttmail.com
But when I test sending email to the youmail.com domain, I get the error message "Relay access denied"
How do I modify postfix so that any domain (any username) can receive mail?
Thank You.