Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: EbonyWood on June 21, 2021, 05:18:48 PM

Title: Help: Unable to recieve emails but can send out from a new created email accont
Post by: EbonyWood on June 21, 2021, 05:18:48 PM
I am running Centos 7. The new email, account that cant receive message but can send, was created on the primary CWP7 panel domain account: the error that I get is

"postfix/trivial-rewrite[25355]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains"

And the bounce back error to a sender is:

"This is the mail system at host: mydomain.com I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system
<newemail@mydomain.com>: unknown user: 'newemail' "

Can some one hep me out to fix it?
Title: Re: Help: Unable to recieve emails but can send out from a new created email accont
Post by: Igor S. on June 25, 2021, 06:58:29 PM
Hi, there.
First of all, you must not touching system files. :)
Make sure you have the correct MX record, you have added the mailbox you trying to use and you have rebuilt mail server via CWPadmin.
Title: Re: Help: Unable to recieve emails but can send out from a new created email accont
Post by: Starburst on June 25, 2021, 11:23:34 PM
If it's a new server and nothing is on it, you might want to consider starting from scratch.

Make sure you hostname has a valid A record and rDNS.
As well as the domain has a valid MX and A records, like Igor suggested.