Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
now i'm using redhat 7.0
and i 'd like to make web email, and web email progam need IMAP, the one that i use is from Washinton uni , but when i make confiure file, and read readme , it said i have to set something in ect/inet.conf. But i cant find it in red hat, Do u know how to do that?
============================================================
and another one, when i use Mandrake, i cant use
"telnet localhost" and "ftp localhost" but i can work on Red hat, DO U KNOW WHY?
I am using RH7.1. My imap file in /etc/xinet.d is setup, however when I try to connect to IMAP, xinetd doesn't not seem to start the daemon and I get a conntection refused. Does anyone have any ideas?
You can always work around xinitd problems by running the daemon all the time! Just start it from the command line, then put it in your startup scripts too. If you're expecting a reasonable number of connections to it then this will be more efficient than having start and stop all the time.
I thought inetd listened for connections for given ports and then started the appropriate daemon for that port (In the case of IMAP 143) and then send the request over to it. I guess what I'm asking is that I thought IMAP didn't fully listen on a port but was summonded by inetd?
In any case tho, I did try starting the IMAP daemon manually and still had the same problem (connection refused).
Oh by the way.. I have also tryied running 'telnet localhost 143' to even see if anything was listening on that port and still nothing. I also did a netstat -a | grep 143 and didn't see anything listening either... ther should be someone listening shouldn't there??
Originally posted by pdelucia I thought inetd listened for connections for given ports and then started the appropriate daemon for that port (In the case of IMAP 143) and then send the request over to it. I guess what I'm asking is that I thought IMAP didn't fully listen on a port but was summonded by inetd?
Yeah, thats right... I was just trying to say that you don't have to use inetd to start the daemon, and that in some situations you might not want to.
So you start the daemon by hand - does it start correctly? (ps -ef | more and look for the daemon [also when you tried by hand did you make sure that inetd wasn't also still trying to start it?]) Have you got any firewalling setup with either iptables or ipchains?
And you fail to get the connection to the server at all? Its not user authentication that fails?
i'm constantly getting Warning: Couldn't open stream {localhost:143}INBOX in /usr/local/httpd/htdocs/view.php on line 5 here is theportion of codes i wrote :
<?php
$username="user";
$password="password";
$mailserver="localhost:143";
$link=imap_open("\{$mailserver}INBOX",$username,$password);
echo $link ;
?>
i've already set the disable option to no in /etc/xinetd.d/imap and restart xinetd but when i'm doing the pgrep imapd i'm getting nothing, how can insure that threre is no firewall behind this imap.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.