I have used postfix on vine-linux legacy machine names "vine.domain.com (@ 210.251.xx.xx/28)" and have set mailalias on /etc/aliases:
mike: [email protected]
for a long time. I have put $mydestination entry on /etc/postfix/main.cf
mydestination = $myhostname, localhost.$mydomain $mydomain, somedomain.to
So usually postfix on vine.domain.com receives emails to "[email protected]" and passes through to "[email protected]".
After we have just incremented serial of DNS record @somedomain.to, suddenly vine.domain.com fails email transfer from vine.domain.com to MX.gmail.com. Here /var/log/maillog says:
Jul 19 17:53:29 vine postfix/smtp[14423]: 457C3C5FED: to=, relay=none, delay=0, status=bounced (Name service error for gmail.com: Host found but no data record of requested type)
When we works well, the maillog was like this:
Jul 14 16:14:32 vine postfix/local[27176]: 7C759C6408: to=, relay=local, delay=0, status=sent(forwarded as B4070C6410)
Jul 14 16:14:34 vine postfix/smtp[27198]: B4070C6410: to=, relay=gmail-smtp-in.l.google.com[74.125.68.27], delay=2, status=sent (250 2.0.0 OK 1468488457 sl8si2007458pab.264 - gsmtp
I wonder that this trouble came from DNS issues @vine.domain.com, but I can not find where I correct the trouble first. I can not find proper information in terms of the issue on this website.
Here is a result of postfix -n . Thank you for your sincere support.
bash# /usr/sbin/postconf -n
alias_database = hash:/etc/postfix/aliases, hash:/var/spool/ml/etc/aliases
alias_maps = hash:/etc/postfix/aliases, hash:/var/spool/ml/etc/aliases
allow_mail_to_commands = alias,forward,include
allow_percent_hack = no
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = fml
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mydestination = $myhostname, localhost.$mydomain $mydomain, somedomain.to
mydomain = domain.com
myhostname = vine.domain.com
mynetworks = 210.251.xx.xx/28, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
queue_directory = /var/spool/postfix
relay_domains = $mydestination
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
virtual_maps = hash:/etc/postfix/virtual
vine.domain.com
, and an A and MX record also?