Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I´m trying to configure a dovecot imap server but I´m having some problems with the imap port in my firewall.

I use the APF (advance policy firewall) for managing iptables on a centos server. I try to open the 143 port, but with every nmap, the port appears as "filtered", and I´m unable to connect to imap from the mail client.

Any idea? Thanks in advance!

share|improve this question
up vote 1 down vote accepted

I would test the port with telnet or ncat to make sure the firewall doesn't have something that blocks scans.

telnet imap-server-ip 143

If that doesn't work, post your iptables rules:

sudo iptables -L -v
share|improve this answer
argggh, your answer made me remember that we have our offices under a firewall with the imap port closed, so the problem was here, not in the remote servers... arghhh... thanks for all! – Simon Aug 27 '09 at 16:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.