The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

User Not Found in cpanelpop by pop clients

Discussion in 'General Discussion' started by ExR90, Oct 4, 2004.

  1. ExR90

    ExR90 Registered

    Joined:
    Oct 3, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Let me say I have search the cpanel forum and webhostingtalk forums extensively before posting without luck. I just got my first dedicated cpanel server. My old accounts were on a shared cpanel server. I used the cpanel move tool to move my accounts one by one over the weekend. Everything looked good until Monday hit. About 1/3 of all the individual email accounts cannot check, or can only sporadically check their mail via pop3.

    These affected email accounts can view their mail fine via the web clients, and also via imap.

    The affected email accounts problem is not fixed by resetting their password, nor by deleting/recreating their email account.

    I have not deleted then recreated the domain's as I dont know their password and possible loss of data for them.

    I have heard of some kind of cpanelpop bug? Is this it? how do I fix it?

    My old shared server I moved accounts from was 9.4.1 r64. I was running cpanel 9.7.7 r15 when this started on my new dedicated server. I upgraded to cpanel 9.9.0 c59 trying to fix this. I dont know what version of apache I am running, but I just ran easyapache this weekend at the behest of cpanel's nagging.

    This problem does not appear to affect accounts created by hand, not imported from the other server. It looks as if cpanelpop is looking for the shadow password files in the wrong place, perhaps in the location they were on the original server I moved them from.

    Below is a snippet of the problem shown in the maillog:

    Oct 4 16:36:49 zues cpanelpop[29657]: User not found user=enduser2 homedir=/home/reseller1name passwd=/home/reseller1name/etc/enduser2'sdomainname/shadow
    Oct 4 16:36:49 zues cpanelpop[29657]: User not found user=enduser2 homedir=/home/primarydomainlogin passwd=/home/primarydomainlogin/etc//shadow
    Oct 4 16:52:00 zues cpanelpop[31200]: User not found user=enduser2 homedir=/home/reseller1name passwd=/home/reseller1name/etc/enduser2'sdomainname/shadow
    Oct 4 16:52:00 zues cpanelpop[31200]: User not found user=enduser2 homedir=/home/primarydomainlogin passwd=/home/primarydomainlogin/etc//shadow
    Oct 4 17:06:11 zues cpanelpop[32161]: User not found user=enduser2 homedir=/home/reseller1name passwd=/home/reseller1name/etc/enduser2'sdomainname/shadow
    Oct 4 17:06:11 zues cpanelpop[32161]: User not found user=enduser2 homedir=/home/primarydomainlogin passwd=/home/primarydomainlogin/etc//shadow
    Oct 4 18:01:45 zues cpanelpop[18808]: User not found user=enduser1 homedir= passwd=/etc//shadow
    Oct 4 18:01:45 zues cpanelpop[18808]: User not found user=enduser1 homedir=/home/primarydomainlogin passwd=/home/primarydomainlogin/etc//shadow
    Oct 4 18:01:56 zues cpanelpop[18812]: User not found user=enduser1 homedir= passwd=/etc//shadow
    Oct 4 18:01:56 zues cpanelpop[18812]: User not found user=enduser1 homedir=/home/primarydomainlogin passwd=/home/primarydomainlogin/etc//shadow


    Thank you.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The messages are actually misleading. The issue is that for all but the main cPanel account you must use username@domain.com syntax, you cannot just use username. This is how virtual users are created in cPanel.
     
  3. ExR90

    ExR90 Registered

    Joined:
    Oct 3, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
  4. ExR90

    ExR90 Registered

    Joined:
    Oct 3, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Problem Solved.

    It was caused by accounts who had their mail clients checking the mailbox so many times it triggered the anti-hammer setting in tweak-settings.

    It would have been REALLY helpful if the results of violating the anti-hammer were documented somewhere.
     
  5. parser

    parser Member

    Joined:
    Aug 22, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Israel
    /etc/init.d/cpanel restart
    after restart exim
     
  6. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Somewhat related, I recently found that all users using pop were getting 'unable to find mailbox for user' type errors. Well, they, through their mail clients, weren't, but through telnet I was.

    After a bit of rummaging around, I noticed that the pop server was cppop, even though I'd converted to maildir/courier ages ago.

    Since the mailboxes were in maildir format but the pop server was cppop, it was unable to read the mailbox format and thus concluded that the mailbox was nowhere to be found.

    After running /scripts/courierup --force, courierpop was up and running again and all was fine.

    I'm at a loss as to why this happened, as courierpop was running fine for weeks and weeks and pop users were having no problems whatsoever. I can only imagine that it was due to a bit of a dodgy nightly update, although I found nothing menacing in the upcp cron mails.
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I've noticed a bug in WHM when you save Tweak Settings where it tries to start cppop even if you've migrated to maildir. If courier-imap isn't running at the time, I guess that would bind to the POP ports and cause that problem.
     
Loading...

Share This Page