From: Dave Airlie (david.airlie at domain ul.ie)
Date: Tue 19 Oct 1999 - 10:16:22 IST
I don't think the standard uw-pop daemon that comes with RH, will do
standalone working, perhaphs cyrus imap might do it, but I'm not sure if
it has a pop component ..
Dave.
On Mon, 18 Oct 1999, AJ Mc Kee wrote:
> Hi All
>
> I was wondering how to set up pop as a system service. Well I started to do it this way. I am using RH6. I copied one of the init scripts and replaced the daemon with the ipop3d (The script was the apache startup script) Now all goes well and fine but for I can get no further that this message
>
> "+OK POP3 somehost.somedomain.ie v7.59 server ready"
>
> Thats it. It just runs and does not allow me to go to the shell. I'd have to kill it first. So i tried it with the -d switch, nope not working. And I tried the man pages (None found despite having done a complete install cos I'm lazy)
>
> So I was wondering if anybody does have a pop server running as a service and not being called from inetd.conf.
>
> I have included the start up script I used.
>
> Thanks
> Anton
>
>
> ----------------------ipop3 script------------------------------------
>
> #!/bin/sh
> # Source function library.
> . /etc/rc.d/init.d/functions
>
>
> # See how we were called.
> case "$1" in
> start)
> echo -n "Starting POP3:
> "
> daemon ipop3d
>
> echo
> touch /var/lock/subsys/ipop3
> ;;
> stop)
> echo -n "Shutting down POP3: "
> killproc ipop3d
> echo
> rm -f /var/lock/subsys/ipop3
> rm -f /var/run/ipop3.pid
> ;;
> status)
> status ipop3d
> ;;
> restart)
> $0 stop
> $0 start
> ;;
> reload)
> echo -n "Reloading ipop3d: "
> killproc ipop3d -HUP
> echo
> ;;
> *)
> echo "Usage: $0 {start|stop|restart|reload|status}"
> exit 1
> esac
>
> exit 0
>
>
> _____________________________________
>
> Get your free E-mail at http://www.ireland.com
>
>
-- ------------ David Airlie, David.Airlie at domain ul.ie,airlied at domain skynet -------- Telecommunications Research Centre, ECE Dept, University of Limerick \ http://www.csn.ul.ie/~airlied -- Telecommunications Researcher \ --- TEL: +353-61-202695 -----------------------------------------------
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:45 GMT