Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge rking's Avatar
    Join Date
    Aug 2005
    Posts
    188

    Default Sending Email through Dedicated IPs and HELO

    We've enabled the cPanel option to send email through a client's dedicated IP if they have one. The feature works, but the HELO that is broadcast during an SMTP connection is still showing the server's hostname and main shared IP.

    IIRC, we were able to get this to work properly back when we had to custom mod EXIM for this option by adding this:

    Code:
    primary_hostname = theshared.serverhostname.com
    smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/ip_hostnames}{$value}{$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."
    into the Advanced EXIM settings section for cPanel. I imagine with a little tweaking we could now use that code and mail_reverse_dns to do the same.

    Was wondering if there is a cPanel option to achieve this rather than custom moding EXIM.

    For completeness, the domain in question is correctly listed in /etc/mail_reverse_dns and /etc/mailips and they have correct RDNS resolution. Their DNS is also correctly pointing to their dedicated IP.

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    28

    Default Sending outgoing mail from client's dedicated IP

    Just FYI: this will work for mail originating from the server, either from webmail or SMTP connection, but does not work for forwarders. Forwarded mail will still be sent out using the shared server IP, not the client's dedicated IP.

    I wish there were a way that mail forwarders could send mail out using the shared server IP, but I've been told that's not possible.

  3. #3
    Member
    Join Date
    Oct 2007
    Posts
    24

    Default

    I'm trying to get this same thing figured out. My email is being rejected by some servers as a 'forged helo' because it is sending out the dedicated IP and domain in the helo, but also the main/shaired IP, and therefore it is being seen as a 'forged HELO'.

    In my case, I am using sendmail (vBulletin) and don't have phpsuexec enabled. That might be the issue in my case. I'm not sure.

Similar Threads & Tags
Similar threads

  1. Helo=PcName In Email Headers
    By defiler in forum E-mail Discussions
    Replies: 0
    Last Post: 11-22-2010, 03:08 PM
  2. Sending HELO for different IPs
    By ukzembla in forum E-mail Discussions
    Replies: 1
    Last Post: 03-03-2010, 08:54 AM
  3. Sending mail from user's IP - Default HELO name?
    By santrix in forum E-mail Discussions
    Replies: 0
    Last Post: 02-07-2010, 01:21 PM
  4. sending email from dedicated IP
    By BigLebowski in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-06-2008, 08:54 AM
  5. DNS and Email HELO
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-13-2006, 10:33 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube