Solved

iptables mail port

Posted on 2004-08-23
5
362 Views
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.
Thanks.
0
Comment
Question by:jnwry
  • 2
  • 2
5 Comments
 
LVL 14

Expert Comment

by:pablouruguay
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

0
 
LVL 1

Author Comment

by:jnwry
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
0
 
LVL 14

Accepted Solution

by:
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
0
 
LVL 1

Author Comment

by:jnwry
ID: 11874439
cool thanks.
0
 
LVL 1

Expert Comment

by:master_chris
ID: 11910092

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

to be able to check your email from outlook.



0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now