Mail Server behind pfsense
-
Hi everyone,
I am new to pfsense and firewall issue, so I hope someone here can give me a hand about this issue.
The environment is the following:
Pfsense IP: 192.168.1.1 –> Firewall
Mail Server 1: 192.168.1.2 --> currently hosting my company emails
Mail Server 2: 192.168.1.3 --> just for smtp servicePfsense NAT: External 25 --> 192.168.1.2 port 25
External 1025 --> 192.168.1.3 port 25Here is the situtation.
Mail Server 1 can send out emails to other domains and receive emails from other domains.
Mail Server 2 can send out emails to other domains as well, however it has problem to send emails to Mail Server 1 and it has the following error msg in mail log45EB062CB5: to=tsuser1@xxx.com, relay=none, delay=29822, delays=29790/0.01/32/0, dsn=4.4.1, status=deferred (connect to mail.xxx.com[x.x.x.x]:25: Connection timed out)
remarks: xxx.com is my company domain, x.x.x.x is my company public IP(Pfsense External IP)
In this situation, I believe there is a connection problem from Mail Server 2 to external IP port 25, I think there should have some Firewall Rules I need to add to solve this problem.
Thanks./tsuser1@xxx.com
-
Make sure that you have NAT reflection turned on (though I think I read somewhere on the forums that it is currently broken).
-
Thx, it works after i turned on the NAT Reflection.
-
Thx, it works after i turned on the NAT Reflection.
I had the same problem with my mail server, NAT reflection fixed it perfect.
-Jamie M.