inetd cannot execute imapd

I have FreeBSD 4.5 and I'm trying to get imap-uw to work. Inetd.conf and services files are modified to reflect the imap server but when I try telnet to 143 I get the message:

"inetd[123]: cannot execute /usr/local/sbin/imapd: permission denied" at the console.

 I am ultimately trying to get it imap-uw to work with squirrelmail but it dosn't want to work at all. Any ideas?
LVL 5
daJmanAsked:
Who is Participating?
 
JIEXAConnect With a Mentor Commented:
What are the permissions of the file "/usr/local/sbin/imapd" and to whom it belongs ?
Which user runs it (from /etc/inetd.conf) ?

I.e. take a look on the output of the following:

ls -la /usr/local/sbin/imapd
grep /usr/local/sbin/imapd /etc/inetd.conf

And be sure that the user enlisted in /etc/inetd.conf
has a permission to execute file /usr/local/sbin/imapd.
(And if the latter is a script, then also a read permission).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.