View Full Version : Imap Server
jamesbond
27th June 2006, 10:16
i have installed Fedora 5 ....and dovecot & sendmail & squirrel mail........i got the squirrel mail login page but .......i am not able to loging in.....it is giving an error............
Error connecting to IMAP server: localhost.
10941 :
plz help me to resolve this problem.......
platd
27th June 2006, 10:32
Does
%telnet localhost 143
Trying ::1...
Connected to localhost.littlelight.org.uk.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THRE AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyr ight 1998-2005 Double Precision, Inc. See COPYING for distribution information.
Give any thing ? if so did you run the squirrelmail setup script and check the server settings. If not check why your imap server is not running. Also check the permissions on the squirrelmail directory as far as your web server is concerned. Check apache error logs and stuff
jamesbond
27th June 2006, 10:54
i have checked permissions for squirrel mail......& i have given 777 permissions. Still i am having errror ........................
But i am not able logging using telnet
telnet 192.168.0.201 143
Trying 192.168.0.201...
telnet: connect to address 192.168.0.201: Connection refused
telnet: Unable to connect to remote host: Connection refused
but normal telnet is working......
telnet 192.168.0.201
Trying 192.168.0.201...
Connected to *****.co.in (192.168.0.201).
Escape character is '^]'.
Fedora Core release 5 (Bordeaux)
Kernel 2.6.15-1.2054_FC5 on an x86_64
login:
platd
27th June 2006, 10:58
looks like your imap server is not running so you need to fix that.
oh of course dont forget firewall issues maybe depending on your setup and try
telnet localhost 143 rather than 192.168.0.201 just out of interest
I use bsd so can't help you much further if your imapd server is not running
good luck :)
jamesbond
27th June 2006, 11:03
ok thx.....
falko
28th June 2006, 10:40
What's the output of netstat -tap and iptables -L?
EL7oot
24th September 2006, 23:22
this is my "netstat -tap"
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 1853/mysqld
tcp 0 0 *:pop3 *:* LISTEN 1881/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1458/portmap
tcp 0 0 *:ndmp *:* LISTEN 2467/perl
tcp 0 0 dwc.com.eg:50000 *:* LISTEN 1698/hpiod
tcp 0 0 *:hosts2-ns *:* LISTEN 2282/ispconfig_http
tcp 0 0 dwc.com.eg:50002 *:* LISTEN 1703/python
tcp 0 0 PC52-4.yalla.com:domain *:* LISTEN 2433/named
tcp 0 0 dwc.com.eg:domain *:* LISTEN 2433/named
tcp 0 0 dwc.com.eg:ipp *:* LISTEN 1715/cupsd
tcp 0 0 dwc.com.eg:rndc *:* LISTEN 2433/named
tcp 0 0 *:smtp *:* LISTEN 2377/master
tcp 0 0 *:48761 *:* LISTEN 1477/rpc.statd
tcp 0 0 dwc.com.eg:50000 dwc.com.eg:40598 ESTABLISHED 1698/hpiod
tcp 0 0 dwc.com.eg:40598 dwc.com.eg:50000 ESTABLISHED 1703/python
tcp 0 0 *:http *:* LISTEN 2306/httpd
tcp 0 0 *:ftp *:* LISTEN 5682/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 1744/sshd
tcp 0 0 *:https *:* LISTEN 2306/httpd
tcp 0 1964 PC52-4.yalla.com:ssh ::ffff:196.204.149.1:uohost ESTABLISHED 7286/1
-----------------------------------------------------------
-----------------------------------------------------------
and iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere 127.0.0.0/8
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere
Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain PAROLE (9 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:http
PAROLE tcp -- anywhere anywhere tcp dpt:hosts2-ns
PAROLE tcp -- anywhere anywhere tcp dpt:pop3
PAROLE tcp -- anywhere anywhere tcp dpt:https
PAROLE tcp -- anywhere anywhere tcp dpt:ndmp
ACCEPT udp -- anywhere anywhere udp dpt:domain
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere
Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
---------------------------------------------------------------
---------------------------------------------------------------
i followed perfect setup fedora 5
please help me
falko
25th September 2006, 14:32
Do you want to connect using IMAP or POP3? For IMAP you must open port 143 in your firewall and probably change /etc/dovecot.conf.
EL7oot
26th September 2006, 21:44
i want to use pop3 so the users be able to connect to server through Ms.outlook or any other program using pop3 protocol
and SquirrelMail as webmail interface
is this possible ????
thanx
falko
27th September 2006, 22:01
i want to use pop3 so the users be able to connect to server through Ms.outlook or any other program using pop3 protocol
and SquirrelMail as webmail interface
is this possible ????
Yes, sure. Which distribution do you use?
EL7oot
29th September 2006, 16:55
linux Fedora Core 5 with ISPConfig 2.2.6
i followed perfect setup for Fedora 5
___________________________________
errmsg:
"Error connecting to IMAP server: localhost.
111 : Connection refused"
falko
1st October 2006, 01:33
Did you disable SELinux?
EL7oot
1st October 2006, 15:04
yes i have disabled SELinux
SELINUX=disabled
thanks for your patience
falko
2nd October 2006, 13:52
i have installed Fedora 5 ....and dovecot & sendmail & squirrel mail........i got the squirrel mail login page but .......i am not able to loging in.....it is giving an error............
Error connecting to IMAP server: localhost.
10941 :
plz help me to resolve this problem.......
Did you enable IMAP in /etc/dovecot.conf?
EL7oot
13th February 2007, 15:21
yes
this my /etc/dovecot.conf *
# Protocols we want to be serving:
# imap imaps pop3 pop3s
#protocols = imap imaps pop3
protocols = imap pop3
is this correct ??
-------------------------------------
this opened ports from ISPconfig Local Portscanner
Port 21 (tcp) is open (ftp)!
Port 22 (tcp) is open (ssh)!
Port 25 (tcp) is open (smtp)!
Port 53 (tcp) is open (domain)!
Port 80 (tcp) is open (http)!
Port 81 (tcp) is open (ISPConfig)!
Port 110 (tcp) is open (pop3)!
Port 111 (tcp) is open (sunrpc)!
Port 143 (tcp) is open (imap)!
Port 443 (tcp) is open (https)!
Port 631 (tcp) is open (ipp)!
Port 953 (tcp) is open (rndc)!
Port 3306 (tcp) is open (mysql)!
thx
falko
14th February 2007, 20:29
Looks ok. If your firewall doesn't block ports 110 and 143, your users should be able to use POP3 and IMAP.
EL7oot
14th February 2007, 20:51
but this is my output of telnet command
[root@dwc /]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 dwc.com.eg ESMTP Sendmail 8.13.5/8.13.5; Wed, 14 Feb 2007 20:34:48 +0200
ehlo localhost
250-dwc.com.eg Hello dwc.com.eg [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
thanks for your patience
falko
15th February 2007, 20:20
You said you followed the Perfect Setup in which Postfix gets installed, and now I see that you use Sendmail:
220 dwc.com.eg ESMTP Sendmail 8.13.5/8.13.5; Wed, 14 Feb 2007 20:34:48 +0200
So I guess you used your own setup?
EL7oot
17th February 2007, 12:26
i'm beginner to linux systims so i don't know how to install any thing by my self
now i can't start postfix
[root@dwc ~]# service postfix start
Starting postfix: [FAILED]
-------------------------------------------------------
thx
martinfst
17th February 2007, 12:47
That's because you have installed / activated sendmail. Sendmail and Postfix are mutual exclusive on the same server.
Remove sendmail. yum remove sendmail
falko
18th February 2007, 20:02
i'm beginner to linux systims so i don't know how to install any thing by my self
But the PErfect Setup shows everything you have to do...? :confused:
EL7oot
19th February 2007, 15:12
really it's perfect
i know that
but i dont know how this problem happend
now i have uninstalles sendmail but i still cant start postfix
i think i'll install a new systim
thanx falko
and many many thanx for you
peace .....
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.