{"id":33,"date":"2005-02-27T07:10:00","date_gmt":"2005-02-27T07:10:00","guid":{"rendered":"http:\/\/www.noidea.us\/wordpress\/?p=33"},"modified":"2005-02-27T07:10:00","modified_gmt":"2005-02-27T07:10:00","slug":"work-in-progress-updated","status":"publish","type":"post","link":"http:\/\/www.noidea.us\/wordpress\/2005\/02\/work-in-progress-updated\/","title":{"rendered":"Work in progress &#8211; UPDATED"},"content":{"rendered":"<p><![CDATA[<b>Updated 27 Feb 2005:<\/b> Grrr&#8230;I got the two Shuttle boxes (SV24 and SV25), only to discover that both have blown motherboards and power supplies.  I&#8217;m working on the means to get them in usable order, but it&#8217;s going to take some fundage that I don&#8217;t currently have&#8230;.can anyone help?<br \/>\n\n\n<hr \/>\n\n<br \/>\n<b>UPDATED 12 FEB 2005:<\/b> I know people are waiting on this document!  Gomennasai&#8230;but I will hopefully be much closer after this weekend.  I should be picking up two shuttle systems this weekend, one of which will be my new mail server.  I will be using this to finalize all the steps I will take to make this document finally useful.<br \/>\n\n\n<p>\n\n<p>\nI have Amavisd-new, SpamAssassin,ClamAV and Maia Mailguard all running now.  I still need to get Mailman list manager tested and Squirrelmail running on https, but I promise!  it&#8217;s getting closer!\n\n\n\n\n<hr \/>\n\n<br \/>\n<b>UPDATED 13 OCT 2004:<\/b> getting closer!  See the bottom for the newest info&#8230;<br \/>\n\n\n<hr \/>\n\n<br \/>\n<i> Wednesday, September 29 2004 @ 12:02 AM CDT<br \/> Just a little heads-up&#8230;I&#8217;m currently working on a test mail server, incorporating Fedora Core 1, Postfix, Dovecot Imap, fetchmail, amavisd, and Maia Mailguard, with full SSL and virtual domain\/user support tied into a MySQL database.<\/i><br \/>\n\n\n<hr \/>\n\n<br \/>\n<i>Like the title says, it&#8217;s a work in progress, so I don&#8217;t have a whole lot to give you yet, but I do have some success:<br \/>\n\n\n<ol>\n\n\n<li>Postfix is working to receive mail to users who only exist in the MySQL database.<br \/>\n\n\n<li>Dovecot will authenticate users via SSL, logging into the database.<br \/>\n\n\n<li>I can perform all IMAP functions with Dovecot and Mozilla Thunderbird as the client.<br \/>\n\n\n<li> I had to build custom RPMS for Postfix and Dovecot to incorporate the features I wanted (and remove Postgres support from Dovecot&#8230;grrrr)<br \/>\n<\/ol>\n\n\n\n\nStill to come:<br \/>\n\n\n<ol>\n\n\n<li>Installing and setting up Amavis, SpamAssassin, and ClamAV, and tying it into Maia Mailguard for per-user configuration.<br \/>\n\n\n<li>Setting up Fetchmail to POP several external accounts.<br \/>\n\n\n<li>Setting up name-based virtual hosting on Apache2.<br \/>\n\n\n<li>Probably other issues as they come up.<br \/>\n\n\n<li>Writing up coherent documentation on the process.<br \/>\n<\/ol>\n\n<br \/>\nDoesn&#8217;t sound like much, really, but it&#8217;s been a big accomplishment for me so far, especially considering how badly certain applications (*cough*dovecot*cough*) are documented.  To be fair, it is a fairly new app, and the userbase is not what it could be (many people sticking with Courier and Cyrus out of familiarity, I&#8217;m sure).  I&#8217;m going to attempt to do my part by creating documentation on the process here, so others can benefit from my experimentation.<br \/>\n\n\n<p>\nI&#8217;ll be writing up a static document for this site once everything is in place, so be watching for it!<\/i><br \/>\n\n\n<p>\n\n<hr \/>\n\n\n\n<p>\n<b>UPDATE 13 OCT 2004:<\/b>\n\n\nProcess\/Progress<br \/>\n\n\n<p>\nRequirements:<br \/>\n\n\n<ul>\n\n\n<li>SMTP-AUTH<br \/>\n\n\n<li>IMAPS<br \/>\n\n\n<li>all auth to sqldb<br \/>\n\n\n<li>anti-spam<br \/>\n\n\n<li>antivirus<br \/>\n\n\n<li>web managable<br \/>\n\n\n<li>virtual domain hosting<br \/>\n\n\n<li>per-user config for antispam<br \/>\n<\/ul>\n\n<br \/>\n\n\n<p>\nImplementation:<br \/>\n<uL><br \/>\n\n\n<li>Fedora Core 1<br \/>\n\n\n<li>MySQL 3.23.58<br \/>\n\n\n<li>Postfix 2.1.5 w\/ pcre, MySQL, sasl2, tls, vda support<br \/>\n\n\n<li>Dovecot 0.99.11 with MySQL support<br \/>\n\n\n<li>Maildir-formatted mailboxes<br \/>\n<\/uL><br \/>\n\n\n<p>\nDone and Notes:<br \/>\n\n\n<ul>\n\n\n<li>OS &#8211; Fedora Core 1 and updates<br \/>\n\n\n<li>MySQL<br \/>\n\n\n<li>Postfix<br \/>\n  \n\n<ul>\n  \n\n<li>set up SMTP via SASL\/Pam for auth over TLS.<br \/>\n  \n\n<li>Requires Pam-mysql 0.5 module<br \/>\n  \n\n<li>User passwords in db must be in MySQL-Crypt format<br \/>\n  \n\n<li>Maildir mailbox format in \/home\/postbox\/%domain\/%name\/<br \/>\n  <\/ul>\n\n<br \/>\n\n\n<li>Dovecot<br \/>\n\n\n<ul>\n  \n\n<li>configured to only offer IMAPS for encrypted comms<br \/>\n  \n\n<li>User passwords in DB must be in PLAIN-MD5 format<br \/>\n<\/ul>\n\n<br \/>\n\n\n<li>PostfixAdmin<br \/>\n  \n\n<ul>\n  \n\n<li>Web interface for virtual domains in Postfix<br \/>\n  \n\n<li>can set passwords in several formats. Set to md5crypt.<br \/>\n  \n\n<li>added new &#36;CONF[&#8216;postfix_smtp_pw&#8217;] set to mysql crypt for smtp-auth<br \/>\n  <\/ul>\n\n<br \/>\n\n\n<li>PHPMyAdmin<br \/>\n  \n\n<ul>\n  \n\n<li>MySQL administrator for the web.<br \/>\n  \n\n<li>simplified testing password crypt methods.<br \/>\n  <\/ul>\n\n<br \/>\n<\/ul>\n\n<br \/>\n\n\n<p>\nToDo:<br \/>\n\n\n<ul>\n\n\n<li>Amavis\/SpamAssassin\/ClamAV<br \/>\n\n\n<li>Maia Mailguard<br \/>\n\n\n<li>Fetchmail (for POPping external mailboxes)<br \/>\n\n\n<li>Squirrelmail webmail client<br \/>\n<\/ul>\n\n]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updated 27 Feb 2005: Grrr&#8230;I got the two Shuttle boxes (SV24 and SV25), only to discover that both have blown motherboards and power supplies. I&#8217;m working on the means to get them in usable order, but it&#8217;s going to take some fundage that I don&#8217;t currently have&#8230;.can anyone help? UPDATED 12 FEB 2005: I know [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":0,"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.noidea.us\/wordpress\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}