Postfix not working
-
I jad install pfsense on x550e and everything works fine on it except for postfix. It was working at first but after configuring snort it seems that it totally stoped. maillog does not show any attempts to connect to it so maybe pfsense is blocking access to postfix. Where I can look for debug information
-
I'd check snort first. blocked hosts, alerts etc and possibly try specifying the gateway as as smtp server in snort. If that fails, remove snort to see if it works. For what it's worth, I have the two of them running side by side without any special setup.
-
I had disabled snort I see in firewall logs mail servers attempting connection to port 25. I used putty to telnet to port 25 and my wan ip address n I see hello from postfix. I signedup for micro instance on amazon and attempted to use putty to connect to port 25 and my ipaddress and I don't see a hello and nothing in logs I don't know if amazon blocks port 25
-
it could be as some do block port 25. you might want to try port 587 and see what that yields.
-
I had fixed it by adding correct rule to firewall. I had to create rule from any port to 25 on wan ip. It strange that my old pfsense did not had such rule and postfix just worked
-
strange indeed. pfsense generally needs a port forwarding and firewall rule for internal servers or a wan rule if you are using postfix. glad it's going.
-
strange indeed. pfsense generally needs a port forwarding and firewall rule for internal servers or a wan rule if you are using postfix.
If you have postfix listening on wan, you do not need a nat, just a rule on wan allowing traffic from internet to wan address port 25.
Using nat to forward traffic from wan port 25 to internal server, will "jump" postfix and send internet traffic direct to internal severs.
att,
Marcello Coutinho -
It was rule not nat. I don't belive nat allows wan ip address in rules.
It works great and it had cutdown on spam. I am running it on x550e and
var is in ram. Is there a way to incerease size of var or postfix would benefit from its own ram drive. It seems that when var fills up and /var/spool/postix is smaller than assigned email size postfix will not relay messages. I had to decrease email size from 30 mb to 20 mb. So if var fillsup with logs and stuff postfix stops working.