[Case 45716] user cpaneleximfilter was not found

Chainsaw76

Registered
Nov 26, 2005
3
0
151
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
 

ArfArf

Member
Nov 5, 2004
5
0
151
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" [email protected]
# 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
 

VeZoZ

Well-Known Member
Dec 14, 2002
245
0
166
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.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
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.
 

VeZoZ

Well-Known Member
Dec 14, 2002
245
0
166
cPanel Access Level
DataCenter Provider
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.
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
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.
 

rwagener11

Member
Jun 7, 2006
21
0
151
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.
 
Last edited:

gurned

Registered
Feb 10, 2011
1
0
51
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
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
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!
 

MikeGrace

Registered
Feb 13, 2011
1
0
51
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
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.
 

VeZoZ

Well-Known Member
Dec 14, 2002
245
0
166
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
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.
 

RichardW11

Registered
Mar 17, 2011
2
0
51
Scratch that. Worked using a cron job, but didn't work when in shell using 'php mailscript.php'
 
Last edited: