Learn about Centmin Mod LEMP Stack today
Become a Member

Email SMTP is delay in sending emails

Discussion in 'Domains, DNS, Email & SSL Certificates' started by pheonis, Mar 27, 2019.

  1. pheonis

    pheonis Member

    54
    3
    8
    Dec 21, 2018
    Ratings:
    +4
    Local Time:
    10:44 PM
    Hi @eva2000 , I am having trouble sending transactional woocommerce emails There is a delay of almost 60 seconds in delivery. I have tested two sites on my server running on centminmod using WP Mail SMTP plugin. In both the sites, there was the issue of delay. While i have another website on a shared host and it is working fine with SMTP and sending emails fast enough.
    I think there is some filter or something in centminmod that is causing the delay
     
  2. eva2000

    eva2000 Administrator Staff Member

    41,663
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    3:14 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
  3. pheonis

    pheonis Member

    54
    3
    8
    Dec 21, 2018
    Ratings:
    +4
    Local Time:
    10:44 PM
    I am using WP Mail SMTP plugin where there is the option to select google apps to configure SMTP. I did that. I am getting the transactional emails but they are too late. like a delay of more than 1minute.

    I am using Cloudflare. I have setup SPF, DKIM, and DMARC right now in cloudflare DNS section. till now i havenot setup PTR, i have contacted my hosting about this .
    @eva2000 , I just want to use use SMTP smoothly for transactional emails.
     
  4. eva2000

    eva2000 Administrator Staff Member

    41,663
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    3:14 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Google SMTP is known to have delays. If you want faster delivery all round use a 3rd party transactional email provider like Amazon SES which is what I use on this forum :) ;) https://community.centminmod.com/threads/amazon-aws-ses-smtp-transactional-email-info.13842/ :D

    Amazon SES is also one of only SMTP providers that hides the origin server real IP when behind cloudflare. Others like Google App, Sendgrid, Mailgun pass the origina server's real IP to the client exposing the real IP even when you're behind Cloudflare !
     
  5. pheonis

    pheonis Member

    54
    3
    8
    Dec 21, 2018
    Ratings:
    +4
    Local Time:
    10:44 PM
    I have signed up for Amazon SES. They are reviewing my account now.
    now when i check the SPF lookup of zepper.in then it's showing error that SPF record was not found.
    and when i check for hostname.zepper.in i can see find the SPF record.
    Is it normal? or do i need to add anything to
    Code:
    v=spf1 a mx ~all
    or add any other DNS

    The DKIM is for hostname.zepper.in, How can i generate it for domain only(zepper.in)? How can i check the DKIM is working?

    When I check the email header, Its showing error SPF: Neutral and DMARC: FAIL
     
  6. pheonis

    pheonis Member

    54
    3
    8
    Dec 21, 2018
    Ratings:
    +4
    Local Time:
    10:44 PM
  7. eva2000

    eva2000 Administrator Staff Member

    41,663
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    3:14 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    zepper.in domain using Amazon SES will need SPF/DKIM records configured by you via Amazon SES console separately from hostname.zepper.in https://community.centminmod.com/threads/amazon-aws-ses-smtp-transactional-email-info.13842/ link to Authenticating Your Email in Amazon SES.
     
  8. pheonis

    pheonis Member

    54
    3
    8
    Dec 21, 2018
    Ratings:
    +4
    Local Time:
    10:44 PM
    hi @eva2000 , thank you for your fast response. I have successfully setup the email in my server. Now i have one question,I made a few transactional emails on few of my own gmail accounts.
    I found i received one email notification into the inbox where SPF and DMARC are passed. and in another email, i receive it in the promotional section of Gmail. There the SPF i neutral and DMARC failed.
    Can you tell me why this is happening? How can i solve it.
     
  9. eva2000

    eva2000 Administrator Staff Member

    41,663
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,413
    Local Time:
    3:14 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x