post/dovecot
HI,
our company is running postfix and dovecot as mail servers on centOS. the outgoing mail has no problem but we cannot receive any mails. i have no idea if its a firewall issue, a misconfigured mail server. thank you and God bless. |
Can you provide more details as to the nature of the problem? What do the log files say? Where does mail stop getting delivered. Have you checked the three way handshake and the MX records?
Regards, Alunduil |
post/dovecot
honestly sir i have no idea where to start. in mxtool.com when doing port scan it says that the ports 110 and 25 are closed. only port 80 is open.
|
post/dovecot
in ms outlook 2003 we can send email to anywhere and has no error, but we cannot receive any incoming mails.
|
What kind of firewall do you have in front of the postfix service? To check for iptables you can use: `iptables -vL` but if it's a hardware firewall you'll have to talk to your hosting company about how to modify the hardware firewall.
Out of curiosity, which hosting provider do you use? Regards, Alunduil |
our firewall is pfsense 1.2.3-RC1. is iptables the default firewall of cent0S?
|
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination This is the output sir. |
There isn't really a default firewall of CentOS but it does ship with iptables. Is port 25 blocked by your pfsense firewall?
|
it is in the NAT of pfsense, along with the pop3 and the email servers IP.
|
I don't understand what you mean. pfsense is a NATing firewall that maps to a private IP on the server?
Regards, Alunduil |
Yes, I think so.
|
As per my understanding first you check mail server iptable status . If it is running then you first stop it and check you mails. If iptables not running your server then need to open port
in your firewall. You also analysis your log files and hope you understand your problem. Best of Luck.. |
Applying iptables firewall rules: iptables-restore: line 3 failed
[FAILED] This is the result of stop/start iptables. Where do I locate the iptables? Thanks |
The iptables rules are stored in /etc/sysconfig but if you're not using iptables you want to simply leave it off and make sure chkconfig lists it as off as well.
Regards, Alunduil |
If ports 110 and 25 are closed it is also possible that the applications that run on them (postfix and dovecot) are not running. What is the output of:
Code:
netstat aux | grep postfix and netstat aux | grep dovecot If they aren't running, try telling them to restart and check the processes again. Then look at your syslog to see if you get any sort of error message that tells you what is going on. Of course, this is all assuming that the problem isn't caused by your firewall. |
All times are GMT -5. The time now is 11:23 PM. |