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!

/etc/mailhelo based primary host name in smtp transaction

Discussion in 'E-mail Discussion' started by ceynet, Apr 12, 2012.

  1. ceynet

    ceynet Member

    Joined:
    Dec 30, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    hi all,
    in the following smtp transaction, i have managed to customize the banner based on the domain (using /etc/mailips and /etc/mailhelo and bit of advance editor code)

    the primary host name is "prihst2.troublemaker.com". when i telnet or test using mxtoolbox, i see the primary host name appear in the smtp transaction after the EHLO.

    what i want is to replace the primary host name with the proper hostname from the mailhelo file.

    could some one pass me some resources or workarounds.

    thanks

    ~viks

    when i "telnet mx.klm.com 25"..

    Connected to mx.klm.com.
    Escape character is '^]'.
    220 mx.klm.com ESMTP Thu, 12 Apr 2012 06:01:47 +0000
    EHLO
    250-prihst2.troublemaker.com Hello [xxx.xxx.xxx.xx]
    250-SIZE 52428800
    250-PIPELINING
    250-STARTTLS
    250 HELP
    421 prihst2.troublemaker.com: SMTP command timeout - closing connection Connection closed by foreign host.
     
  2. ceynet

    ceynet Member

    Joined:
    Dec 30, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    is it helo_data which i have to edit?
     
  3. ceynet

    ceynet Member

    Joined:
    Dec 30, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    i have the /etc/mailhelo and domains in it, but why it does pick the primary host name all the time?

    anybody? from cpanel?

     
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