Click to See Complete Forum and Search --> : mail server problem


mitzman
01-05-2001, 10:24 PM
ok, so i wanna use the default installed pop3 and imap servers. i've uncommented the lines in inetd.conf and restarted, but the box is refusing connections on that port. i have rh6.2 can anyone help please?

------------------
You can change your name to Homer Junior. All the kids can call you HoJu.

andrzej
01-06-2001, 06:38 PM
Originally posted by mitzman:
ok, so i wanna use the default installed pop3 and imap servers. i've uncommented the lines in inetd.conf and restarted, but the box is refusing connections on that port. i have rh6.2 can anyone help please?


Have you checked /etc/hosts.deny and /etc/hosts.allow ?

Try to telnet to the pop3 port and see your logs.

Are you sure the pop3 server is installed ?
Check if you have /usr/sbin/ipop3d

Andrzej

mitzman
01-06-2001, 07:01 PM
ipop3d does not get invoked by it's own binary, it's invoked by calling tcpd ipop3d

anyway, i'll try telnetting to that port after enabling it and which log should i check?

-d

andrzej
01-06-2001, 07:51 PM
Originally posted by mitzman:
ipop3d does not get invoked by it's own binary, it's invoked by calling tcpd ipop3d


You are perfectly mistaken. Read 'man tcpd' to see what tcpd does. You need ipop3d. I insist that you should check if /usr/sbin/ipop3d exists on your system.

If it does exist and it still does not work you should probably check /var/log/messages. (depends on your syslogd configuration).

mitzman
01-06-2001, 09:09 PM
gotcha. i checked it out and there exists no ipop3d fiel in /usr/sbin or at all in the system. also /var/log/messages yielded no results either. I could swear ipop3d was invoked by calling tcpd ipop3 because inetd.conf shows that's how the default pop3 daemon should be called. i guess i am mistaken. any other ideas?

andrzej
01-07-2001, 05:24 AM
Why don't you want to read 'man tcpd' ?
It IS tcpd that executes ipop3d.

inetd starts tcpd, tcpd checks if it should run ipop3d and eventually runs it.

It's all at the very first man screen !

Andrzej

mitzman
01-07-2001, 01:37 PM
Originally posted by andrzej:
Why don't you want to read 'man tcpd' ?
It IS tcpd that executes ipop3d.

inetd starts tcpd, tcpd checks if it should run ipop3d and eventually runs it.

It's all at the very first man screen !

Andrzej

yeah, so i read the man page and i know what you mean. shouldn't the ipop3d file be included if it is already in the inetd.conf file though?

iDxMan
01-07-2001, 02:18 PM
Originally posted by mitzman:
yeah, so i read the man page and i know what you mean. shouldn't the ipop3d file be included if it is already in the inetd.conf file though?


Not always. I've had cases where I enabled telnet, but in.telnetd wasn't in /usr/sbin ..

Now, go install ipop3d, or gnu-pop3d, edit inetd.conf, restart inetd, check /etc/hosts.allow and /etc/hosts.deny and it should work..

-r

andrzej
01-07-2001, 02:25 PM
Originally posted by mitzman:
yeah, so i read the man page and i know what you mean. shouldn't the ipop3d file be included if it is already in the inetd.conf file though?


In every distro I've ever tried inetd.conf contained (almost) everything that could ever be used, no matter what was really installed. I think it's done for newbies to help quickly understand what is the file format. At least most services are usually commented out. It indeed might be better to leave the file empty for the user to configure everything manually. I don't think such a 'hardcore' distro exists today.

Andrzej

mitzman
01-07-2001, 04:04 PM
did a search on freshmeat for ipop3d, couldn't find anything. gnu-pop3d only brought up pop3 something for virtual domain support, which i don't think is what i want.

andrzej
01-07-2001, 04:47 PM
Originally posted by mitzman:
did a search on freshmeat for ipop3d, couldn't find anything. gnu-pop3d only brought up pop3 something for virtual domain support, which i don't think is what i want.

Searching on rpmfind.net sometimes gives better results.

In rh6.2 /usr/sbin/ipop3d is contained in the imap-4.7-5-i386.rpm . (version number may vary).

mitzman
01-07-2001, 06:25 PM
well, i downloaded the rpm and it worked http://www.linuxnewbie.org/ubb/smile.gif

thanks!

-dave

mitzman
01-07-2001, 07:03 PM
but there's more! do you know where i should look to tell the imap server to make only certain folders available and such? i looked in /etc/pam.d directory but found nothing in terms of configs.

andrzej
01-08-2001, 04:35 AM
No, this time I don't know. And I'm working with an NT box http://www.linuxnewbie.org/ubb/frown.gif so you'll have to rtfm yourself http://www.linuxnewbie.org/ubb/wink.gif