Want more timely Centmin Mod News Updates?
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

    25
    8
    3
    Feb 2, 2020
    Ratings:
    +18
    Local Time:
    7:42 PM
    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

    25
    8
    3
    Feb 2, 2020
    Ratings:
    +18
    Local Time:
    7:42 PM
    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

    47,498
    10,769
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,742
    Local Time:
    1:42 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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.