Exim is returning emails instantly with the following error:
nslookup showing dns is working properly: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"
results of an exim -bt -d example@yahoo.com :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]#
Notice the :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]#
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.Code:LOG: MAIN PANIC failed to expand condition "${perl{checkspam}}" for lookuphost router: Undefined subroutine &main::checkspam called.
I have been trying to fix this for the past two weeks so I am getting desperate. Thanks!



LinkBack URL
About LinkBacks
Reply With Quote





