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.

[Case 45716] user cpaneleximfilter was not found

Discussion in 'E-mail Discussions' started by Chainsaw76, Jan 12, 2011.

  1. Chainsaw76

    Chainsaw76 Registered

    Joined:
    Nov 26, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Recently (within the last 20 days) my users have started getting the following error when sending email from php scripts:

    Exim configuration error in line 32 of /etc/exim.conf:
    user cpaneleximfilter was not found

    i have forced an exim update with /scripts/eximup force,
    and
    cpaneleximfilter does appear in the passwd file.

    should i remove the user and recreate it? is there a better solution?

    -Jason
     
  2. ArfArf

    ArfArf Registered

    Joined:
    Nov 5, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same problem. It occurs in jailed shell but not in regular shell when trying to do a simply mail command.
    # echo "test" | mail -s "Subject here" someone@somewhere.com
    # LOG: PANIC DIE
    # Exim configuration error in line 32 of /etc/exim.conf:
    # user cpaneleximfilter was not found

    Any help anyone can provide would be greatly appreciated. I want to keep my users in jailed shell for obvious reasons.

    Arf
     
  3. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Started seeing this as well. This is the second thing that is now broken for users under jail shell for us in 11.28. We had reported the first one and there was a case opened and nothing since.
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    This jailshell problem was assigned case number 45716 and is currently resolved in our 11.30 development version (unreleased). It is currently under consideration for merging into version 11.28.
     
  5. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Is the fix going to be merged into 11.28 or not? It would be good to know as if it's not we need to evaluate how we're going to resolve it ourselves.
     
  6. rwagener11

    rwagener11 Member

    Joined:
    Jun 7, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I am now getting the same error. How do I fix this??? Why is there no response to this yet?
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Please try the following work around in the meantime. Edit /usr/local/cpanel/bin/setupvirtfs file and find the following line:

    Code:
    if ( $puid < 500 || $puser eq $user || $puser eq 'mailman' ) {
    Change to the following:

    Code:
    if ( $puid < 500 || $puser eq $user || $puser eq 'mailman' || $puser eq 'cpaneleximfilter' ) {
    At that point, it should hopefully work for any future jailed shell users, since the issue is being caused by cpaneleximfilter not being added to a jailshelled user's /etc/passwd when the UID of cpaneleximfilter is greater than 500.

    Thanks.
     
  8. rwagener11

    rwagener11 Member

    Joined:
    Jun 7, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    That worked perfectly and didn't need to restart the service. FYI for others that make this change.

    Also, thank you for your quick reply. Nice to know you are there.
     
    #8 rwagener11, Feb 8, 2011
    Last edited: Feb 8, 2011
  9. gurned

    gurned Registered

    Joined:
    Feb 10, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    fix doesn't work for me - I've restarted exim several times and applied the $puser eq 'cpaneleximfilter'.

    I'm still seeing Exim configuration error in line 32 of /etc/exim.conf:
    user cpaneleximfilter was not found
     
  10. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello gurned,

    Please open a ticket in WHM > Support Center > Contact cPanel area or using the link in my signature. If you'd like to post the ticket number here after opening it, that would be helpful.

    Thanks!
     
  11. MikeGrace

    MikeGrace Registered

    Joined:
    Feb 13, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I was unable to find the file /usr/local/cpanel/bin/setupvirtfs on my server and I am seeing the same error after just installing whmcs.
     
  12. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello MikeGrace,

    Again, please open up a ticket if you cannot resolve the issue as indicated using WHM > Support Center > Contact cPanel or via the link in my signature.

    I am unsure why the file wouldn't exist on your machine, since /usr/local/cpanel/bin/setupvirtfs should be on all machines as one of the cPanel binary files. You may want to run a forced upcp to see if you are missing other files:

    Code:
    /scripts/upcp --force
    Thanks.
     
  13. VeZoZ

    VeZoZ Well-Known Member

    Joined:
    Dec 14, 2002
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    So is this being backported or not? We can modify all our servers no problem but customers servers is another thing. We tell them this is the work around they ask why isn't cPanel actually fixing it.
     
  14. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The case, 45716, does not appear yet in the changelog:

    CPanelVersion1128 < AllDocumentation/ChangeLog < TWiki

    It is already incorporated into 11.30 (11.29.128 and 11.29.130). I cannot say when it will be backported. You are welcome to open up a ticket if you haven't previously to have it tagged to the case. I have already gone ahead and posted about this forum thread on the case as well.
     
  15. RichardW11

    RichardW11 Registered

    Joined:
    Mar 17, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Scratch that. Worked using a cron job, but didn't work when in shell using 'php mailscript.php'
     
    #15 RichardW11, Apr 5, 2011
    Last edited: Apr 5, 2011
  16. DomineauX

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    414
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Experiencing this as well so would like to see the fix backported to 11.28 soon.
     
Loading...

Share This Page