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_mainlog error message

Discussion in 'General Discussion' started by katmai, Mar 18, 2007.

  1. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    2007-03-18 17:47:31 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    2007-03-18 17:47:35 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    2007-03-18 17:47:35 failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.


    we had some perl issues, and had to reload perl. but i get this message ... anyone has a clue? mail delivery is fine, customers are ok, nothing is broken, but i simply don't know what triggers this,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    778
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    it appears your missing the exim.pl.local file in the /etc folder. check to see if it there and has the correct permission settings. this is where these sub routines are called.

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    To rectify it, forcing an exim update ought to do:

    /scripts/eximup --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    chirpy. will this break your mailscanner settings? i already got the service from you, and all works to smooth to screw it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    No, it shouldn't affect MailScanner at all.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    chown: cannot access `/etc/exim.crt': No such file or directory
    chown: cannot access `/etc/exim.key': No such file or directory
    mkdir: cannot create directory `/var/spool/exim': File exists
    chown: cannot access `/etc/exim.crt': No such file or directory
    chown: cannot access `/etc/exim.key': No such file or directory
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    2007-03-19 12:40:41 H=relay1.fast.net.uk [212.42.162.4] F=<> rejected RCPT <nacweckmangaf@weckman.ro>: No Such User Here
    2007-03-19 12:40:47 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    2007-03-19 12:40:49 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    2007-03-19 12:40:49 failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.

    2007-03-19 12:40:49 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    2007-03-19 12:40:49 failed to expand condition "${perl{checkuserbx}{$local_part}}" for boxtrapper_localuser router: Undefined subroutine &main::checkuserbx called.

    2007-03-19 12:40:52 no IP address found for host dsl85-104-39347.ttnet.net.tr (during SMTP connection from (dsl85-104-39347.ttnet.net.tr) [85.104.153.179])
    2007-03-19 12:40:52 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    2007-03-19 12:40:53 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    2007-03-19 12:40:53 failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.

    2007-03-19 12:40:53 H=(dsl85-104-39347.ttnet.net.tr) [85.104.153.179] F=<mgno@andrewsteed.com> rejected RCPT <kho@arcease.org>: No Such User Here


    still getting it after eximup --force. running bleeding edge on centos 4.4


    -rw-r--r-- 1 root root 24837 Nov 29 15:56 exim.pl - exim.pl file is there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    any clues guys?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Have you chattr'd any of your exim configuration files? To make sure that you haven't:

    lsattr -R /etc/exim*

    All should return a first column of -------------
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    root@nemesis [~]# lsattr -R /etc/exim*
    ------------- /etc/exim/perl

    /etc/exim/perl:
    ------------- /etc/exim/perl/Digest

    /etc/exim/perl/Digest:
    ------------- /etc/exim/perl/Digest/Perl

    /etc/exim/perl/Digest/Perl:
    ------------- /etc/exim/perl/Digest/Perl/MD5.pm



    ------------- /etc/exim/authtab
    ------------- /etc/exim.conf
    ------------- /etc/exim.conf.buildtest
    ------------- /etc/exim.conf.dist
    ------------- /etc/exim.conf.local
    ------------- /etc/exim.conf.localopts
    ------------- /etc/exim.conf.mailman2.dist
    ------------- /etc/exim.conf.mailman2.exiscan.dist
    ------------- /etc/exim.conf.tmpeditlib
    ------------- /etc/exim.crt
    ------------- /etc/exim_deny
    ------------- /etc/exim_deny.pl
    ------------- /etc/exim_deny_whitelist
    ------------- /etc/exim.key
    ------------- /etc/eximmailtrap
    ------------- /etc/exim_outgoing.conf
    ------------- /etc/exim.pl
    ------------- /etc/exim.pl.local
    ------------- /etc/eximpopbeforesmtpwarning
    ------------- /etc/eximrejects
    ------------- /etc/eximrejects.rpmorig


    the perl has been recently upgraded to 5.8.8 and all modules reinstalled. could this be an issue?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    If it replaced /usr/lib/libperl.so then that is a likely culprit. What does `ldd /usr/sbin/exim` output?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    root@nemesis [~/mail_stuff]# ldd /usr/sbin/exim
    linux-gate.so.1 => (0xabd1b000)
    libresolv.so.2 => /lib/libresolv.so.2 (0xabcfe000)
    libnsl.so.1 => /lib/libnsl.so.1 (0xabce8000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0xabcba000)
    libm.so.6 => /lib/tls/libm.so.6 (0xabc97000)
    libpam.so.0 => /lib/libpam.so.0 (0xabc8f000)
    libdb-4.2.so => /lib/tls/i686/libdb-4.2.so (0xabbc1000)
    libperl.so => /usr/lib/libperl.so (0xaba8a000)
    libdl.so.2 => /lib/libdl.so.2 (0xaba86000)
    libutil.so.1 => /lib/libutil.so.1 (0xaba82000)
    libpthread.so.0 => /lib/tls/libpthread.so.0 (0xaba70000)
    libc.so.6 => /lib/tls/libc.so.6 (0xab945000)
    libssl.so.4 => /lib/libssl.so.4 (0xab911000)
    libcrypto.so.4 => /lib/libcrypto.so.4 (0xab827000)
    /lib/ld-linux.so.2 (0xabd1c000)
    libaudit.so.0 => /lib/libaudit.so.0 (0xab817000)
    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xab803000)
    libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xab79e000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0xab79b000)
    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xab779000)
    libz.so.1 => /usr/lib/libz.so.1 (0xab769000)


    this is what it comes up. sorry for the delay.
     
    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