Skip to main content

After upgrade, local domain and secondarymx are empty

Comments

11 comments

  • quietFinn

    Maybe you should look at
    /etc/remotedomains

    0
  • Antonio Biba

    /etc/remotedomains is also completely empty

    I noticed that with 

    > sudo vi /etc/localdomains

    listing all hosted domain it can send and recive emials... but...

    All sent email to external server is labeled as spam?

    What else needs to be reconfigured?

     

     

    0
  • cPRex Jurassic Moderator

    You mentioned you performed an upgrade - was this actually a migration to a new server on a different IP address?  If so, that IP address may have had a poor reputation before it was assigned to you, especially if nothing else has changed on your machine.

    You will want to ensure that your accounts have SPF and DKIM enabled:

    https://docs.cpanel.net/whm/dns-functions/enable-dkim-spf-globally/

    or else emails are far more likely to end up in spam.

    0
  • Antonio Biba

    It was an upgrade over the same server. All programs and configuration was saved, overwritten and recovered by the automated migration program

    Some steps in the manual failed and half of the migration was done manually

    0
  • cPRex Jurassic Moderator

    Did you use ELevate to update the system?

    0
  • Antonio Biba

    I started with ELevate until after a reboot I was not able to see the start menu to choose the option the tutorial talked about

    After that, some Python libraries were messed up and was needed to fix manually

    After that, Apaches failed, problem with Exim and some missed domain names

    At this point, the only issue to solve is that all sent email from this server is labeled with ***SPAM***

    0
  • cPRex Jurassic Moderator

    I would check and ensure that all domains have SPF and DKIM records in place. 

    0
  • 1A Support

    We ran in to the same problem with email delivery after an upgrade from centos 7 to almalinux 8 via elevate-cpanel https://cpanel.github.io/elevate/getting-started/

    After the upgrade /etc/localdomains, /etc/remotedomains and /etc/secondarymx were empty. After testing a few things we decided to restore those files from backup and email delivery started working again. Adding and removing a domain from WHM does not seem to break this again (it simply adds and removes the single domain from the /etc/localdomains file)

    0
  • cPRex Jurassic Moderator

    1A Support - thanks for that information.  I've passed this over to the ELevate team just now.

    0
  • cPRex Jurassic Moderator

    The ELevate team has created case RE-1348 to address the /etc/localdomains file being modified after an ELevate run.  We aren't currently able to reproduce an issue with the remotedomains file, but localdomains is definitely overwritten during that work.

    Our team is on that now and I'll be sure to post an update here once I have more details.

    0
  • cPRex Jurassic Moderator

    Update - this will be fixed in the next version of 126 when that is released!

    0

Please sign in to leave a comment.