Hi,
Problem resolved. I am very surprised at what was causing the problem.
I have a VPS and it was serving keiththewebguy.com.
I decided I wanted to learn BIND / Let's Encrypt / Postfix / Dovecot.
I changed the host/glue records for keiththewebguy.com pointing then to
my home server.
I then started to configure an old laptop as a LAMP server. Then I
added BIND... all was well.
Then I added the free SSL ... again all was well.
Then I added Postfix and Dovecot.
I then circled back and fixed a couple things.
I was able to send email to a domain hosted on my VPS, however I was not
able to send from the VPS to keiththewebguy.com. My home server email
worked with gmail and yahoo mail.
Got my ISP involved and I learned the unexpected.
I had not removed the vhost on the VPS for keiththewebguy.com, so when I
sent email from the VPS to my home server, it saw the same email on the
local server (VPS) and routed it to the inbox.
I am very surprised this occurred. I would have thought the sending
server (VPS) would follow the DNS to my home server.
I removed the vhost for keiththewebguy.com off my VPS and now I can send
from the VPS to my home server.
Is this normal behavior?
Thanks!!
On 2021-07-08 10:59, techli...@phpcoderusa.com wrote:
Hi,
I am running Ubuntu 20.04lts / Apache / MySql (or a clone) / PHP /
BIND9 / Postfix / Dovecot
Web server works. I have configred a lot of LAMP virtual host
servers. I am new to BIND9 / Postfix / Dovecot.
FQDN is soho.keiththewebguy.com
MX record is : keiththewebguy.com. IN MX 10
soho.keiththewebguy.com.
A Record : soho.keiththewebguy.com. IN A 98.191.108.149
Reverse (PTR) record: 149.108.191.98.in-addr.arpa ->
soho.keiththewebguy.com
https://intodns.com/keiththewebguy.com says things are configured
correctly.
I have a Let's Encrypt wild card SSL which I placed in Postfix and
Dovecot.
Nothing that looks like an error in : /var/log/mail.log or
/var/log/syslog
I can send email however I cannot recieve.
Any thought how I can troubleshoot this?
Thanks!!