using seperate mail server to send website emails, cannot send email to mailboxes on the same domain
I've configured a new WordPress
website to send emails from no-reply@domain.com
for things like
user registrations, password resets and newsletters.
The email
info@domain.com
is the only other mailbox for this domain which
is what the site's owner will use for enquiries and personal outgoing mail.
info@domain.com
uses
Namecheap's private email hosting, while no-reply@domain.com
uses my own iRedMail mail server. I am able to receive emails at
info@domain.com
and send from
no-reply@domain.com
without issues, however if I try send an
email from no-reply@domain.com
to
info@domain.com
, I receive the following
error:
5.1.1 :
Recipient address rejected: User unknown in virtual mailbox table. Please check the
message recipient info@domain.com and try
again.
What can I
do about this? I have tried creating a info@domain.com
user on
the iRedMail server, however emails sent from
no-reply@domain.com
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
info@domain.com
.
The error
message that you are receiving is coming from your internal iRedMail mail server and is
not a response from the Namecheap SMTP server. Since you configured iRedMail with the
Domain "domain.com" it does not even attempt to send mail outside of its own mail server
for the email domain that it believes it is
hosting.
Configure the Wordpress server to send
email through Namecheap's SMTP server rather than the localhost iRedMail
server.
Comments
Post a Comment