Skip to main content

Easy FIX your SMTP banner, SMTP greeting and Reverse DNS for Dedicated IPs

Comments

17 comments

  • cvcvishnu
    Hello, I am facing the same issue. I have a domain and while checking in the MXToolbox site it shows "Reverse DNS does not match SMTP Banner". Please help me to fix the issue. Awaiting a quick response from any one
    0
  • Sam Nawi
    Well, after hours of finding solution of my problem as attached below. This is the problem I got before.. Long time delayed and smtp banner. then after looking for the setting on WHM - EXIM Configuration Manager. there are 2 main setting, I think the last one is the new.. here the key then voila..... my server was perfectly set up Sorry for bumping this old thread. Just for my archive information.. Regards, all..
    0
  • cPanelMichael
    Hello :) Keep in mind that while disabling the "Introduce a delay into the SMTP transaction for unknown hosts and messages detected as spam" may allow you to pass those online tests, it will allow more SPAM to come into your server. Enabling it should not negatively affect interactions with actual mail servers. Thank you.
    0
  • Pedro Henrique J B Costa
    Well, after hours of finding solution of my problem as attached below. This is the problem I got before.. Long time delayed and smtp banner. then after looking for the setting on WHM - EXIM Configuration Manager. there are 2 main setting, I think the last one is the new.. here the key then voila..... my server was perfectly set up Sorry for bumping this old thread. Just for my archive information.. Regards, all..

    Dear Sam, Thank you so MUCH, you really got me in the right directions and I was able to make the e-mails be sent/received correctly for the company the I work. And thanks to cPanelMichael too for warning about delay in the server and that would not affect e-mails! It does affects tests websites but not e-mails. Best whises, Pedro Henrique Ps.: Sorry for my bad english, some words I can't remember.
    0
  • martin MHC
    I would like to just add Many thanks for CPanel Michael and for Sam, both of whom whose answers helped me to completely solve my mailing issues on Cpanel v58. Cheers
    0
  • Thorsten H.
    UHHH, I turned off the delay as you discribed above and now all is fine; but why does the babber-message disappear?
    0
  • cPanelMichael
    New UHHH, I turned off the delay as you discribed above and now all is fine; but why does the babber-message disappear?

    It's a limitation of the third-party utility you are using (MXToolBox). The option results in a timeout in their test, leading to a false positive. I recommend leaving the option enabled now that you've confirmed it's the reason for the false positive. Thanks!
    0
  • cPanelMichael
    Quick question... This file does not exist in cPanel Exim. Anyone have a solution?

    Hello @rogerw, That's by design. We stopped creating and utilizing the /etc/mail_reverse_dns file starting with cPanel & WHM version 11.50. Any references to it that you see presently stem from user-submitted workarounds. Can you let us know the specific problem you are facing so we can guide you towards the best solution? Thanks!
    0
  • attentionsoft
    Thank you! That did the trick!
    0
  • aUserName
    ... SMTP Banner Check Reverse DNS does not match SMTP Banner ... any idea how to fix it?

    For anyone still wondering, since it isn't addressed in the Moderators note linked in the first post. This is relatively easy to fix. However, there is no way to do it without root access. Goes without saying that cPanel likely wont recommend or support it. You need to modify the Exim Configuration file and change the smtp_banner
    line(s) to make use of a lookup. We also need to manually create a file to act as our lookup database. First, create the lookup file at /etc/exim_banner_addresses
    and place each mapping on its own line using the following format: 192.168.1.234: myhost.domain.tld 10.1.2.3: host2.domain.tld
    Now edit the exim config, found at: /etc/exim.conf
    Search for the following lines: smtp_banner = "${primary_hostname} ESMTP Exim ${version_number} \ \#${compile_number} ${tod_full} \n\ We do not authorize the use of this system to transport unsolicited, \n\ and/or bulk e-mail."
    Replace the above lines with these: smtp_banner = "${smtp_active_hostname}" smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/exim_banner_addresses}{$value}{$primary_hostname}}
    Save the changes, and restart Exim to see the results. You may also want to set the config file to read-only. Again, this is not an automatic solution. In addition to manually adding new mapping entries - you will likely need to verify updates to Exim don't also require config updates, or need to manually re-apply this patch from time to time. One could think cPanel would already support this along side their other dedicated IP functionality. cPanel is full of stuff like this though. I'd make a feature request but I don't feel like writing a short story to explain it, or waiting months or years for it to gain traction with the devs. I'll leave that to someone who's good at it.
    0
  • KaiserTom
    For anyone still wondering, since it isn't addressed in the Moderators note linked in the first post. This is relatively easy to fix. However, there is no way to do it without root access. Goes without saying that cPanel likely wont recommend or support it. You need to modify the Exim Configuration file and change the smtp_banner
    line(s) to make use of a lookup. We also need to manually create a file to act as our lookup database. First, create the lookup file at /etc/exim_banner_addresses
    and place each mapping on its own line using the following format: 192.168.1.234: myhost.domain.tld 10.1.2.3: host2.domain.tld
    Now edit the exim config, found at: /etc/exim.conf
    Search for the following lines: smtp_banner = "${primary_hostname} ESMTP Exim ${version_number} \ \#${compile_number} ${tod_full} \n\ We do not authorize the use of this system to transport unsolicited, \n\ and/or bulk e-mail."
    Replace the above lines with these: smtp_banner = "${smtp_active_hostname}" smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/exim_banner_addresses}{$value}{$primary_hostname}}
    Save the changes, and restart Exim to see the results. You may also want to set the config file to read-only. Again, this is not an automatic solution. In addition to manually adding new mapping entries - you will likely need to verify updates to Exim don't also require config updates, or need to manually re-apply this patch from time to time. One could think cPanel would already support this along side their other dedicated IP functionality. cPanel is full of stuff like this though. I'd make a feature request but I don't feel like writing a short story to explain it, or waiting months or years for it to gain traction with the devs. I'll leave that to someone who's good at it.

    Thank you for the post. This should be implemented as standard! 100%
    0
  • crunchy
    Is this the cPanel recommended solution for fixing smtp banner error? Same issue here.
    0
  • cPanelAnthony
    Is this the cPanel recommended solution for fixing smtp banner error? Same issue here.

    While I can't officially recommend the suggestion in here, it does seem to be what users have been using to resolve the issue.
    0
  • cPRex Jurassic Moderator

    piticu81 - the whole point of this thread is to explain how the errors are actually a non-issue and are caused by the delay we introduce in the SMTP transaction in an effort to block spam.  You can find additional details in our updated article here:

    https://support.cpanel.net/hc/en-us/articles/360049402373-Some-3rd-party-testing-sites-report-issues-with-SMTP-Transaction-Time-on-cPanel-servers

    0
  • piticu81

    Yes but before was some foto that explain how fix and was work but now the theard was deleted o something

    0
  • cPRex Jurassic Moderator

    We are no longer recommending that people try and "fix" that so the article was removed.

    0

Please sign in to leave a comment.