iptables mail port

Posted on 2004-08-23
Last Modified: 2010-03-18
Hi. I need to know what to add to iptables so that my users can receive their email using outlook.
Question by:jnwry
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 14

Expert Comment

ID: 11873879
..... no. iptables is not for that. or explain better please.

iptables is a firewall for linux, not a connector between linux and outlook. if you have outlook you only need to configure pop3 server or imap and check. nothing is neccesary for this connection. is pure pop3/imap


Author Comment

ID: 11874106
I realize that. My problem is that my users can't download their emails because the firewall is restricting permissions to do this
LVL 14

Accepted Solution

pablouruguay earned 125 total points
ID: 11874160
ahhh ok. you need to add this lines to your firewall

iptables -A INPUT -p tcp -m tcp --dport 110 -j ACCEPT
iptables -A INPUT -p tcp -m tcp  --dport 143 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 25 --syn -j ACCEPT

Firs line POP3
Second IMAP
Third  SMTP

Author Comment

ID: 11874439
cool thanks.

Expert Comment

ID: 11910092

You need to also add your local ip range in /etc/mail/access

to be able to check your email from outlook.


Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Multicast - Linux 4 45
BIND DNS - Single Zone 2 views 5 87
Computers missing from Windows Explorer Networks 10 188
What are recommended OS for exim mail server? 10 132
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question