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!

Sending HELO for different IPs

Discussion in 'E-mail Discussion' started by ukzembla, Mar 2, 2010.

  1. ukzembla

    ukzembla Member

    Joined:
    Feb 9, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    I'm having trouble getting the correct HELO response from my server, which always identifies itself as vps.serverdomain.com regardless of what I do.

    I've checked "Send HELO based on the domain name in /etc/mailhelo" and "Send outgoing mail from the ip that matches the domain name in /etc/mailips", edited both of those files and restarted exim, but no banana.

    /etc/mailhelo contains:

    newdomain.com: newdomain.com
    otherdomain.com: otherdomain.com
    *: vps.serverdomain.com

    and /etc/mailips contains:
    newdomain.com: ##.#.#.172
    otherdomain.com: ##.#.#.174
    *: ##.#.#.169

    where each of the IPs has rDNS set up correctly.

    What, if anything, am I doing wrong?

    Thanks,

    Alex
     
  2. ukzembla

    ukzembla Member

    Joined:
    Feb 9, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    In case it helps anyone, I added this to the top box of the advanced exim config editor and it now works fine:

    primary_hostname = vps.domain.com
    smtp_active_hostname = ${if exists {/etc/mailhelo}{${lookup{$interface_address}lsearch{/etc/mail_reverse_dns}{$value}{$primary_hostname}}}{$primary_hostname}}
    smtp_banner = "${smtp_active_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."
     
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