Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Dealing with customers that want their emails to arrive in ~30 seconds

Discussion in 'E-mail Discussion' started by Denis Gomes Franco, Feb 21, 2019.

  1. Denis Gomes Franco

    Denis Gomes Franco Active Member

    Joined:
    Sep 3, 2018
    Messages:
    32
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Tupã, São Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Hey guys, newbie here, migrating from Plesk after having some issues there.

    So, how do I deal with a customer that wants their messages (sent from other websites not hosted by me) delivered in about 30 seconds? I kid you not.

    This particular customer is complaining that when he sends a message from that other website to his @icloud.com account, the message arrives immediately, whereas when he sends the message to his account hosted by me, it takes around 2-3 minutes to arrive.

    Absurd, I know, but what the heck... And the weird thing is, he says that when I was using Plesk it was really faster.

    I understand it might take some time for the server to analyze the message but... how do you guys deal with this kind of situation? Greylisting is not enabled, sites are running fast, the server has plenty of resources... And yeah, this is the kind of guy that complains about every little thing. FML.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    46,979
    Likes Received:
    2,120
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Denis Gomes Franco,

    It's possible the Introduce a delay into the SMTP transaction for unknown hosts and messages detected as spam option found under the ACL Options tab in WHM >> Exim Configuration Manager >> Basic Editor is having some effect on the delivery speed. The default value is set to delay emails from unknown hosts for 20 seconds.

    You could explain that part of the reason for the delivery time is to reduce the potential for SPAM. You may also want to perform a test to measure how long it actually takes for delivery from a remote mail server to an email account hosted on the cPanel server. While testing, use the "tail -f /var/log/exim_mainlog" command to monitor which stage of the delivery takes the longest.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 cPanelMichael, Feb 21, 2019
    Last edited: Feb 21, 2019
  3. Denis Gomes Franco

    Denis Gomes Franco Active Member

    Joined:
    Sep 3, 2018
    Messages:
    32
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Tupã, São Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Hi Michael, thanks for getting back to me. There is no ACL tab in Tweak Settings (running v78.0.11 here). I also couldn't find any option with 'DELAY' or 'UNKNOWN' in its nem in Tweak Settings.

    I actually explained to the customer that 2-3 minutes is quite standard and that Spamassassin actually has to scan messages before delivery, so this should be accounted. I hope this lowered his expectations a little bit.

    But what about these 'unknown hosts'? Would Cpanel still delay messages from these hosts after receiving one legitimate message from them? Tell me more about it.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    46,979
    Likes Received:
    2,120
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Denis Gomes Franco,

    My mistake, the interface is WHM >> Exim Configuration Manager >> Basic Editor. I've modified my previous post to reflect this.

    Here's the option's description:

    The SMTP receiver will wait a few additional seconds for a connection when it detects spam messages in order to reduce inbound spam. The system excludes the following remote hosts from the delay: Neighbor IP addresses in the same netblock, Loopback addresses, Trusted Mail Hosts, Relay Hosts, Backup MX Hosts, Skip SMTP Checks Host, Sender Verify Bypass Hosts.

    The delay is applicable to any remote host that isn't on the exclusion list in the description above.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Denis Gomes Franco

    Denis Gomes Franco Active Member

    Joined:
    Sep 3, 2018
    Messages:
    32
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Tupã, São Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Okay, found it and disabled it. I'll ask the customer to test this out. Goddamnit, these people....

    Now, as a newbie sysadmin, I'm curious, how does this option help fight spam?
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    46,979
    Likes Received:
    2,120
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Legitimate mailing systems will typically wait past the delay, whereas spammers are often unable to wait past the delay because they are trying to send out SPAM to as many email addresses as possible before the spamming server is shutdown or blacklisted. In testing this is shown to be one of the most effective strategies at preventing incoming SPAM messages.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Denis Gomes Franco

    Denis Gomes Franco Active Member

    Joined:
    Sep 3, 2018
    Messages:
    32
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Tupã, São Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Isn't that what greylisting is? (Which BTW is disabled in my server). Or is it different?

    Great explanation, now I have an argument for when the customer starts complaining about too much spam ("You complained about messages getting delayed, so f@ off").
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    46,979
    Likes Received:
    2,120
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Denis Gomes Franco,

    Greylisting uses a different method to help prevent SPAM. Here's the description from our Greylisting document:

    The linked document includes more technical details about how it works.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice