Learn about Centmin Mod LEMP Stack today
Register Now

Email Postfix or Mailserver or Both?

Discussion in 'Domains, DNS, Email & SSL Certificates' started by pamamolf, Oct 9, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:01 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi

    I install on a dedicated server Centminmod and in general i have this problem for all my friends :(

    I know George don't want to support this but at least let's try to find a solution here in a topic as i can't recommend Centminmod to my friends with this problem and this is the only negative :(

    When users register on the forum they don't get any registration mail.... :(

    Then i try to find out what is wrong and i got this:

    Spam Test Result by mail-tester.com

    and

    DNS Report for rockraidersunited.com - DNSInspect

    Then i contact namecheap support and we don't find a solution and they recommend me to install a mailserver...

    On namecheap i use just an A record for my server ip/domain and not my own nameservers if that matters....

    So i need your recommendations please ...

    Do i have just to configure postfix and use a mail like: accounts@rockraidersunited.com and get a valid mailserver to add a record for it like mail.rockraidersunited.com.

    or

    i must configure a mail server software and which on the server?


    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,209
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    8:01 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    most of your problems are DNS related without at least SPF setup in DNS and no reverse DNS records so nothing to do with default Centmin Mod postfix setup

    see
    and best to use a 3rd party provider Email - Free @yourdomain.com Email Accounts & Alternatives and for forum emails something like mandrill.com still you need proper SPF, DKIM and reverse DNS setup for such
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:01 AM
    Nginx-1.25.x
    MariaDB 10.3.x
  4. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    6:01 AM
    Mainline
    10.2
  5. eva2000

    eva2000 Administrator Staff Member

    53,209
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    8:01 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    re-read above quoted post of mine, your SPF records all wrong/incorrect and so is reverse DNS

    this is why I don't provide free support for email, too many non-Centmin Mod variables to troubleshoot as to why email isn't delivered :)

    Also make sure for 3rd party smtp, Centmin Mod's CSF Firewall whitelists and opens smtp TCP_OUT and TCP6_OUT ports CSF - CSF Firewall info

    Also check if your web host blocks smtp ports by default, i.e. wable.com and vultr.com block smtp ports for all VPS. For vultr you need to submit a ticket to get smtp ports unblocked.
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:01 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok George :)
    My settings:
    [​IMG]
    If anyone can help or if anyone can recommend what they use on Centminmod dedicated servers....
    Thanks
     
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:01 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok i fix almost all issues and now i am on OPENDKIM error when i start it:

    Code:
    Cannot determine host's domain name, so skipping default key generation.
    nano /etc/hosts

    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    198.204.226.194 server server.mydomain.com mydomain.com

    I don't know why ....
     
  8. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    6:01 AM
    Mainline
    10.2
    Should be:
    Code:
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    198.204.226.194 server.mydomain.com server
    
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    1:01 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    All done thanks :)