{"id":1754,"date":"2015-01-30T22:27:25","date_gmt":"2015-01-30T22:27:25","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=1754"},"modified":"2015-01-30T22:27:25","modified_gmt":"2015-01-30T22:27:25","slug":"configure-exim-send-outgoing-mail-accounts-dedicated-ip-address","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/01\/30\/configure-exim-send-outgoing-mail-accounts-dedicated-ip-address\/","title":{"rendered":"Configure Exim to send outgoing mail with each account&#8217;s dedicated IP address"},"content":{"rendered":"<p>To enable WHM to automatically configure Exim to send mail from each domain&#8217;s dedicated IP address, perform the following steps:<br \/>\nYou must have root user privileges on the server to configure Exim in this way.<\/p>\n<p>If you manage the rDNS for your IP addresses, modify the rDNS for the IP address of each domain so that it points to that domain. If you do not manage the rDNS for your IP addresses, contact the owner of the IP addresses and request that they modify the rDNS for each IP address to point to each domain. <\/p>\n<p>An incorrect rDNS configuration may cause mail servers to reject your server&#8217;s mail.<\/p>\n<p>Enable the  Send mail from account&#8217;s dedicated IP address option in WHM&#8217;s Exim Configuration Manager interface (Home >> Service Configuration >> Exim Configuration Manager).<\/p>\n<p>If you select this option, cPanel &#038; WHM uses the \/usr\/local\/cpanel\/scripts\/updateuserdomains script to automatically configure Exim, and overrides any manual changes in the following files:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n\/etc\/mailhelo\n\/etc\/mailips\n\/etc\/mail_reverse_dns  \n\n<\/pre>\n<p><strong>How to manually configure Exim&#8217;s outgoing IP addresses<\/strong><\/p>\n<p>To use a custom Exim configuration, enable the following options in WHM&#8217;s Exim Configuration Manager &#8211; Basic Editor interface (Home >> Service Configuration >> Exim Configuration Manager):<\/p>\n<p>Reference \/etc\/mailhelo for outgoing SMTP HELO<br \/>\nReference \/etc\/mailips for outgoing SMTP connections<br \/>\nThe \/etc\/mailhelo file<\/p>\n<p>The \/etc\/mailhelo file contains Exim&#8217;s configuration for the HELO command. Exim uses the HELO command to initiate dialog between a mail server and a client. This file governs which domain should send the HELO command.<br \/>\nTo create the \/etc\/mailhelo file, use a text editor such as nano, vi, or vim.<br \/>\nThe following is example content of a \/etc\/mailhelo file:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nexample.com: example.com\nsub.example.com: example.com\nexample.net: example.net\naddon.example.net: example.net\n*: hostname.example.com \n\n<\/pre>\n<p>The \/etc\/mailips file<br \/>\nThis file controls the IP address from which each domain should send mail. Your file should be similar to the following example:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nexample.com: 192.168.0.2\nsub.example.com: 192.168.0.2\nexample.net: 192.168.0.3\naddon.example.net: 192.168.0.3\n*: 192.168.0.1\n\n<\/pre>\n<p>In the example above, the system will use the asterisk (*) entry  to direct outbound mail for domains without entries within this file. In this case, this is your server&#8217;s main shared IP address. You can set it to another IP address if you ensure that the asterisk entry in the \/etc\/mailhelo file has the appropriate domain name.<\/p>\n<p>Be sure to use only valid IP addresses that are publicly accessible via the Internet.<\/p>\n<p>The \/etc\/mail_reverse_dns file<br \/>\nThis file controls the domains that are associated with the IP addresses from which mail should send. Your file should be similar to the following example:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n192.168.0.2: example.com\n192.168.0.2: sub.example.com\n192.168.0.3: example.net\n192.168.0.3: addon.example.net\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To enable WHM to automatically configure Exim to send mail from each domain&#8217;s dedicated IP address, perform the following steps: You must have root user privileges on the server to configure Exim in this way. If you manage the rDNS for your IP addresses, modify the rDNS for the IP address of each domain so &#8230; <a title=\"Configure Exim to send outgoing mail with each account&#8217;s dedicated IP address\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/01\/30\/configure-exim-send-outgoing-mail-accounts-dedicated-ip-address\/\" aria-label=\"Read more about Configure Exim to send outgoing mail with each account&#8217;s dedicated IP address\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,123],"tags":[],"class_list":["post-1754","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-whm"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1754"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1754\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}