{"id":92,"date":"2010-11-11T16:55:20","date_gmt":"2010-11-11T23:55:20","guid":{"rendered":"http:\/\/blog.d5.ca\/?p=92"},"modified":"2011-03-17T11:39:30","modified_gmt":"2011-03-17T17:39:30","slug":"enable-external-mail-on-ubuntu","status":"publish","type":"post","link":"https:\/\/blog.d5.ca\/?p=92","title":{"rendered":"Enable External Mail on Ubuntu"},"content":{"rendered":"<p>First, install the appropriate packages:<\/p>\n<pre style=\"margin: 5px 5px 5px 30px; padding: 5px; border: 1px solid\">sudo apt-get install mailutils<\/pre>\n<p>Configure Exim for external mail:<\/p>\n<pre style=\"margin: 5px 5px 5px 30px; padding: 5px; border: 1px solid\">sudo dpkg-reconfigure exim4-config<\/pre>\n<p>Options:<\/p>\n<ul>\n<li>mail sent by smarthost; no local mail<\/li>\n<li><em>FQDN of the system<\/em><\/li>\n<li>127.0.0.1\u00a0 <em>(This will prevent external use of the server to send mail.)<\/em><\/li>\n<li>localhost; <em>hostname<\/em><\/li>\n<li><em>FQDN of the system<\/em><\/li>\n<li><em>External (ISP) SMTP server<\/em><\/li>\n<li><em>Dial-on-Demand?<\/em> No<\/li>\n<li><em>Split config?<\/em> No<\/li>\n<li>Root\/postmaster recipient: <em>(enter the email address you wish to receive messages sent to root\/postmaster on the system).<\/em><\/li>\n<\/ul>\n<p>The root\/postmaster recipient is stored in \/etc\/aliases<\/p>\n<p>The Exim configuration is stored in \/etc\/exim4\/update-exim4.conf.conf.\u00a0 To apply configuration manually changed in this file, run:<\/p>\n<pre style=\"margin: 5px 5px 5px 30px; padding: 5px; border: 1px solid\">sudo update-exim4.conf\r\nsudo \/etc\/init.d\/exim4 restart<\/pre>\n<p>Actual Exim configuration is stored in \/var\/lib\/exim4\/config.autogenerated. Don&#8217;t edit this file directly.<\/p>\n<p>This was tested on Ubuntu 10.04 (Lucid)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, install the appropriate packages: sudo apt-get install mailutils Configure Exim for external mail: sudo dpkg-reconfigure exim4-config Options: mail sent by smarthost; no local mail FQDN of the system 127.0.0.1\u00a0 (This will prevent external use of the server to send mail.) localhost; hostname FQDN of the system External (ISP) SMTP server Dial-on-Demand? No Split config? [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[25],"tags":[11,19],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-reference","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=92"}],"version-history":[{"count":8,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions\/156"}],"wp:attachment":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}