I've configured a new WordPress website to send emails from
email@example.com for things like user registrations, password resets and newsletters.
firstname.lastname@example.org is the only other mailbox for this domain which is what the site's owner will use for enquiries and personal outgoing mail.
email@example.com uses Namecheap's private email hosting, while
firstname.lastname@example.org uses my own iRedMail mail server. I am able to receive emails at
email@example.com and send from
firstname.lastname@example.org without issues, however if I try send an email from
email@example.com, I receive the following error:
5.1.1 : Recipient address rejected: User unknown in virtual mailbox table. Please check the message recipient firstname.lastname@example.org and try again.
What can I do about this? I have tried creating a
email@example.com user on the iRedMail server, however emails sent from
firstname.lastname@example.org go to the inbox on the iRedMail server rather than the intended Namecheap inbox.
This is an issue primarily because the contact form on the site will send enquiries to