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.

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:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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,
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    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
     
  3. chirpy

    chirpy Well-Known Member

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

    /scripts/eximup --force
     
  4. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  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
    No, it shouldn't affect MailScanner at all.
     
  6. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  7. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  8. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    any clues guys?
     
  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
    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 -------------
     
  10. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  11. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    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?
     
  12. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page