{"id":274,"date":"2009-03-13T17:31:43","date_gmt":"2009-03-13T21:31:43","guid":{"rendered":"http:\/\/www.officecafe.com\/blog\/?p=274"},"modified":"2009-05-04T10:02:42","modified_gmt":"2009-05-04T14:02:42","slug":"freebsd-postfix-dovecot-mysql-virtual-domains","status":"publish","type":"post","link":"https:\/\/www.officecafe.com\/blog\/2009\/03\/freebsd-postfix-dovecot-mysql-virtual-domains\/","title":{"rendered":"FreeBSD-Postfix-Dovecot-MySQL-Virtual Domains"},"content":{"rendered":"<p>I used this <a href=\"http:\/\/www.purplehat.org\/?page_id=4\"><strong>HOWTO<\/strong><\/a> to build a mail server (I did it within a FreeBSD jail, but that&#8217;s a completely different discussion). The instructions are complete and I got the server working relatively easily.<\/p>\n<p>I would suggest that before you start the HOWTO, that you install the following on your mail server first:<\/p>\n<ul>\n<li>FreeBSD Ports<\/li>\n<li>OpenSSL<\/li>\n<li>OpenSSH<\/li>\n<li>NTP<\/li>\n<\/ul>\n<p>The PORTS system makes installation a breeze. OpenSSL is necessary if you want to send your passwords over an SSL connection to your web server (I highly recommend this). OpenSSH comes with a few client utilities that are worth having on your system (like the ability to create an encrypted password). NTP will keep your system clock up to date.<\/p>\n<p>I had two problems with the setup (which were of my own making):<\/p>\n<ol>\n<li>Although I used the cut-and-paste method for much of the configuration, I was somehow still able to inject a few typo&#8217;s into the configuration files. Yeah&#8230; try to chase those down. Not fun.<\/li>\n<li>Somewhat related, I attempted to tell my Mail application that the host server was the virtual domain name. Again, this falls under the category of typographical error. (I told Mail to look for the mail at: mailhost.virtualdomain.tld rather than mailhost.myrealserver.tld. It took me a few hours to figure this one out. Ouch).<\/li>\n<\/ol>\n<p>So my thanks go out to the <a href=\"http:\/\/www.purplehat.org\"><strong>PurpleHat Organization<\/strong><\/a> for a clear HOWTO for creating a mail server on FreeBSD with Postfix, Dovecot, MySQL, SpamAssassin, etc. with Virtual Domains administered with PostfixAdmin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I used this HOWTO to build a mail server (I did it within a FreeBSD jail, but that&#8217;s a completely different discussion). The instructions are complete and I got the server working relatively easily. I would suggest that before you start the HOWTO, that you install the following on your mail server first: FreeBSD Ports [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[15,8],"tags":[],"class_list":["post-274","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-tutorial"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfpK7-4q","_links":{"self":[{"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/posts\/274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/comments?post=274"}],"version-history":[{"count":7,"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":303,"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/posts\/274\/revisions\/303"}],"wp:attachment":[{"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/media?parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/categories?post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.officecafe.com\/blog\/wp-json\/wp\/v2\/tags?post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}