Parallels H-Sphere Documentation System Administrator Guide




Related Docs:   H-Sphere IMAP Server H-Sphere Webmail

Last modified: 17 Oct 2007


WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

ImapProxy component is by default included into H-Sphere Webmail package.

ImapProxy is a daemon that proxies IMAP transactions between an IMAP client and an IMAP server. The general idea is that the client should never know that it's not talking to the real IMAP server. The only thing that makes this a slightly unique Imap Proxy server is that it caches server connections.

The ImapProxy daemon is /hsphere/shared/bin/in.imapproxyd.

The startup script for ImapProxy daemon is /etc/init.d/imapproxy for Linux and /usr/local/etc/rc.d/ for FreeBSD.

Usage of ImapProxy daemon:

  • Linux:

    /etc/init.d/imapproxy [ start | stop | restart | stat | help ]

  • FreeBSD:

    /usr/local/etc/rc.d/ [ start | stop | restart | stat | help ]

  • start starts in.imapproxyd service
  • stop stops in.imapproxyd service
  • restart stops and restarts the in.imapproxyd service
  • stat displays status of in.imapproxyd service
  • help displays help message

This startup script uses daemontools.

ImapProxy daemon listens to 144 port, and turns to 143, which is a default courier-imap port. Imp is configured to turn to 144 port, so imp connects to courier-imap through 144 port (through ImapProxy daemon).

Package includes statistic tool for ImapProxy: /hsphere/shared/bin/pimpstat

Usage of /hsphere/shared/bin/pimpstat:

/hsphere/shared/bin/pimpstat -f imapproxy.conf

where imapproxy.conf is a configuration file for ImapProxy and is located at /hsphere/local/config/mail/imapproxy directory.

Related Docs:   H-Sphere IMAP Server H-Sphere Webmail

© Copyright 2018. Parallels Holdings. All rights reserved.