Want to subscribe to topics you're interested in?
Become a Member

Install OpenDKIM and autoconfigure each new vhost

Discussion in 'Feature Requests & Suggestions' started by ethanpil, Nov 8, 2015.

Tags:
  1. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    11:08 AM
    I create a new VPS with a fresh install of Centos and CentMinMod.

    All of my system notifications are all going to my spam folder. Cron notices, WordPress notifications, etc.
    Would love to have a turnkey setup to create DKIM along with new vHost creation...

    OpenDKIM system seems very easily scriptable...
    Installing OpenDKIM RPM with Postfix or Sendmail (RHEL / CentOS / Fedora)

    What do you think?
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    11:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    Unfortunately for anything beyond basic Postfix MTA setup for outgoing email, I prefer not to touch as troubleshooting and supporting email related delivery etc issues is something I do not want to do for free. There are variety of reasons why email isn't delivered and alot can be beyond just the server itself. It's why I suggest 3rd party email providers @yourdomain.com email hosting - CentminMod.com LEMP Nginx web stack for CentOS see discussion at Email - Free @yourdomain.com Email Accounts & Alternatives and Email - Zoho Mail Free @yourdomain.com Email Provider Setup Information

    @Tracy Perry does his own OpenDKIM setup manually on Centmin Mod LEMP stack though.

    I also recommend 3rd party DNS than locally hosted Email - Zoho Mail Free @yourdomain.com Email Provider Setup Information | Centmin Mod Community so that does make automation for such a bit harder

    For system notifications, you can also setup rules for email from and to and ensure they do not go to spam folder too. And/or setup DNS SPF records for the main hostname for the server using one of these wizards

     
    Last edited: Nov 8, 2015
  3. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    11:08 AM
    Nginx 1.13.x
    MariaDB 5.5
  4. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    11:08 AM
  5. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    11:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    Actually wasn't much of a change of mind. Centmin Mod LEMP still does not setup and configure inbound @domain.com email i.e. pop3/imap etc. The OpenDKIM setup is just for postfix MTA outbound server sent emails from main hostname i.e. root@host.domain.com DKIM and SPF TXT record setups.
     
  6. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    11:08 AM
    Great. Thats all I ever wanted! Thanks for making CMM better and better!!
     
    • Like Like x 1
  7. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    11:08 AM
    Since I cant ask in the other thread.... Is there an easy way to sync all these dns settings between CMM and cloudflare?
     
  8. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    11:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    you mean Centmin Mod NSD zone files for locally hosted dns for when you use NSD as outlined at Domains - Domain name DNS setup on local NSD server | Centmin Mod Community ?

    NSD has the zone files at /etc/nsd/master/domain.com.zone where domain.com is domain name, so can copy those for reference or import if the destination DNS provider supports importing dns zones. Though Cloudflare usually can auto detect some DNS settings and auto import then when you add a new site to Cloudflare DNS - Cloudflare DNS Only Configuration | Centmin Mod Community

    within Cloudflare DNS Advanced options

    upload_2016-4-13_1-17-26.png