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!

exim: failed to open /etc/vfilters/DOMAIN: No such file or directory

Discussion in 'General Discussion' started by pratapsingh, Nov 17, 2010.

  1. pratapsingh

    pratapsingh Active Member

    Joined:
    Mar 20, 2009
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    56
    Hello ,

    Whenever I try to test the filter setup from the cPanel I am getting the following error on the cPanel "exim: failed to open /etc/vfilters/DOMAIN: No such file or directory"

    Following error is reported in /usr/local/cpanel/logs/error_log file

    HTML:
    ---------------------------------
            main::cpanel_parse(GLOB(0xa7185cc)) called at cpanel line 2157
            main::doinclude('../stdheader.html') called at cpanel line 1014
            eval {...} called at cpanel line 1014
            main::real_exectag('<cpanel print="DOMAIN">') called at cpanel line 4015
            main::dotag_finished_headers('<cpanel print="DOMAIN">', 1) called at cpanel line 3898
            main::cpanel_parseblock('<cpanel setvar="headerimg=../images/mailmenu.gif">\x0A<cpanel setvar="dprefix=../">\x0A<cpanel include="../stdheader.html">\x0A<div align = "center">\x0A<table width="550" cellspacing="0" cellpadding="0" border="0">\x0A<td valign = "bottom">&nbsp;</td>\x0A<td valign = "middle" width = "522"><font class="big"><cpanel langprint="EFTrace"></font><br><br></td>\x0A<td valign = "bottom">&nbsp;</td>\x0A<tr>\x0A<td colspan=3>\x0A<br>\x0A<font class="med">\x0A<b><cpanel langprint="EFTraceresults"></b>\x0A</font>\x0A<pre>\x0A<cpanel Email="tracefilter(DOMAIN,$FORM{\'msg\'})">\x0A</pre>\x0A<br>\x0A<br>\x0A</td>\x0A<tr>\x0A<td valign="bottom">&nbsp;</td>\x0A<td valign="middle" width="522">\x0A<center>\x0A<b>[</b>&nbsp;<a href = "blocks.html"><cpanel langprint="Goback"></a>&nbsp;<b>]</b>\x0A</center></td>\x0A<td valign = "bottom">&nbsp;</td>\x0A</tr>   \x0A</table>\x0A</div>\x0A<cpanel include="../stdfooter.html">\x0A') called at cpanel line 3842
            main::cpanel_parse(GLOB(0xa4f3b08)) called at cpanel line 5335
            main::run_standard_mode() called at cpanel line 387
    exim: failed to open /etc/vfilters/DOMAIN: No such file or directory
    ------------------------------
    Not sure what is wrong with it any help will be really appreciated.

    Thank you
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please check if the file exists first:

    Code:
    ls -lah /etc/vfilters/domain.com
    If the file is missing, please create the file:

    Code:
    touch /etc/vfilters/domain.com
    chown user:mail /etc/vfilters/domain.com
    Please replace domain.com with the domain name and user with the cPanel username.

    If the file is not missing, check if the ownership is properly user:mail for the file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. pratapsingh

    pratapsingh Active Member

    Joined:
    Mar 20, 2009
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    56
    File is there and permission and ownership are also correct.

    ls -alh
    -rw-r--r-- 1 test123 mail 0 Nov 17 18:41 /etc/vfilters/test123.com
     
    #3 pratapsingh, Nov 17, 2010
    Last edited: Nov 17, 2010
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please run the following additional commands:

    Code:
    lsattr /etc/vfilters
    ls -ld /etc/vfilters
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pratapsingh

    pratapsingh Active Member

    Joined:
    Mar 20, 2009
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    56
    Here is the output

    Code:
    ls -ld /etc/vfilters
    drwx--x--x 2 root root 81920 Nov 17 21:59 /etc/vfilters/
    
    lsattr /etc/vfilters/test123.com
    -------A----- /etc/vfilters/test123.com
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    At this point, please open a ticket as I cannot see anything that would prevent the file from being opened or detected. You can open a ticket using the link in my signature or using WHM > Support Center > Contact cPanel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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