carbon8

Registered
Oct 27, 2006
4
0
151
Hello...
We are running 11.6.1-CURRENT 15328 of cPanel with exim.
Is IMAP supported and if so where? I cannot find any imap options. I've tried setting up a mail account as IMAP and it fails so at this point I'm assuming it does not or is not configured to support IMAP.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
what does ps -aux | grep courier-imap shows up
 

carbon8

Registered
Oct 27, 2006
4
0
151
what does ps -aux | grep courier-imap shows up
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
root 23845 0.0 0.0 3472 432 ? S Jul20 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 143 /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
root 23846 0.0 0.0 3480 492 ? S Jul20 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 143 /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
root 23852 0.0 0.0 3292 432 ? S Jul20 0:00 /usr/sbin/courierlogger -pid=/var/run/imapd-ssl.pid -start -name=imapd-ssl /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 993 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
root 23853 0.0 0.0 2548 492 ? S Jul20 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 993 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir
root 23858 0.0 0.0 3308 432 ? S Jul20 0:08 /usr/sbin/courierlogger -pid=/var/run/pop3d.pid -start -name=pop3d /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 110 /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
root 23859 0.0 0.0 2280 492 ? S Jul20 0:13 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 110 /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
root 23864 0.0 0.0 1700 348 ? S Jul20 0:00 /usr/sbin/courierlogger -pid=/var/run/pop3d-ssl.pid -start -name=pop3d-ssl /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 995 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
root 23865 0.0 0.0 2292 468 ? S Jul20 0:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=30 -nodnslookup -noidentlookup 995 /usr/lib/courier-imap/bin/couriertls -server -tcpd /usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d Maildir
root 6166 0.0 0.0 4760 652 pts/0 S+ 08:35 0:00 grep courier-imap
 

carbon8

Registered
Oct 27, 2006
4
0
151
There is an option to restart the imap server, but I cannot find anything to configure a imap server for any virtuals.
 

mtindor

Well-Known Member
Sep 14, 2004
1,430
92
178
inside a catfish
cPanel Access Level
Root Administrator
By default when you install Courier, it is configured with IMAP enabled.

telnet xxx.xxx.xxx.xxx 143 (where xxx.xxx.xxx.xxx is the IP you think IMAP should be functioning on)

You should see something like:

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.

If you don't get that, then either IMAP is not running on the server or a firewall is blocking access to port 143.

From a root shell prompt try:

netstat -an|grep 143|grep LISTEN

You should see something like:

tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN

- Mike