{"id":32,"date":"2022-03-05T22:24:25","date_gmt":"2022-03-06T04:24:25","guid":{"rendered":"https:\/\/blog.carlos1001.com\/?p=32"},"modified":"2022-03-05T22:24:25","modified_gmt":"2022-03-06T04:24:25","slug":"resurrecting-the-old-postfix-server-part-1","status":"publish","type":"post","link":"https:\/\/blog.carlos1001.com\/?p=32","title":{"rendered":"Resurrecting the Old Postfix Server Part 1"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">For a while, my home mail server has been broken; that is, ever since I decided to install ESXI and virtualize everything, I never bothered to fix the mail server. Moreover, I also migrated away from Cent OS 7 to either Ubuntu 20.04 LTS or Rocky Linux 8. Ubuntu came first before Rocky Linux 8 was available. I didn&#8217;t count Cent OS 8. The result was a collection of broken config files that I had to migrate over and inspect to make sure the config wasn&#8217;t broken, or worse, permissive to the point of allowing hackers to use my lab for cyber attacks. Thankfully, some things were easier to migrate than others; the BIND config was just a copy and paste operation mostly, but other things, like the Strongswan IPSec configuration required complete restructuring.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This resulted in several services that are not critical to nominal internet access at the house being shelved indefinitely because of a combination of school and other things that would keep me from migrating everything to the new configuration. Another important point that is relevant to mail servers is that I used to route my smtp traffic through an smtp relay because my old ISP would block port 25, and I had a dynamic IP assignment. To clarify port 25 is still used to communicate between smtp servers; this is not referring to e-mail clients like Thunderbird or Outlook that can talk SMTP over port 465 or 587.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, my old ISP is history now. I migrated to a gigabit shared fiber link, and also got my hands on a \/29 address block. In other terms, I have 5 static host addresses to play with in my lab environment. So far, I am using 4 addresses for things like a TOR relay and the like, which means that I have one more address available for configurating the mail server. Port 25 is blocked, but it can thankfully be unblocked if I say the right things to customer service; I&#8217;m not entirely sure on that statement until I actually try it, however.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next up in part 2, I will explain my experience resurrecting the mail server without using any SMTP relays as I find more time to piece together the old postfix and dovecot config files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a while, my home mail server has been broken; that is, ever since I decided to install ESXI and virtualize everything, I never bothered to fix the mail server. Moreover, I also migrated away from Cent OS 7 to either Ubuntu 20.04 LTS or Rocky Linux 8. Ubuntu came first before Rocky Linux 8 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":2,"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":34,"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/34"}],"wp:attachment":[{"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.carlos1001.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}