Understanding the cpanels POP3 system

kullnd

Registered
Jul 10, 2006
4
0
151
1. If I understand correctly, Cpanel uses something called cppop right?

2. What is the process name when the pop server is running

3. There are not any real unix accounts created for the email addresses.. Where is the account information stored for this mail system? I'm used to the basic unix pop3d and passwd file stuff here...


I'm trying to figure out why accounts are not able to log in for POP3 access anymore after an update that I got some time ago, been pulling my hair out on this for awhile... When trying to access the pop3 server I get account authentication errors... I have tried changing passwords via Cpanel and everything else I can think of...

Webmail still works... :confused:


Nate
 

kullnd

Registered
Jul 10, 2006
4
0
151
Want to add that everytime I try to start cppop I get:

[email protected] [/scripts]# /usr/local/cpanel/etc/init/startcppop
Waiting for cppop to shutdown......Done
Waiting for cppop-ssl to shutdown......Done
[email protected] [/scripts]# Waiting to bind to port 110 (Address already in use)....
Waiting to bind to port 110 (Address already in use)....
Waiting to bind to port 110 (Address already in use)....
Waiting to bind to port 110 (Address already in use)....


Also do not see any cppop process running when I do a ps -a

Also would like to know what this mailmanctl process is.
 

webignition

Well-Known Member
Jan 22, 2005
1,880
0
166
kullnd said:
1. If I understand correctly, Cpanel uses something called cppop right?
Not necessarily. cPanel will use cppop, it's own proprietory POP server, if you are using the mbox mail box format. If you're using the (preferred) maildir mailbox format you should be using the supplied Courier POP.

What mailbox format are you using? If you are using maildir, try running /scripts/courierup --force to force install Courier, which should also clear away any cppop silliness and often gets things working correctly.

kullnd said:
2. What is the process name when the pop server is running
The output of'ps aux' should show a process called cppop if cppop is running. If running courier, you'll see lots of processes relating to courier and, to be honest, I'm not sure what is what.

kullnd said:
3. There are not any real unix accounts created for the email addresses.. Where is the account information stored for this mail system? I'm used to the basic unix pop3d and passwd file stuff here...
Virtual mail user details are stored in each user's home directory. Symlinks to these, for convenience, are located in /etc/vmail.
 

webignition

Well-Known Member
Jan 22, 2005
1,880
0
166
kullnd said:
Want to add that everytime I try to start cppop I get:

[email protected] [/scripts]# /usr/local/cpanel/etc/init/startcppop
Waiting for cppop to shutdown......Done
Waiting for cppop-ssl to shutdown......Done
[email protected] [/scripts]# Waiting to bind to port 110 (Address already in use)....
Waiting to bind to port 110 (Address already in use)....
Waiting to bind to port 110 (Address already in use)....
Waiting to bind to port 110 (Address already in use).....
First, check which mailbox format you're using and check that you definitely should be using cppop. If not, /scripts/courierup --force may well sort things out.

You should also check what is running on port 110 - most likely some other POP server that shouldn't be. It might be that Courier POP is already running and so cppop can't start.
 

kullnd

Registered
Jul 10, 2006
4
0
151
Mailbox Format

Thanks for all the replies .. Now if I can just figure out which mailbox format I'm using ;)
 

RickG

Well-Known Member
Feb 28, 2005
238
2
168
North Carolina
kullnd said:
Thanks for all the replies .. Now if I can just figure out which mailbox format I'm using ;)
You can start by looking at top and see what is running. Another option is to look in a users /home/account/mail/domain/username directory. You'll see a bunch of files named "courier ..." and a sub directory called /new and /cur which contain the individual message files if using the maildir format.