HI,
today one of my customer complaint his two email got bounced from gmail.com so I was investigating and found the logs that the email sent from IPv6 address, which I dont have any, I check the whois of the IP and found this is my datacenter provider IP address, But I dont use datacenter IP address, I use my own ipv4 IP address.
I check my proxmox mail gateway > configuration > Interfaced and I have only one ipv4 IP address.
please check the following logs, Please let me know did I configure something wrong?
2024-09-22T12:49:00.146349+05:30 proxmox postfix/smtpd[309666]: connect from server.server.com.com[xxx.xxx.xxx.xxx]
2024-09-22T12:49:00.157771+05:30 proxmox postfix/smtpd[309666]: Anonymous TLS connection established from server.server.com.com[xxx.xxx.xxx.xxx]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
2024-09-22T12:49:00.158830+05:30 proxmox postfix/smtpd[309666]: 26BD8101193: client=server.server.com.com[xxx.xxx.xxx.xxx]
2024-09-22T12:49:00.163851+05:30 proxmox postfix/cleanup[309669]: 26BD8101193: message-id=<003001db0cbf$b073fd80$115bf880$@sender.com>
2024-09-22T12:49:00.165646+05:30 proxmox postfix/qmgr[4865]: 26BD8101193: from=<user@sender.com>, size=13310, nrcpt=2 (queue active)
2024-09-22T12:49:00.167655+05:30 proxmox postfix/smtpd[309666]: disconnect from server.server.com.com[xxx.xxx.xxx.xxx] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
2024-09-22T12:49:00.218543+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: new mail message-id=<003001db0cbf$b073fd80$115bf880$@panstechnology.com>#012
2024-09-22T12:49:01.698908+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: SA score=0/5 time=1.425 bayes=0.00 autolearn=ham autolearn_force=no hits=AWL(-0.111),BAYES_00(-1.9),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),DMARC_PASS(-0.1),HTML_MESSAGE(0.001),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)
2024-09-22T12:49:01.702426+05:30 proxmox postfix/smtpd[309676]: connect from localhost.localdomain[127.0.0.1]
2024-09-22T12:49:01.703610+05:30 proxmox postfix/smtpd[309676]: ABBC5101374: client=localhost.localdomain[127.0.0.1], orig_client=server.server.com.com[xxx.xxx.xxx.xxx]
2024-09-22T12:49:01.745773+05:30 proxmox postfix/cleanup[309669]: ABBC5101374: message-id=<003001db0cbf$b073fd80$115bf880$@sender.com>
2024-09-22T12:49:01.747803+05:30 proxmox postfix/qmgr[4865]: ABBC5101374: from=<user@sender.com>, size=13513, nrcpt=3 (queue active)
2024-09-22T12:49:01.747917+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: accept mail to <gmailuser@gmail.com> (ABBC5101374) (rule: default-accept)
2024-09-22T12:49:01.748367+05:30 proxmox postfix/smtpd[309676]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=2 data=1 commands=6
2024-09-22T12:49:01.750487+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: processing time: 1.538 seconds (1.425, 0.052, 0)
2024-09-22T12:49:01.750849+05:30 proxmox postfix/lmtp[309670]: 26BD8101193: to=<gmailuser@gmail.com>, relay=127.0.0.1[127.0.0.1]:10023, delay=1.6, delays=0.01/0/0.04/1.5, dsn=2.5.0, status=sent (250 2.5.0 OK (10130966EFC4E432FB1))
2024-09-22T12:49:01.751279+05:30 proxmox postfix/qmgr[4865]: 26BD8101193: removed
2024-09-22T12:49:04.145648+05:30 proxmox postfix/smtp[309677]: Trusted TLS connection established to gmail-smtp-in.l.google.com[2404:6800:4003:c05::1a]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)
2024-09-22T12:49:06.447721+05:30 proxmox postfix/smtp[309677]: ABBC5101374: to=<gmailuser@gmail.com>, relay=gmail-smtp-in.l.google.com[2404:6800:4003:c05::1a]:25, delay=4.7, delays=0.04/0/2.7/2, dsn=5.7.25, status=bounced (host gmail-smtp-in.l.google.com[2404:6800:4003:c05::1a] said: 550-5.7.25 [ipv6 ip address] The IP address sending this 550-5.7.25 message does not have a PTR record setup, or the corresponding 550-5.7.25 forward DNS entry does not match the sending IP. As a policy, Gmail 550-5.7.25 does not accept messages from IPs with missing PTR records. For more 550-5.7.25 information, go to 550-5.7.25 https://support.google.com/a?p=sender-guidelines-ip 550-5.7.25 To learn more about Gmail requirements for bulk senders, visit 550 5.7.25 https://support.google.com/a?p=sender-guidelines. d9443c01a7336-207945ee00fsi87736955ad.64 - gsmtp (in reply to end of DATA command))
2024-09-22T12:49:07.200178+05:30 proxmox postfix/qmgr[4865]: ABBC5101374: removed
today one of my customer complaint his two email got bounced from gmail.com so I was investigating and found the logs that the email sent from IPv6 address, which I dont have any, I check the whois of the IP and found this is my datacenter provider IP address, But I dont use datacenter IP address, I use my own ipv4 IP address.
I check my proxmox mail gateway > configuration > Interfaced and I have only one ipv4 IP address.
please check the following logs, Please let me know did I configure something wrong?
2024-09-22T12:49:00.146349+05:30 proxmox postfix/smtpd[309666]: connect from server.server.com.com[xxx.xxx.xxx.xxx]
2024-09-22T12:49:00.157771+05:30 proxmox postfix/smtpd[309666]: Anonymous TLS connection established from server.server.com.com[xxx.xxx.xxx.xxx]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
2024-09-22T12:49:00.158830+05:30 proxmox postfix/smtpd[309666]: 26BD8101193: client=server.server.com.com[xxx.xxx.xxx.xxx]
2024-09-22T12:49:00.163851+05:30 proxmox postfix/cleanup[309669]: 26BD8101193: message-id=<003001db0cbf$b073fd80$115bf880$@sender.com>
2024-09-22T12:49:00.165646+05:30 proxmox postfix/qmgr[4865]: 26BD8101193: from=<user@sender.com>, size=13310, nrcpt=2 (queue active)
2024-09-22T12:49:00.167655+05:30 proxmox postfix/smtpd[309666]: disconnect from server.server.com.com[xxx.xxx.xxx.xxx] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
2024-09-22T12:49:00.218543+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: new mail message-id=<003001db0cbf$b073fd80$115bf880$@panstechnology.com>#012
2024-09-22T12:49:01.698908+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: SA score=0/5 time=1.425 bayes=0.00 autolearn=ham autolearn_force=no hits=AWL(-0.111),BAYES_00(-1.9),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),DKIM_VALID_EF(-0.1),DMARC_PASS(-0.1),HTML_MESSAGE(0.001),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)
2024-09-22T12:49:01.702426+05:30 proxmox postfix/smtpd[309676]: connect from localhost.localdomain[127.0.0.1]
2024-09-22T12:49:01.703610+05:30 proxmox postfix/smtpd[309676]: ABBC5101374: client=localhost.localdomain[127.0.0.1], orig_client=server.server.com.com[xxx.xxx.xxx.xxx]
2024-09-22T12:49:01.745773+05:30 proxmox postfix/cleanup[309669]: ABBC5101374: message-id=<003001db0cbf$b073fd80$115bf880$@sender.com>
2024-09-22T12:49:01.747803+05:30 proxmox postfix/qmgr[4865]: ABBC5101374: from=<user@sender.com>, size=13513, nrcpt=3 (queue active)
2024-09-22T12:49:01.747917+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: accept mail to <gmailuser@gmail.com> (ABBC5101374) (rule: default-accept)
2024-09-22T12:49:01.748367+05:30 proxmox postfix/smtpd[309676]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=2 data=1 commands=6
2024-09-22T12:49:01.750487+05:30 proxmox pmg-smtp-filter[288523]: 10130966EFC4E432FB1: processing time: 1.538 seconds (1.425, 0.052, 0)
2024-09-22T12:49:01.750849+05:30 proxmox postfix/lmtp[309670]: 26BD8101193: to=<gmailuser@gmail.com>, relay=127.0.0.1[127.0.0.1]:10023, delay=1.6, delays=0.01/0/0.04/1.5, dsn=2.5.0, status=sent (250 2.5.0 OK (10130966EFC4E432FB1))
2024-09-22T12:49:01.751279+05:30 proxmox postfix/qmgr[4865]: 26BD8101193: removed
2024-09-22T12:49:04.145648+05:30 proxmox postfix/smtp[309677]: Trusted TLS connection established to gmail-smtp-in.l.google.com[2404:6800:4003:c05::1a]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)
2024-09-22T12:49:06.447721+05:30 proxmox postfix/smtp[309677]: ABBC5101374: to=<gmailuser@gmail.com>, relay=gmail-smtp-in.l.google.com[2404:6800:4003:c05::1a]:25, delay=4.7, delays=0.04/0/2.7/2, dsn=5.7.25, status=bounced (host gmail-smtp-in.l.google.com[2404:6800:4003:c05::1a] said: 550-5.7.25 [ipv6 ip address] The IP address sending this 550-5.7.25 message does not have a PTR record setup, or the corresponding 550-5.7.25 forward DNS entry does not match the sending IP. As a policy, Gmail 550-5.7.25 does not accept messages from IPs with missing PTR records. For more 550-5.7.25 information, go to 550-5.7.25 https://support.google.com/a?p=sender-guidelines-ip 550-5.7.25 To learn more about Gmail requirements for bulk senders, visit 550 5.7.25 https://support.google.com/a?p=sender-guidelines. d9443c01a7336-207945ee00fsi87736955ad.64 - gsmtp (in reply to end of DATA command))
2024-09-22T12:49:07.200178+05:30 proxmox postfix/qmgr[4865]: ABBC5101374: removed