Solved

iptables mail port

Posted on 2004-08-23
5
376 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 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