{"id":5518,"date":"2022-01-14T06:51:46","date_gmt":"2022-01-14T12:51:46","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=5518"},"modified":"2022-01-21T07:44:45","modified_gmt":"2022-01-21T13:44:45","slug":"how-to-change-the-outgoing-mail-ip-in-directadmin","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/","title":{"rendered":"How to Change the Outgoing Mail IP in DirectAdmin?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #212121;color:#212121\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #212121;color:#212121\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#manually_managing_the_outgoing_ips_configuration\" >Manually Managing the Outgoing IPs Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#allowing_directadmin_to_manage_these_files\" >Allowing DirectAdmin to Manage These Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>Occasionally with reseller hosting, one client can cause problems if the accounts are not sufficiently isolated from one another. One such case is when one client becomes hacked with spam-sending malware and causes the outgoing mail IP to become blocked.<\/p>\n\n\n\n<p>The correct approach to take is to immediately do whatever it takes to stop the spam emails from being generated, clear the Exim queue of all spam emails waiting to be sent, identify all malicious code within the account, clean the account, and then properly secure the account so that no further attacks occur.<\/p>\n\n\n\n<p>If the attack is caught early, blacklisting typically doesn&#8217;t occur. However, if the attack continues, the mail-sending IP may become blacklisted and this will cause problems for all users on the server.<\/p>\n\n\n\n<p>To prevent the uncompromised accounts from suffering and being affected by the blacklisted IP while you work to clean and secure the compromised account and request delisting from the RBLs, one may consider placing the domains on separate mail IPs.<\/p>\n\n\n\n<p>Another scenario in which one may choose to do this is to separate a client that uses mailing lists or separate clients based on their packages and email limits\/restrictions.<br>Regardless of the case, this will require some configuration. This article outlines the steps needed for configuring this with a DirectAdmin server.<\/p>\n\n\n\n<p>First, let us understand <strong>how mailing works in the DirectAdmin?<\/strong><\/p>\n\n\n\n<p>DirectAdmin uses configuration which is noted in the following files and decides from which IP email should be sent,<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\/etc\/virtual\/domainips<\/strong><\/li><li><strong>\/etc\/virtual\/helo_data<\/strong><\/li><\/ul>\n\n\n\n<p>There are two types of configuration which you can make in the above files,<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Direct the DirectAdmin control panel to send emails through a specific IP address.<\/li><li>Let the DirectAdmin control panel send emails through an account-specific IP address.<\/li><\/ol>\n\n\n\n<p><strong><em>Let us check both the types of configuration,<\/em><\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"manually_managing_the_outgoing_ips_configuration\"><\/span>Manually Managing the Outgoing IPs Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By default, DirectAdmin sends all the outgoing emails through the primary IP address of the server, and this is managed by the configurable variables mentioned below and those are available in the DirectAdmin&#8217;s configuration file, i.e.,&nbsp;<em>\/usr\/local\/DirectAdmin\/conf\/DirectAdmin.conf<\/em>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#These are default variables available in the DirectAdmin.conf file.\n<strong>add_domain_to_domainips=0\ndomainips_default_ip=<\/strong><\/code><\/pre>\n\n\n\n<p>Let&#8217;s say that 1.2.3.4 is my secondary IP, and I want to use my secondary IP as my outgoing mail IP from now on. Currently, the domainips file doesn&#8217;t exist since domainips_default_ip= is empty in the DirectAdmin.conf file, and add_domain_to_domainips is set to 0. I want to manually manage which domains are sent from the primary and send all others from the secondary. I would <strong>create<\/strong> the <strong>domainips<\/strong> <strong>file<\/strong> with the following,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>*:1.2.3.4<\/strong><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"892\" height=\"512\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg\" alt=\"domainips enter new ipv4 for email service\" class=\"wp-image-5522\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg 892w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service-300x172.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service-768x441.jpg 768w\" sizes=\"(max-width: 892px) 100vw, 892px\" \/><\/figure>\n\n\n\n<p>To implement the changes, restart the exim by using following command,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>service exim restart<\/strong><\/code><\/pre>\n\n\n\n<p>Now, all the outgoing emails should be sent using the 1.2.3.4 IP address!<\/p>\n\n\n\n<p>For a more complex domain-IP setup with a fallback IP, a sample \/etc\/virtual\/domainips file will contain the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>*:1.2.3.4\ndomain.com:1.2.3.5\nother.com:1.2.3.5<\/strong><\/code><\/pre>\n\n\n\n<p>Where domain.com and other.com will use 1.2.3.5 and all other domains will use 1.2.3.4 upon an Exim restart.<\/p>\n\n\n\n<p>The helo can be configured similarly so that the Exim welcome headers are different depending on IP being connected to.<\/p>\n\n\n\n<p>A sample helo_data file based on the last example would be as follows,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>1.2.3.4:mail.domain.com\n1.2.3.5:mail.other.com<\/strong><\/code><\/pre>\n\n\n\n<p>The IPs on the left side must be unique unless add_domain_to_domainips is set to 2 in the directadmin.conf Wildcard for domainips with SpamBlocker.<\/p>\n\n\n<div class=\"kb-shortcode kb-shortcode_info\">\n                    <div class=\"kb-shortcode-icon\">\n                        <i class=\"fa fa-info-circle fa-2x\"><\/i>\n                    <\/div>\n                    <div class=\"kb-shortcode-content_info\">Whenever you make any changes in configuration files related to the mail server, you must restart the Exim using the <b>service exim restart<\/b> command.<\/div>\n                <\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"allowing_directadmin_to_manage_these_files\"><\/span>Allowing DirectAdmin to Manage These Files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You also have the option to allow DirectAdmin to manage these files, but this requires that each domain sends from its assigned IP (for any domain created with an IP that is not the server IP). The helo_data will only get owned IPs. This configuration requires the following directadmin.conf setting,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>add_domain_to_domainips=1<\/strong><\/code><\/pre>\n\n\n\n<p>You can also set a fallback IP. If you want to specify a different fallback IP other than your server IP, you can set in the directadmin.conf with the variable,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>domainips_default_ip=1.2.3.4<\/strong><\/code><\/pre>\n\n\n\n<p>You can use the following commands to configure this (be sure to replace 1.2.3.4 with the fallback IP you&#8217;d like to use),<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>\/usr\/local\/directadmin\/directadmin set add_domain_to_domainips 1\n\/usr\/local\/directadmin\/directadmin set domainips_default_ip 1.2.3.4  restart<\/strong><\/code><\/pre>\n\n\n\n<p>Now, you will need to have DirectAdmin rewrite these Exim configuration files since it will be managing them for you,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>echo \"action=rewrite&amp;value=domainips\" &gt;&gt; \/usr\/local\/directadmin\/data\/task.queue\necho \"action=rewrite&amp;value=helo_data\" &gt;&gt; \/usr\/local\/directadmin\/data\/task.queue<\/strong><\/code><\/pre>\n\n\n\n<p>Finally, confirm that data has been written to these files (these files do not exist by default) and restart Exim.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>service exim restart<\/strong><\/code><\/pre>\n\n\n<div class=\"kb-shortcode kb-shortcode_info\">\n                    <div class=\"kb-shortcode-icon\">\n                        <i class=\"fa fa-info-circle fa-2x\"><\/i>\n                    <\/div>\n                    <div class=\"kb-shortcode-content_info\">You may now be done configuring the domainips and helo_data files, but there are a few more essential considerations when it comes to the mail server&#8217;s overall configuration. You must now reconfigure your SPF and PTR records to ensure that they are set to use the correct IP(s)! If you have any questions about configuring them correctly, reference our email best practices or contact the support article.<\/div>\n                <\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now that we\u2019ve gone over how to change the outgoing mail IP address in the DirectAdmin control panel. You can change the IPv4 address as many times you want and make sure to restart the exim every time after you make any changes.<\/p>\n\n\n\n<p>KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you with requests should you need our assistance. You\u2019re not using KnownHost for the best webhosting experience? Well, why not? Check with&nbsp;<a href=\"https:\/\/www.knownhost.com\/contact\">our Sales team<\/a>&nbsp;to see what can&nbsp;<a href=\"https:\/\/www.knownhost.com\/\">KnownHost<\/a>&nbsp;do for you in improving your web hosting experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally with reseller hosting, one client can cause problems if the accounts are not sufficiently isolated from one another. One such case is when one client becomes hacked with spam-sending malware and causes the outgoing mail IP to become blocked. The correct approach to take is to immediately do whatever it takes to stop the [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[128,525,120,271],"class_list":["post-5518","post","type-post","status-publish","format-standard","hentry","category-directadmin","tag-directadmin","tag-ip","tag-mail","tag-spam"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change the Outgoing Mail IP in DirectAdmin? - KnownHost<\/title>\n<meta name=\"description\" content=\"Want to safeguard hostname IP address from getting blacklisted on RBLs? Learn, how to change the going mail IP in DirectAdmin control panel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change the Outgoing Mail IP in DirectAdmin? - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Want to safeguard hostname IP address from getting blacklisted on RBLs? Learn, how to change the going mail IP in DirectAdmin control panel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-14T12:51:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-21T13:44:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg\" \/>\n<meta name=\"author\" content=\"Somesh Z\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Somesh Z\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/\"},\"author\":{\"name\":\"Somesh Z\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"headline\":\"How to Change the Outgoing Mail IP in DirectAdmin?\",\"datePublished\":\"2022-01-14T12:51:46+00:00\",\"dateModified\":\"2022-01-21T13:44:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/\"},\"wordCount\":921,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/domainips-enter-new-ipv4-for-email-service.jpg\",\"keywords\":[\"directadmin\",\"ip\",\"mail\",\"spam\"],\"articleSection\":[\"DirectAdmin\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/\",\"name\":\"How to Change the Outgoing Mail IP in DirectAdmin? - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/domainips-enter-new-ipv4-for-email-service.jpg\",\"datePublished\":\"2022-01-14T12:51:46+00:00\",\"dateModified\":\"2022-01-21T13:44:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"description\":\"Want to safeguard hostname IP address from getting blacklisted on RBLs? Learn, how to change the going mail IP in DirectAdmin control panel.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/domainips-enter-new-ipv4-for-email-service.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/domainips-enter-new-ipv4-for-email-service.jpg\",\"width\":892,\"height\":512,\"caption\":\"domainips enter new ipv4 for email service\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-change-the-outgoing-mail-ip-in-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change the Outgoing Mail IP in DirectAdmin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\",\"name\":\"Somesh Z\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"caption\":\"Somesh Z\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change the Outgoing Mail IP in DirectAdmin? - KnownHost","description":"Want to safeguard hostname IP address from getting blacklisted on RBLs? Learn, how to change the going mail IP in DirectAdmin control panel.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/","og_locale":"en_US","og_type":"article","og_title":"How to Change the Outgoing Mail IP in DirectAdmin? - KnownHost","og_description":"Want to safeguard hostname IP address from getting blacklisted on RBLs? Learn, how to change the going mail IP in DirectAdmin control panel.","og_url":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/","og_site_name":"KnownHost","article_published_time":"2022-01-14T12:51:46+00:00","article_modified_time":"2022-01-21T13:44:45+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg","type":"","width":"","height":""}],"author":"Somesh Z","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Somesh Z","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/"},"author":{"name":"Somesh Z","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"headline":"How to Change the Outgoing Mail IP in DirectAdmin?","datePublished":"2022-01-14T12:51:46+00:00","dateModified":"2022-01-21T13:44:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/"},"wordCount":921,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg","keywords":["directadmin","ip","mail","spam"],"articleSection":["DirectAdmin"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/","url":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/","name":"How to Change the Outgoing Mail IP in DirectAdmin? - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg","datePublished":"2022-01-14T12:51:46+00:00","dateModified":"2022-01-21T13:44:45+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"description":"Want to safeguard hostname IP address from getting blacklisted on RBLs? Learn, how to change the going mail IP in DirectAdmin control panel.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/12\/domainips-enter-new-ipv4-for-email-service.jpg","width":892,"height":512,"caption":"domainips enter new ipv4 for email service"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/how-to-change-the-outgoing-mail-ip-in-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Change the Outgoing Mail IP in DirectAdmin?"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1","name":"Somesh Z","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","caption":"Somesh Z"}}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/5518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=5518"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/5518\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=5518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=5518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=5518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}