Make IMAP autostart

nhosting

Verified User
Joined
Jul 19, 2005
Messages
5
Hello

I am trying to get IMAP running on our server. I already know how to get it running, but after a reboot i need to manually start inetd

How can i make this autostart (i preffer as service just like apache, etc)

OS: FreeBSD 5.3

i have followed the hint from rjmarino in
http://www.directadmin.com/forum/showthread.php?s=&threadid=3837&

I have FreeBSD and after step two, I just:

cd /usr/sbin/
./inetd

and it started right up... no more errors... thanks for your help.

only no autostart on system boot.. need help
 
You need to add the startup script to the startup directory. It's an rc.d directory.
In that directory you'll also find the startup scripts of rall the other services such as directadmin,apache, and named.
 
IT DIDN'T WORK

ok, i copyd the inetd file to /usr/local/etc/rc.d/
(having freebsd)

inetd.png


Seems to be alright..

I reboot the server using DirectAdmin reboot (just the way it used to be)

And the service's is not showing up in DirectAdmin

directadmin.png


Starting "telnet localhost 143" was resulting in "connection refused".

after i manually started inetd from /usr/local/etc/rc.d/ i can connect to imap using

"telnet localhost 143"...

what did i wrong ?
 
Last edited:
FIXED

it's fixed

it was also nessasary to ad inetd to the .sh file that was in that directory but WITHOUT the /$ at the end.

thanks for your help
 
Back
Top