Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Failed to find user for the virtual_aliases_nostar router

Discussion in 'E-mail Discussion' started by mauinet, Jan 26, 2018.

  1. mauinet

    mauinet Active Member

    Joined:
    Mar 2, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Maui
    The email system stopped sending out emails for many domains on the server. The exim_mainlog shows this error for each attempt.

    R=virtual_aliases_nostar defer (-1): Failed to find user "" from expanded string "${lookup{$domain}lsearch{/etc/userdomains}{$value}}" for the virtual_aliases_nostar router

    I have not updated exim the last few days or cpanel. Email is received ok.

    I don't see other errors in exim_mainlog, messages or secure. I do see multiple login/logout
    messages in the maillog though.

    Where else can I look for what's causing this?
    Thanks,
    RAS
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,504
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It's possible the recent Exim security update reset some of your existing configuration files. Try restoring the configuration from a backup using the instructions on the following post to see if that helps:

    cPanel update wiped out custom Exim configuration

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mauinet

    mauinet Active Member

    Joined:
    Mar 2, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Maui
    Thank you for the suggestion, I'll check it out today.
     
  4. mauinet

    mauinet Active Member

    Joined:
    Mar 2, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Maui
    I read over the restore suggestion. However, the last update was long before the trouble occured. There are no config file updates this month. Is it possible that this issue is not exim but DNS? As I search Google for the problem, there are some DNS mentions but none seem to apply to our problem. Still looking for a solution or something to check or test.

    ras
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,504
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The error message could also indicate a potential missing or corrupted entry in the /etc/userdomains file. Try backing up this file and then rebuilding it to see if that solves the issue:

    Code:
    mv /etc/userdomains /etc/userdomains-backup1
    /scripts/updateuserdomains
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mauinet

    mauinet Active Member

    Joined:
    Mar 2, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Maui
    I tried rebuilding userdomains with the script. The new file is identical to the old.

    Thank you for the help though
     
  7. mauinet

    mauinet Active Member

    Joined:
    Mar 2, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Maui
    On further examination, it appears that the sending errors are only for one recipient domain. I can send to other domains such as google.com. Our other servers which have the same exim configuration can send to this domain though.
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,504
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Feel free to open a support ticket using the link in my signature so we can take a closer look.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mauinet

    mauinet Active Member

    Joined:
    Mar 2, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Maui
    Ok, I'll try that
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice