Get the most out of your Centmin Mod LEMP stack
Become a Member

Sysadmin Is it too late to run Setup Step 1...two years later?

Discussion in 'System Administration' started by David Schargel, Sep 27, 2021.

  1. David Schargel

    David Schargel New Member

    26
    8
    3
    Feb 2, 2020
    Ratings:
    +18
    Local Time:
    8:22 AM
    After having a working host for 2 years, I noticed that I never set the default server main hostname properly and I'm now running into email DMARC issues for server sent root emails. When I run:
    Code:
    postconf -d myhostname mydomain
    I get:
    Code:
    myhostname = mycorrecthostname.localdomain
    mydomain = localdomain
    Similarly, running:
    Code:
    uname -a
    doesn't show a proper FQDN full main hostname.

    I now know this is my fault because I simply never understood nor ran Step 1 (Setup The Default Server Main Hostname Nginx Vhost).

    My dilemma is, with multiple working domains on this server, whether it's too late to go back and go through Step 1 in the Getting Started Guide?

     
  2. David Schargel

    David Schargel New Member

    26
    8
    3
    Feb 2, 2020
    Ratings:
    +18
    Local Time:
    8:22 AM
    I should have also mentioned that I'll be setting up all my DNS records (reverse PTR, SPF, DKIM, DMARC) after I solve this default server main hostname issue.
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,149
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    1:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Shouldn't be too late provided you use a main hostname setup in Step 1 of Getting Started guide that is unique and NOT the same subdomain name as an actual site setup via centmin.sh menu option 2, 22 or nv. Then if you follow https://community.centminmod.com/th...ver-email-doesnt-end-up-in-spam-inboxes.6999/, should take care of your DMARC setup.