#1 (permalink)  
Old 05-08-2003, 01:53 AM
WeMasterz5's Avatar
Registered User
 
Join Date: Feb 2003
Location: Miami
Posts: 361
WeMasterz5
imap started ok

but.... (hehe always a but eh? )

I dont use outlook type email systems but I have some clients that do...one asked about using imap...I have read most of the post dated 2002 here in these forums with a search for imap settings..I have done just about all that everyone suggested...I tried using outlook set to imap and it would not connect...pop3 works fine...

can someone suggest something to maybe help me get this going

were on WHM 6.2.0 Cpanel 6.4.1-E31 RedHat 8.0

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-08-2003, 04:10 PM
Registered User
 
Join Date: Apr 2003
Posts: 20
lhpnet
It's likely that port port 143 is not open for imap connections.

vi /etc/sysconfig/iptables

add the line to ACCEPT connections on port 143 (you'll know what line to add when you're there) , remember it's udp not tcp protocol, udp does not use --syn either.

then:
/etc/init.d/iptables restart

ML
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-08-2003, 04:30 PM
WeMasterz5's Avatar
Registered User
 
Join Date: Feb 2003
Location: Miami
Posts: 361
WeMasterz5
Thanks


Quote:
vi /etc/sysconfig/iptables
I dont see that...

/etc/sysconfig/.iptables.swp

is what I see there

when running that..I get

E325: ATTENTION
Found a swap file by the name "/etc/sysconfig/.iptables.swp"
owned by: root dated: Thu May 8 17:22:27 2003
file name: /etc/sysconfig/iptables
modified: no
user name: root host name: bliss.cyberwirecafe.net
process ID: 15576 (still running)
While opening file "/etc/sysconfig/iptables"

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/sysconfig/iptables"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/sysconfig/.iptables.swp"
to avoid this message.
"/etc/sysconfig/iptables" [New File]
Hit ENTER or type command to continue
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-08-2003, 04:53 PM
Registered User
 
Join Date: Apr 2003
Posts: 20
lhpnet
It's the swap file when you vi iptables the last time and got disconnected (quit without closing the file)

You need to recover that file for the firewall to work.
this is what /etc/iptables should have:
--------------------
# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
# firewall; such entries will *not* be listed here.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 25 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 23 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 53 -j ACCEPT

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 110 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 143 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 27015 -j ACCEPT

-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT
COMMIT



----------------
nevermind, imap uses tcp protocol.

ML
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-08-2003, 05:20 PM
WeMasterz5's Avatar
Registered User
 
Join Date: Feb 2003
Location: Miami
Posts: 361
WeMasterz5
Quote:
You need to recover that file for the firewall to work
and how is this done?


Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-08-2003, 05:34 PM
Registered User
 
Join Date: Apr 2003
Posts: 20
lhpnet
well, I suggest you create a new file and paste that content in.

ML
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-08-2003, 05:47 PM
WeMasterz5's Avatar
Registered User
 
Join Date: Feb 2003
Location: Miami
Posts: 361
WeMasterz5
ok...kinda worried about doing this...have never messed with the iptables...all the normal ports are open now...so putting this does what?


thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-08-2003, 07:56 PM
Registered User
 
Join Date: Apr 2003
Posts: 20
lhpnet
It will open port 143 to accept connections for imap server.

Right now, on your box try :
telnet localhost 143
If you see something, try FROM HOME:
telnet <your IP> 143 see if you have the same.

If not work, it's because you don't have port 143 open (it's NOT open by default by cpanel).
You can try /etc/init.d/iptables stop and telnet (FROM HOME) again.
If it works, you can turn iptables back on and fix the config file. then restart iptables.

ML
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-08-2003, 08:10 PM
WeMasterz5's Avatar
Registered User
 
Join Date: Feb 2003
Location: Miami
Posts: 361
WeMasterz5
* OK [capability imap4rev1 login-refeffals auth=login] bliss.####.net imap4rev1 2002.235-cpanel at todays date and time
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-08-2003, 08:49 PM
Registered User
 
Join Date: Apr 2003
Posts: 20
lhpnet
if you can telnet to your server port 143 FROM OUTSIDE then you don't need to change anything.

ML
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 05-08-2003, 09:15 PM
WeMasterz5's Avatar
Registered User
 
Join Date: Feb 2003
Location: Miami
Posts: 361
WeMasterz5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:18 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc