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.

Problem with exim, exim cannot load modules located in /etc/exim.pl ?

Discussion in 'General Discussion' started by Port80Hosting, Aug 13, 2004.

  1. Port80Hosting

    Port80Hosting Member

    Joined:
    Mar 28, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Exim is returning emails instantly with the following error:
    Code:
    List of errors
    --------------
    
        2 xxx@yahoo.com R=fail_remote_domains: unrouteable
    	    mail domain "yahoo.com"
    
       18 xxx@gmail.com R=fail_remote_domains: unrouteable
    	    mail domain "gmail.com"
    
        1 xxx@stevenetworks.com R=fail_remote_domains: unrouteable
    	    mail domain "stevenetworks.com"
    
        7 xxx@porteightyhosting.com.com 
    	    R=fail_remote_domains: unrouteable mail domain "porteightyhosting.com.com"
    
       28 xxx@stevenetworks.com R=fail_remote_domains: unrouteable
    	    mail domain "stevenetworks.com"
    
    
    
    nslookup showing dns is working properly:
    Code:
    root@x [/etc]# nslookup yahoo.com
    Note:  nslookup is deprecated and may be removed from future releases.
    Consider using the `dig' or `host' programs instead.  Run nslookup with
    the `-sil[ent]' option to prevent this message from appearing.
    Server:         xx.xx.xxx.60
    Address:        xx.xx.xxx.60#53
    
    Non-authoritative answer:
    Name:   yahoo.com
    Address: 66.94.234.13
    Name:   yahoo.com
    Address: 216.109.124.72
    Name:   yahoo.com
    Address: 216.109.124.73
    Name:   yahoo.com
    Address: 66.94.231.98
    Name:   yahoo.com
    Address: 66.94.231.99
    
    root@x [/etc]#
    
    results of an exim -bt -d example@yahoo.com :
    Code:
    root@x [/etc]# exim -bt -d valid_email@yahoo.com
    Exim version 4.34 uid=0 gid=0 pid=26074 D=fbb95cfd
    Berkeley DB: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
    Support for: iconv() PAM Perl OpenSSL
    Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
    Authenticators: cram_md5 plaintext spa
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    Transports: appendfile autoreply pipe smtp
    changed uid/gid: forcing real = effective
      uid=0 gid=0 pid=26074
      auxiliary group list: <none>
    configuration file is /etc/exim.conf
    log selectors = 00000ffc 00010400
    trusted user
    admin user
    originator: uid=0 gid=0 login=root name=root
    sender address = root@s1.porteightyhosting.com
    Address testing: uid=0 gid=12 euid=0 egid=12
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Testing steve_oaks@yahoo.com
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Considering steve_oaks@yahoo.com
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    routing steve_oaks@yahoo.com
    --------> mailman_virtual_router router <--------
    local_part=steve_oaks domain=yahoo.com
    checking require_files
    file check: /usr/local/cpanel/3rdparty/mailman/lists/${lc:$local_part}_${lc:$domain}/config.pck
    expanded file: /usr/local/cpanel/3rdparty/mailman/lists/steve_oaks_yahoo.com/config.pck
    stat() yielded -1
    errno = 2
    mailman_virtual_router router skipped: file check
    --------> mailman_virtual_router_nodns router <--------
    local_part=steve_oaks domain=yahoo.com
    checking require_files
    file check: /usr/local/cpanel/3rdparty/mailman/lists/${lc:$local_part}/config.pck
    expanded file: /usr/local/cpanel/3rdparty/mailman/lists/steve_oaks/config.pck
    stat() yielded -1
    errno = 2
    mailman_virtual_router_nodns router skipped: file check
    --------> lookuphost router <--------
    local_part=steve_oaks domain=yahoo.com
    checking domains
    search_open: lsearch "/etc/localdomains"
    search_find: file="/etc/localdomains"
      key="yahoo.com" partial=-1 affix=NULL starflags=0
    LRU list:
      :/etc/localdomains
      End
    internal_search_find: file="/etc/localdomains"
      type=lsearch key="yahoo.com"
    file lookup required for yahoo.com
      in /etc/localdomains
    lookup failed
    yahoo.com in "lsearch;/etc/localdomains"? no (end of list)
    yahoo.com in "! +local_domains"? yes (end of list)
    checking "condition"
    Starting Perl interpreter
    LOG: MAIN PANIC
      failed to expand condition "${perl{checkspam}}" for lookuphost router: Undefined subroutine &main::checkspam called.
    
    lookuphost router skipped: condition failure
    --------> literal router <--------
    local_part=steve_oaks domain=yahoo.com
    checking domains
    cached no match for +local_domains
    cached lookup data = NULL
    yahoo.com in "! +local_domains"? yes (end of list)
    checking "condition"
    LOG: MAIN PANIC
      failed to expand condition "${perl{checkspam}}" for literal router: Undefined subroutine &main::checkspam called.
    
    literal router skipped: condition failure
    --------> fail_remote_domains router <--------
    local_part=steve_oaks domain=yahoo.com
    checking domains
    cached no match for +local_domains
    cached lookup data = NULL
    yahoo.com in "! +local_domains"? yes (end of list)
    calling fail_remote_domains router
    rda_interpret (string): :fail: unrouteable mail domain "$domain"
    expanded: :fail: unrouteable mail domain "yahoo.com"
    file is not a filter file
    parse_forward_list: :fail: unrouteable mail domain "yahoo.com"
    extract item: :fail: unrouteable mail domain "yahoo.com"
    fail_remote_domains router forced address failure
    steve_oaks@yahoo.com is undeliverable:
      unrouteable mail domain "yahoo.com"
    search_tidyup called
    >>>>>>>>>>>>>>>> Exim pid=26074 terminating with rc=2 >>>>>>>>>>>>>>>>
    root@x [/etc]#
    
    Notice the :
    Code:
    LOG: MAIN PANIC
    failed to expand condition "${perl{checkspam}}" for lookuphost router: Undefined subroutine &main::checkspam called.
    
    Now before the previous is called to in the exim.conf, the exim configuration loads a file called exim.pl located in /etc . I have no /etc/exim.pl, but I do have a /etc/exim.pl.local.
    I have been trying to fix this for the past two weeks so I am getting desperate. Thanks!
     
  2. Port80Hosting

    Port80Hosting Member

    Joined:
    Mar 28, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    #1
    Still reading....and thanks very much that is very much what I need.

    #2
    Still not there.
     
  3. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Exim error

    Hello,
    Check the following things r there in the server. It seems there is a bug with /scripts/exim4 now. after the running many conf file is being missed..

    /etc/exim.conf
    /etc/antivirus.exim
    /etc/exim.pl

    Regards,
    David
     
  4. bikersraw

    bikersraw Active Member

    Joined:
    Feb 16, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    i have these files, and have the same issue with the Undefined subroutine &main::checkspam called error.... possible bug in 10.0.0r7?
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Try the following:

    /scripts/exim4 --latest

    It will install the latest version of those files and ensure you're running the most recent release of exim for cPanel.
     
  6. bikersraw

    bikersraw Active Member

    Joined:
    Feb 16, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    nope, doesnt work.... tried that and ./newexim
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    As that didn't fix it, I'd log it with cPanel if I were you.
     
  8. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    I have the same problem here.
    Any solution ?
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, the one I posted and the action to take if it doesn't work :rolleyes:
     
Loading...

Share This Page