Hi,
I was using same setup with PMG 7.x without any problem and updated with fresh install to 8.1.2, my system works as below;
My router (192.168.2.254)->PMG(192.168.2.24 - mxp01.mydomain.com)->Zimbra (192.168.2.32 - mail.mydomain.com), i can send emails to outer world without any problem and i can receive mails from gmail, yahoo, yandex etc. but when some one sends an email through any .com, .net, .com.tr domains it returns error and not delivering to recipient.
Error message as below;
As far as i understand it marks incoming traffic from 192.168.2.254 because it's my LAN router, so incoming traffic which comes to my wan ip, transporting through router to server, but why it started to check spf record to router with new version, this setup was working without any problem on 7.x version.
my /etc/hosts file :
my /etc/hostname file :
If i add sender's domain to whitelist through MailProxy->Whitelist then it starts to receive & deliver mails without any problem, but this option is not suitable because there are millions of domains
As a rookie most probably i'm doing something wrong but, my basic configuration as attached, what ami doing wrong here?
I was using same setup with PMG 7.x without any problem and updated with fresh install to 8.1.2, my system works as below;
My router (192.168.2.254)->PMG(192.168.2.24 - mxp01.mydomain.com)->Zimbra (192.168.2.32 - mail.mydomain.com), i can send emails to outer world without any problem and i can receive mails from gmail, yahoo, yandex etc. but when some one sends an email through any .com, .net, .com.tr domains it returns error and not delivering to recipient.
Error message as below;
Code:
2024-03-05T12:18:56.894661+03:00 mxp01 postfix/smtpd[328563]: connect from unknown[192.168.2.254]
2024-03-05T12:18:57.700186+03:00 mxp01 postfix/smtpd[328563]: NOQUEUE: reject: RCPT from unknown[192.168.2.254]: 554 5.7.1 <recipient@mydomain.com>: Recipient address rejected: Rejected by SPF: 192.168.2.254 is not a designated mailserver for sender@sender.com.tr (context mfrom, on mxp01.mydomain.com); from=<sender@sender.com.tr> to=<recipient@mydomain.com> proto=ESMTP helo=<EUR05-AM6-obe.outbound.protection.outlook.com>
2024-03-05T12:18:57.700274+03:00 mxp01 postfix/smtpd[328563]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "recipient@mydomain.com" from client "unknown[192.168.2.254]"
2024-03-05T12:18:57.796172+03:00 mxp01 postfix/smtpd[328563]: disconnect from unknown[192.168.2.254] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
As far as i understand it marks incoming traffic from 192.168.2.254 because it's my LAN router, so incoming traffic which comes to my wan ip, transporting through router to server, but why it started to check spf record to router with new version, this setup was working without any problem on 7.x version.
my /etc/hosts file :
Code:
127.0.0.1 localhost.localdomain localhost
192.168.2.24 mxp01.mydomain.com mxp01
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
my /etc/hostname file :
Makefile:
mxp01
If i add sender's domain to whitelist through MailProxy->Whitelist then it starts to receive & deliver mails without any problem, but this option is not suitable because there are millions of domains
As a rookie most probably i'm doing something wrong but, my basic configuration as attached, what ami doing wrong here?