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!

Not receiving/sending mail for all domains

Discussion in 'E-mail Discussion' started by NetX, Feb 20, 2006.

  1. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    166
    All domains on the server have problems seding or receiving mail.

    When I check /var/log/exim_mainlog there are several errors like "no such address here" but the address exists ! or "sender verify address"


    I have tried /scripts/eximup --force
    and rm /etc/eximmailtrap

    bot nothing works.


    Any help will be appreciated !!


    Code:
    2006-02-20 10:25:10 H=(DIR) [200.67.150.110] F=<danielc@demdom.com> rejected RCPT <tino@yahoo.com.mx>: Sender verify failed
    
    2006-02-20 10:25:10 failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checksa_deliver}{$domain}{$local_part}{$received_protocol}}" for virtual_sa_user router: Undefined subroutine &main::checksa_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{check_deliver_spam}{$domain}{$local_part}}" for virtual_user_spam router: Undefined subroutine &main::check_deliver_spam called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{check_deliver}{$domain}{$local_part}}" for virtual_user router: Undefined subroutine &main::check_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checksa_deliver}{$domain}{$local_part}{$received_protocol}}" for virtual_sa_user router: Undefined subroutine &main::checksa_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{check_deliver_spam}{$domain}{$local_part}}" for virtual_user_spam router: Undefined subroutine &main::check_deliver_spam called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{check_deliver}{$domain}{$local_part}}" for virtual_user router: Undefined subroutine &main::check_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checksa_deliver}{$domain}{$local_part}{$received_protocol}}" for virtual_sa_user router: Undefined subroutine &main::checksa_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{check_deliver_spam}{$domain}{$local_part}}" for virtual_user_spam router: Undefined subroutine &main::check_deliver_spam called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.
    
    2006-02-20 10:25:10 failed to expand condition "${perl{check_deliver}{$domain}{$local_part}}" for virtual_user router: Undefined subroutine &main::check_deliver called.
     
    #1 NetX, Feb 20, 2006
    Last edited: Feb 20, 2006
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    That clearly suggests eximup is not installing exim.pl - that happens if you've made the mistake off making /etc/exim.conf immutable. Do the following:

    lsattr /etc/exim.conf

    If the result is anything but a line of dashes you need to undo the chattr and then eximup again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    166
    I got: ------------- /etc/exim.conf

    how can I undo the chattr...
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    That's how it should be. I'd try running /scripts/eximup --force and pasting the output here or checing it for errors yourself.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    166
    I got these errors


    Code:
    [~]# /scripts/eximup --force 
    Exim Setup Script Version 20.0
    Fetching version information from [url]http://updates.cpanel.net/eximinstall/version[/url] (CURRENT)....Done
    This is the exim 4.52 installer release number 7 for platform redhat AS-3
    rpmdb: Program version 4.2 doesn't match environment version
    error: db4 error(22) from dbenv->open: Invalid argument
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    Traceback (most recent call last):
      File "/usr/sbin/up2date", line 1174, in ?
        sys.exit(main() or 0)
      File "/usr/sbin/up2date", line 656, in main
        ret = sanityChecks(fromDaemon, hasGui)
      File "/usr/sbin/up2date", line 288, in sanityChecks
        if cfg["useGPG"] and gpgUtils.checkGPGInstallation() == 2:
      File "gpgUtils.py", line 31, in checkGPGInstallation
      File "gpgUtils.py", line 75, in findKey
      File "rpmUtils.py", line 102, in installedHeadersNameVersion
    TypeError: rpmdb open failed
    Resetting Exim to cPanel Defaults and Installing the Latest Version
    Method: Perl Expect
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for mirror.hyperian.net (/index.html)
    Dropping unknown config variable 'less'
    Dropping unknown config variable 'make_test'
    commit: wrote '/usr/lib/perl5/5.8.0/CPAN/Config.pm'
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Mon, 20 Feb 2006 07:16:26 GMT
    Mail::SpamAssassin is up to date (3.001000).
    Net::DNS is up to date (0.55).
    perlmod--Install done
    --10:56:07--  [url]http://diff.cpanel.net/exim/4.52-7/redhat/AS-3/exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm[/url]
               => `exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm'
    Resolving diff.cpanel.net... 69.90.250.36, 198.66.78.11, 198.66.78.12, ...
    Connecting to diff.cpanel.net|69.90.250.36|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,507,598 (1.4M) [audio/x-pn-realaudio-plugin]
    
    100%[========================================================================================>] 1,507,598    843.94K/s             
    
    10:56:09 (841.81 KB/s) - `exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm' saved [1507598/1507598]
    
    rpmdb: Program version 4.2 doesn't match environment version
    error: db4 error(22) from dbenv->open: Invalid argument
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Program version 4.2 doesn't match environment version
    error: db4 error(22) from dbenv->open: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    Generating a 1024 bit RSA private key
    ....++++++
    .++++++
    writing new private key to '/etc/exim.key'
    -----
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [GB]:State or Province Name (full name) [Berkshire]:Locality Name (eg, city) [Newbury]:Organization Name (eg, company) [My Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:Building exim.conf...Exim version 4.52 #1 built 28-Jul-2005 08:17:04
    Copyright (c) University of Cambridge 2005
    Berkeley DB: Sleepycat Software: Berkeley DB 4.1.25: (August 21, 2003)
    Support for: 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 autoreply pipe smtp
    Configuration file is /etc/exim.conf.buildtest
    `/etc/exim.conf.buildtest' -> `/etc/exim.conf'
    Done
    exim: no process killed
    Waiting for exim to restart..............finished.
    
    mailnull 23009  0.0  0.2  7540 2972 ?        S    Feb19   0:01 /usr/bin/perl /usr/local/cpanel/bin/eximstats 
    mailnull 27673  0.3  0.1  6640 1884 ?        S    10:56   0:00 /usr/sbin/exim -bd -q60m
    mailnull 27680  0.0  0.1  6600 1844 ?        S    10:56   0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    mailnull 27707  0.4  0.2  6936 2924 ?        S    10:56   0:00 /usr/sbin/exim -bd -q60m
    mailnull 27760  0.3  0.2  6936 2864 ?        S    10:56   0:00 /usr/sbin/exim -bd -q60m
    mailnull 27763  0.3  0.1  6652 1976 ?        S    10:56   0:00 /usr/sbin/exim -bd -q60m
    mailnull 27780  0.0  0.1  6652 1980 ?        S    10:56   0:00 /usr/sbin/exim -bd -q60m
    root     27750  2.7  0.1  3460 1780 ?        S    10:56   0:00 antirelayd                        
    
    exim started ok
    Install Complete

    --------------------

    I'm running WHM 10.8.0 cPanel 10.8.1-C112
    RedHat Enterprise 3 i686 - WHM X v3.1.0
     
    #5 NetX, Feb 20, 2006
    Last edited: Feb 20, 2006
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    166
    It works now !


    Thank you very much chirpy !!!
     
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