Discover Centmin Mod today
Register Now

Email DKIM issues for @mydomain.com

Discussion in 'Domains, DNS, Email & SSL Certificates' started by pamamolf, Mar 3, 2017.

  1. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    Yes.....

    Damn now even if am getting 10/10 i can see the email when a user register at Spam folder Gmail/hotmail and i think that is related to the info@mydomain used as sender and that one is hosted at ZOHO and it looks like spoofed address to them ...

    I hate that email stuff !

    Can i use any other email on my server as send mail and avoid that issue?


    or i must use SMTP ?

    It will be great for Centminmod to help on that (don't know how and if it is easy) but one email as sender should be valid on the server......(using hostname?)

    I am against also as you to have email apps and control of them on main server and do the job there but when a user register that the email is generated on the server and should be a solution to use a valid sending email (from:) that will not marked as Spam/Spoofed ..... by gmail or hotmail....
     
    Last edited: Mar 4, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:06 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    All required steps to prevent email going to spam box is outlined at https://community.centminmod.com/th...ver-email-doesnt-end-up-in-spam-inboxes.6999/.

    On Centmin Mod, Postfix is configured for sending out emails for all domains out of box. So you're all taken care of for any site hosted on your server for Postfix outgoing emails sent from the main host name so emails sent from @mainhost.domain.com. Which is why Getting Started Guide step 1 for proper main hostname DNS configuration is important for properly email delivery via Postfix and also mentioned at Email - Steps to ensure your site/server email doesn't end up in spam inboxes | Centmin Mod Community

    But I have no intention of doing any local email pop3/imap support on Centmin Mod for receiving emails as I don't want to bother with troubleshooting mail delivery issues (as you can see from this thread ;)) as there's so many factors outside of my control as to why mail isn't delivered on the internet. I don't plan on providing any free support for such email related matters either. So best to use 3rd party email providers for @yourdomain.com emails for best uptime, reliability, security and anti-spam and email user management. See a list of recommendations at Email - Free @yourdomain.com Email Accounts & Alternatives.

    For web app sent emails SMTP is the most reliable and easiest way to send emails from web app @yourdomain.com. For this forum (web app = xenforo), i send emails from the forum via Amazon SES smtp servers for best reliability. Works fine with Amazon SES taking care of DKIM for my @domain.com sent emails etc :)

    example of Gmail mail headers for emails sent from this forum

    upload_2017-3-5_0-0-54.png
     
  3. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    Ok :)

    Any idea what to use for SMTP login info for ZOHO?

    Didn't find any related info...

    Also as i can see they offer towo options SSL and TLS with different port... Which one you recommend me to use?

    Thanks
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:06 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  5. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    I was try last month to use Amazon SES and was very complicated for me !!!!! :(

    But it looks a good option !

    I was expecting to register and get some SMTP login info to place at Opencart and pay when i have to and that's it .....but i got a lot of options and so on...
     
  6. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    One idea that can solve this very easy i think is to use as send mail an email related to hostname that it will be valid as it is on the same server...? and use as reply email the email info@mydomain.com ?

    or not?
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:06 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    then you're going into @mydomain.com email sending territory which Centmin Mod doesn't support as i don't want to provide free tech support for.

    smtp transactional provider for web app sending is the best way :)
     
  8. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    Checking the headers at Gmail i can see:

    SPF: PASS
    DKIM: PASS
    DMARC: PASS

    Mailtester 10/10

    :wtf:
     
    Last edited: Mar 5, 2017
  9. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    Even with all the above i am getting the mail at Spam folder :(

    Anyway i just contact Google about it and i am waiting.....
     
  10. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:06 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  11. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    All are clean and not blacklisted.....
     
  12. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    What do you think about Google's SMTP?

    I was thinking to move there and use the SMTP that they provide.....

    Any ideas?
     
  13. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:06 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Gmail SMTP has low send limits not for transactional smtp emails. Use properly smtp transactional provider for such
     
  14. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    3:06 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    It seems that i can solve that problem by accessing a mail that they will send me at postmaster@mydomain.com so they can verify me :)

    Any ideas for the easiest way to do that on my Centminmod server without messing with installations of dovecot and so on ?

    Checking on the net i found that /etc/aliases has an option that redirects the mails to : root

    So how can i set my root email and how can i check for an incoming mail?


    Thank you !
     
    Last edited: Mar 10, 2017
  15. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:06 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    for Gmail ? postmaster is a reserved username so to check that you need to create and subscribe to a Gsuite domain group
    But if you're using non-Google APP/Gsuite @domain.com emails, you can just setup an user alias or postmaster account to check with your 3rd party provider.

    For general forwarding of server root@hostname domain emails to other email accounts see step 18 of Getting Started Guide
     
    Last edited: Mar 10, 2017