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.

Email is dead: failed to expand condition Errors

Discussion in 'E-mail Discussions' started by Bravo, Aug 17, 2007.

  1. Bravo

    Bravo Well-Known Member

    Joined:
    Oct 30, 2001
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Exim is throwing errors such as:

    Code:
    failed to expand condition "${perl{democheck}}" for democheck router:
    Undefined subroutine &main::democheck called.
    
    failed to expand condition "${perl{checkspam2}}" for checkspam2
    router: Undefined subroutine &main::checkspam2 called
    Updated perl, ran upcp --force, eximup, but it's still not working.
    Boxtrapper is disabled, no references to it in exim.conf.

    Any ideas would be appreciated....
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Try

    /scripts/eximup --force
     
  3. Bravo

    Bravo Well-Known Member

    Joined:
    Oct 30, 2001
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Tried that too a couple of times, also rpm rebuilddb, and just about everything else I could find in related threads. Still getting the same errors.
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Try

    /scripts/buildeximconf
    /scripts/restartsrv_exim

    and paste the output
     
  5. Bravo

    Bravo Well-Known Member

    Joined:
    Oct 30, 2001
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Code:
    root@amor [/etc]# /scripts/buildeximconf
    Enabled system filter options: attachments|fail_spam_score_over_200|spam_rewrite
    Enabled ACL options in block ACL_RBL_BLOCK:
    Enabled ACL options in block ACL_SPAM_BLOCK: deny_spam_score_over_200
    SpamAssassin method remains unchanged
    Configured options list is:
    Provided options list is: spamd_address
    Exim Insert Regex is: virtual_userdelivery|virtual_user|address_pipe|lookuphost|virtual_aliases|localuser
    Exim Replace Regex is: central_filter|central_user_filter|democheck|fail_remote_domains|literal|localuser_spam|lookuphost|remote_smtp|sa_localuser|virtual_sa_user|virtual_user_spam
    Exim Match Insert Regex is: quota_directory|maildir_format
    Skipping lookuphost insert as it requires boxtrapper and it is disabled.
    Skipping virtual_user insert as it requires boxtrapper and it is disabled.
    Skipping localuser insert as it requires boxtrapper and it is disabled.
    Adding maildir specific address_pipe to exim config
    Skipping virtual_userdelivery insert as it requires boxtrapper and it is disabled.
    Exim version 4.63 #1 built 29-Nov-2006 09:56:55
    Copyright (c) University of Cambridge 2006
    Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (February 22, 2005)
    Support for: crypteq iconv() PAM Perl OpenSSL Content_Scanning Old_Demime
    Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
    Authenticators: cram_md5 plaintext spa
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    Transports: appendfile/maildir autoreply pipe smtp
    Size of off_t: 8
    Configuration file passes test!  New configuration file was installed.
    Exim Perl Load List is: fast_isdemo|checkpass_cphulkd|checkspam|spam_acl_support|checkspam2|checkuserquota|boxtrapper
    /etc/exim.pl.local installed!
    
    Code:
    root@amor [/etc]# /scripts/restartsrv_exim
    Starting exim:                                             [  OK  ]
    Starting exim-smtps:                                       [  OK  ]
    Starting antirelayd:                                       [  OK  ]
    Starting antirelayd:                                       [  OK  ]
    
    Errors continue....
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please open a ticket: https://tickets.cpanel.net/submit/

    You don't have any chattr +i do you?
     
  7. Bravo

    Bravo Well-Known Member

    Joined:
    Oct 30, 2001
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Ticked was opened about 3 hours ago, status: unassigned.

    No chattr +i

    Code:
    root@amor [/etc]# lsattr -R /etc/exim*
    ------------- /etc/exim/authtab
    ------------- /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.conf
    ------------- /etc/exim.conf.77
    ------------- /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.crt
    ------------- /etc/exim.key
    ------------- /etc/exim.pl.local
    ------------- /etc/eximrejects
    ------------- /etc/eximrejects.rpmorig
    
     
  8. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please PM me your account #. I will find it and escalate it.

     
  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
    What you check the ACL's you also should check /var/lib/rpm/. Some tools, LSM I think, FUBAR your rpm database and I've seen it cause this very problem.
     
  10. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    failed to expand condition "${perl{democheck}}" for democheck router:
    Undefined subroutine &main::democheck called.

    failed to expand condition "${perl{checkspam2}}" f



    Whenever I see those type errors I have found it best to check in
    Tweak Settings > The maximum each domain can send out per hour

    Usually a Client that has exceeded the max. allowed.

    May be the same problem/answer in this case.
     
Loading...

Share This Page