If you're now running CPanel's IMAP daemon, you may want to ensure that xinetd stays operational. It's fairly simple to add this to the existing chkserv monitoriing...
- create a file /etc/chkserv.d/imapd with contents...
#SERVICE = PORT, SEND, RESPONSE, RESTART COMMAND
service[imapd]=143,. LOGOUT,* OK,/etc/rc.d/init.d/xinetd start
- chown root.root /etc/chkserv.d/imapd
- chmod 600 /etc/chkserv.d/imapd
- /etc/rc.d/init.d/chkservd restart
This will also add the status of imapd to WHM and CP &service status& lights.
Adding a monitor for the POP3 server would be fairly similar, though the contents of the /etc/chkserv.d/cppop file (or whatever you prefer to call it) would be something like this. (I haven't tested this yet, so no guarantees on this one)...
service[cppop]=110,QUIT,+OK POP3,/usr/local/cpanel/bin/cppop
Enjoy!
- Jason
- create a file /etc/chkserv.d/imapd with contents...
#SERVICE = PORT, SEND, RESPONSE, RESTART COMMAND
service[imapd]=143,. LOGOUT,* OK,/etc/rc.d/init.d/xinetd start
- chown root.root /etc/chkserv.d/imapd
- chmod 600 /etc/chkserv.d/imapd
- /etc/rc.d/init.d/chkservd restart
This will also add the status of imapd to WHM and CP &service status& lights.
Adding a monitor for the POP3 server would be fairly similar, though the contents of the /etc/chkserv.d/cppop file (or whatever you prefer to call it) would be something like this. (I haven't tested this yet, so no guarantees on this one)...
service[cppop]=110,QUIT,+OK POP3,/usr/local/cpanel/bin/cppop
Enjoy!
- Jason