imap prob

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
Post Reply
knuppel
Posts: 102
Joined: 2003-12-04 12:13
 

imap prob

Post by knuppel »

hab nen V Server bei Greatnet.....dacht imap sei installiert

mit folgendem code :
<?php
$mh = imap_open("{localhost:143}INBOX", $user, $pass);
if (imap_ping($mh)) {
echo "Stream ist aktiv";
} else {
echo "Stream ist inaktiv";
}
?>

krieg ich folgende

Warning: Couldn't open stream {localhost/pop3:110}INBOX in /opt/web1/html/imap.php on line 2
Kann IMAP Stream nicht öffnen

telnet localhost 143
bringt mir connection refused...
hab auch den service in der inetd... dings geändert

weiß einer Rat?
jtb
Posts: 599
Joined: 2002-08-18 16:41
Location: Darmstadt
Contact:
 

Re: imap prob

Post by jtb »

überprüf mal deinen Code..
Die Warning passt nicht zum open (Port 143 und 110)!?

Ansonsten: hast du eine Firewall? was sagt netstat? Ist der Imap-Port überhaupt offen?
knuppel
Posts: 102
Joined: 2003-12-04 12:13
 

Re: imap prob

Post by knuppel »

wie kann ich das überprüfen?

bzw wir kann ich ihn öffnen?
Post Reply