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.

Ran /upcp now I can't send mail to anyone on the box.

Discussion in 'E-mail Discussions' started by ckizer, Sep 26, 2005.

  1. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    Thanks to the wonders of /upcp my machine is now having problems.

    sending email to any domain on this machine returns this bounce:

    Mail Delivery Subsystem
    <mailer-daemon@gmail.com> to me
    More options 8:20 pm (0 minutes ago)
    This is an automatically generated Delivery Status Notification

    Delivery to the following recipient failed permanently:

    test@mydomain.com

    Technical details of permanent failure:
    PERM_FAILURE: SMTP Error (state 9): 550-"The recipient cannot be verified. Please check all recipients of this
    550 message to verify they are valid."



    Mail LOG:


    H=(zproxy.gmail.com) [64.233.162.202] F=<test@mydomain.com> rejected RCPT <test@mydomain.com>:


    I've tried restarting everything, check/unchecking settings for exim config on verifying using and everything i can think of. I hate updating, everything always screws up....

    I've tried:
    /scripts/updateuserdomains
    /scripts/mailperm

    Tried changing the domain to :blackhole: instead of fail. I'm at my wits end. What's going on? Why does this happen? I see tons of problems like this but nobody has a solid answer

    Suggestions?
     
    #1 ckizer, Sep 26, 2005
    Last edited: Sep 26, 2005
  2. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    Also I made sure:
    Prevent the user 'nobody' from sending out mail to remote addresses

    IS OFF

    Version it upgraded me too:
    WHM 10.6.0 cPanel 10.8.0-C26

    What's the safest way to roll back without my cpanel server exploding?
     
  3. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    More Errors:
    2005-09-26 20:48:40 failed to expand condition "${perl{checkspam}}" for lookuphost router: Undefined subroutine &main::checkspam called.

    2005-09-26 20:48:40 failed to expand condition "${perl{checkspam}}" for literal router: Undefined subroutine &main::checkspam called.

    What's up?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That means that exim.pl is missing. Try running:

    /scripts/eximup --force
     
  5. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    I already did that and it doesn't fix the problems. Any other solutions? Why on earth???/ would /upcp delete this file?
     
  6. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    Exim Reinstall

    EXACT SAME ERROR: How do I get this file back?
    Code:
    root@server1 [~]# /scripts/eximup --force
    Exim Setup Script Version 20.0
    Fetching version information from http://updates.cpanel.net/eximinstall/version (RELEASE)....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 cpan.erlbaum.net (/index.html)
    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, 26 Sep 2005 07:13:51 GMT
    CPAN: LWP::UserAgent loaded ok
    Fetching with LWP:
      http://cpan.erlbaum.net/authors/01mailrc.txt.gz
    Going to read /home/.cpan/sources/authors/01mailrc.txt.gz
    Fetching with LWP:
      http://cpan.erlbaum.net/modules/02packages.details.txt.gz
    Going to read /home/.cpan/sources/modules/02packages.details.txt.gz
      Database was generated on Tue, 27 Sep 2005 03:11:29 GMT
    Fetching with LWP:
      http://cpan.erlbaum.net/modules/03modlist.data.gz
    Going to read /home/.cpan/sources/modules/03modlist.data.gz
    Going to write /home/.cpan/Metadata
    File::Spec is up to date.
    Digest::MD5 is up to date.
    Compress::Zlib is up to date.
    Archive::Tar is up to date.
    Data::Dumper is up to date.
    Net::Telnet is up to date.
    Net::Cmd is up to date.
    Term::ReadKey is up to date.
    Term::ReadLine::perl is up to date.
    CPAN is up to date.
    Mail::SpamAssassin is up to date.
    Net::DNS is up to date.
    perlmod--Install done
    --09:50:20--  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
               => `exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm'
    Resolving diff.cpanel.net... done.
    Connecting to diff.cpanel.net[69.72.164.152]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,507,598 [application/x-rpm]
    
    100%[======================================================================================================>] 1,507,598    766.80K/s    ETA 00:00
    
    09:50:23 (766.80 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.50 #1 built 14-Mar-2005 10:42:26
    Copyright (c) University of Cambridge 2004
    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 22710  0.0  0.5  6568 2932 ?        S    Sep26   0:03 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    mailnull 27468  0.0  0.3  6608 1880 ?        S    09:50   0:00 /usr/sbin/exim -bd -q60m
    mailnull 27473  0.0  0.3  6592 1848 ?        S    09:50   0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    root     27504  1.0  0.3  3460 1780 ?        S    09:50   0:00 antirelayd                       
    
    exim started ok
    Install Complete
    
    
     
    #6 ckizer, Sep 27, 2005
    Last edited by a moderator: Oct 7, 2015
  7. akashik

    akashik Active Member

    Joined:
    Oct 9, 2001
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Having the same issue here (for the second day in a row). exim.pl was apparently replaced fixing the problem yesterdday, but it happened again today. Anyone else seeing this?
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well, in the log posted you're getting rpm database errors which you will have to fix.

    For others, do you get errors too? Are you using the troublesome LES application from rfxnetworks and if so, have you disabled it as it screws around with the rpm database system?
     
  9. ctmattice

    ctmattice Member

    Joined:
    Nov 4, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Exim Errors

    Hi Chirpy,

    I don't get the errors on the build but have serveral account that have the same 550 errors. The last build of cPanel has messed me up for over a week now.

    /scripts/exim --force doesn't take care of the problem. I do not use LES but do have apf installed (latest version). Didn't have the problem until a upcp build update messed me up. I'll never make the mistake of leaving cPanel updates on default again, it's manual on everything from now on.

    Can you point me in the right direction per chance. Or what else do I need to look at! Possibly antirelay.d ?

    I'm stumped as well.

    One thing I've noticed is that those that get the 550 are listed as someaddress@localnet.com when viewing mail statistics.

    Thanks in Advance
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You should tail the exim mainlog and then check mail on an account/address that's failing and then post or act on what you see:

    tail -f /var/log/exim_mainlog

    (use ctrl-c to exit)
     
Loading...

Share This Page