Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    2

    Default Failed to find user "system" from expanded string "${lookup{$domain}lsearch*

    Hello, I hope someone can help me, since yesterday all internal emails have been getting stuck in the mail queue (e.g. logwatch reports, cron jobs) however any external emails get through just fine.

    When clicking 'deliver now' I get the following errror mesage
    Delivery attempt for Message ID 1O27of-0007ye-Fe

    Message 1O27of-0007ye-Fe is not frozen
    LOG: MAIN
    cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1O27of-0007ye-Fe
    delivering 1O27of-0007ye-Fe
    LOG: MAIN PANIC
    Failed to find user "system" from expanded string "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}" for the central_filter router
    LOG: MAIN
    == *removed address of my server for security* R=central_filter defer (-1): Failed to find user "system" from expanded string "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}" for the central_filter router
    Can anyone help me with this, I'm sure it will be something simple, but there seems to be nothing on Google

  2. #2
    Member
    Join Date
    Jan 2008
    Posts
    12

    Default

    I am getting the same error on a domain. Did you find a resolution?

  3. #3
    Member
    Join Date
    Jan 2008
    Posts
    12

    Default

    Found the problem, edit your /etc/userdomains - find the domain in question.

    The correct entry for this domain is:

    your_domain.com: youruser

    Incorrect:

    your_domain.com: system

    In my case it was in userdomains 2x - check to make sure it is already in there before adding it again.

  4. #4
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Use grep

    Something that might help would be to use grep to find all instances of "system" in the files in /var/cpanel/users. There should be no instances of it. The following command will show if there are, and which file(s) contain it:

    Code:
    # grep system /var/cpanel/users/*
    If there are any instances of "system", edit the file and substitute the correct cPanel username for "system." The username will be the same as the filename. After editing any file in /var/cpanel/users, be sure to run the following command:

    Code:
    # /scripts/updateuserdomains
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  5. #5
    Member
    Join Date
    Jan 2008
    Posts
    12

    Default

    True enough, but all of the files have the word 'system' in them because of the following note in each file:

    cPanel -- If you edit this file directly you must run /scripts/updateuserdomains afterwards to rebuild the system caches

  6. #6
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    A more refined grep command would be the following:

    Code:
    # grep ": system" /var/cpanel/users/*
    This would find all instances of "system" after a colon and a space, which is more specific than the original command I mentioned. I apologize for the oversight.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  7. #7
    Member
    Join Date
    Sep 2006
    Posts
    16

    Default

    Please see below for excerpt from my exim_mainlog (replaced username and domain).

    I am getting the same errors when I try to run a PHP script that sends email to localdomains... but the problem is, I checked /etc/userdomains and none of the domains has system as the user. Any clue on what else can it be?

    Thanks in advance!

    2010-05-30 01:00:39 1OIadb-0002hB-87 Failed to find user "domaindotcom" from expanded string "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}" for the central_filter router
    2010-05-30 01:00:39 1OIadb-0002hB-87 == webmaster@domain.com R=central_filter defer (-1): Failed to find user "domaindotcom" from expanded string "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}" for the central_filter router

Similar Threads & Tags
Similar threads

  1. Changed system files - No info in "New" or "Chaneg Log"
    By aquagerbil in forum New User Questions
    Replies: 3
    Last Post: 09-22-2010, 09:50 AM
  2. Replies: 11
    Last Post: 06-11-2009, 07:15 AM
  3. User "nobody" blocked at upgrade, how to find lost form submits?
    By croakingtoad in forum E-mail Discussions
    Replies: 0
    Last Post: 02-02-2009, 11:06 AM
  4. Problem With Email "Cannot find a valid mailbox for *USER*"
    By Ben-Orbital in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-02-2005, 09:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube