Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2010
    Posts
    6

    Default Sending HELO for different IPs

    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. #2
    Member
    Join Date
    Feb 2010
    Posts
    6

    Default

    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."

Similar Threads & Tags
Similar threads

  1. Why WHM >> Networking Setup >> Nameserver IPs is not showing the IPs
    By Isamtron in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-17-2010, 08:09 PM
  2. Sending mail from user's IP - Default HELO name?
    By santrix in forum E-mail Discussions
    Replies: 0
    Last Post: 02-07-2010, 12:21 PM
  3. Sending Email through Dedicated IPs and HELO
    By rking in forum E-mail Discussions
    Replies: 2
    Last Post: 03-07-2009, 11:55 AM
  4. Set 2 outgoing ips while sending mail for specific 2 domains
    By josesan311 in forum E-mail Discussions
    Replies: 0
    Last Post: 10-02-2008, 07:35 PM
  5. Replies: 6
    Last Post: 02-21-2008, 05:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube