java.lang.Object
com.aoindustries.aoserv.daemon.util.BuilderThread
com.aoindustries.aoserv.daemon.email.ImapManager
All Implemented Interfaces:
TableListener, PackageManager.PackageListener

public final class ImapManager extends BuilderThread
Any IMAP/Cyrus-specific features are here.

TODO: Once conversion done: 0) Look for any /home/?/???/MoveToCyrus folders (www2.kc.aoindustries.com:smurphy is one) 1) Set WUIMAP_CONVERSION_ENABLED to false 2) Make sure all gone in /home/?/???/Mail and /home/?/???/.mailboxlist - Then after a while - 3) rm -rf /opt/imap-2007d 4) rm -rf /var/opt/imap-2007d

TODO: Future Control the synchronous mode for ext2/ext3 automatically? file:///home/orion/temp/cyrus/cyrus-imapd-2.3.7/doc/install-configure.html cd /var/imap chattr +S user quota user/* quota/* chattr +S /var/spool/imap /var/spool/imap/* chattr +S /var/spool/mqueue sieve to replace procmail and allow more directly delivery sieveusehomedir sieveshell: sieveshell --authname=cyrus.test@suspendo.aoindustries.com 192.168.1.12 /bin/su -s /bin/bash -c "/usr/bin/sieveshell 192.168.1.12" cyrus.test@suspendo.aoindustries.com procmail migration script here: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/MboxCyrusMigration Run chk_cyrus from NOC? Backups: stop master, snapshot, start master Or, without snapshots, do ctl_mboxlist -d http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Backup Also, don't back-up Junk folders? Add smmapd support Consider https://wikipedia.org/wiki/Application_Configuration_Access_Protocol or https://wikipedia.org/wiki/Application_Configuration_Access_Protocol Look for any "junk" flags for Cyrus folders - if exists can train off this instead of requiring move to/from Junk

TODO: SELinux port management for non-standard ports TODO: pop_port_t for 110, 143, 993, 995 (and on custom ports) TODO: sieve_port_t for Sieve on 4190 (and on custom ports)

TODO: allow lmtp-only config to support receiving-only server (without any POP3/IMAP) TODO: This might be a server configured with Sieve port only.

TODO: Auto-backup directories in /var/lib/imap and /var/spool/imap before removing inbox.

Author:
AO Industries, Inc.