<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>ServerMinsky</title><revhistory><revision><revnumber>11</revnumber><date>2018-04-24 15:19:05</date><authorinitials>ClintonEbadi</authorinitials><revremark>dns cache options, djbdns dncache is too annoying to use on stretch</revremark></revision><revision><revnumber>10</revnumber><date>2018-04-24 05:54:40</date><authorinitials>ClintonEbadi</authorinitials><revremark>imap features we might be able to enable</revremark></revision><revision><revnumber>9</revnumber><date>2018-04-24 05:11:24</date><authorinitials>ClintonEbadi</authorinitials><revremark>courier setup notes</revremark></revision><revision><revnumber>8</revnumber><date>2018-04-24 04:04:45</date><authorinitials>ClintonEbadi</authorinitials><revremark>spamd needs some additional work</revremark></revision><revision><revnumber>7</revnumber><date>2018-04-24 03:02:35</date><authorinitials>ClintonEbadi</authorinitials><revremark>zen.spamhaus.org is ok, but other dns blacklists are blocking requests from do nameservers</revremark></revision><revision><revnumber>6</revnumber><date>2018-04-23 23:06:48</date><authorinitials>ClintonEbadi</authorinitials><revremark>get-token wasn't working, but has been fixed</revremark></revision><revision><revnumber>5</revnumber><date>2018-04-23 06:07:28</date><authorinitials>ClintonEbadi</authorinitials><revremark>a few things to look at before putting into production</revremark></revision><revision><revnumber>4</revnumber><date>2018-04-23 05:10:27</date><authorinitials>ClintonEbadi</authorinitials><revremark>fixed mailNodes_admin spam filtering, but sa doesn't regen...</revremark></revision><revision><revnumber>3</revnumber><date>2018-04-23 04:37:44</date><authorinitials>ClintonEbadi</authorinitials><revremark>more exim/domtool weirdness, fixed spamd args</revremark></revision><revision><revnumber>2</revnumber><date>2018-04-23 04:04:32</date><authorinitials>ClintonEbadi</authorinitials></revision><revision><revnumber>1</revnumber><date>2018-04-22 21:28:03</date><authorinitials>ClintonEbadi</authorinitials><revremark>new mail server minsky</revremark></revision></revhistory></articleinfo><para><code>minsky.hcoop.net</code> is a virtual machine at <ulink url="https://wiki.hcoop.net/ServerMinsky/DigitalOcean#">DigitalOcean</ulink> that will become our primary mail server, and replaces <ulink url="https://wiki.hcoop.net/ServerMinsky/ServerMcCarthy#">ServerMcCarthy</ulink> </para><para>It is named after professor <ulink url="https://en.wikipedia.org/wiki/Marvin_Minsky">Marvin Minsky</ulink>. </para><section><title>Setup Notes</title><para>Similar issues as <ulink url="https://wiki.hcoop.net/ServerMinsky/ServerMarsh#">ServerMarsh</ulink>: </para><itemizedlist><listitem><para>had to manually add &quot;domain hcoop.net&quot; to resolv.conf </para></listitem><listitem><para>had to open puppetserver port 8140 (bootstrap problem: new server can't connect to the puppetserver to request a cert, so it can't add its ip to the whitelist...) </para></listitem><listitem><para>Default /etc/hosts is no good, sets marsh to loopback, with no ipv6. Had to munge like <ulink url="https://wiki.hcoop.net/ServerMinsky/ServerGibran#">ServerGibran</ulink> to public IP and add IPv6 alias. Really need to look deeper into this before perpetuating bad practice even further. </para></listitem></itemizedlist></section><section><title>TODO</title><itemizedlist><listitem><para>courier </para></listitem><listitem><para>ejabberd </para></listitem></itemizedlist></section><section><title>SpamAssassin</title><itemizedlist><listitem><para>make sure firewall allows spamd to contact external services </para><itemizedlist><listitem><para>everything is closed currently, so likely needs to be updated </para></listitem><listitem><para>Not sure if sa-update works either </para></listitem></itemizedlist></listitem><listitem><para>we don't have a dns cache enabled, do we need one to avoid annoying zen.spamhaus.org ? </para><itemizedlist><listitem><para><ulink url="https://www.spamhaus.org/organization/dnsblusage/"/> zen has 100k message / 300k lookup per day ... something we will not hit for a long time </para></listitem><listitem><para>but also <ulink url="http://uribl.com/refused.shtml">upstream dns servers are blocked from URIBL</ulink> so we may need one anyway </para></listitem><listitem><para><ulink url="https://wiki.apache.org/spamassassin/CachingNameserver"/> check unbound or powerdns, to avoid complications with bind since we have authoritative nameservers using it too </para></listitem></itemizedlist></listitem></itemizedlist></section><section><title>Exim</title><itemizedlist><listitem><para>Exim is not configured to forward mailman mail to mccarthy </para></listitem><listitem><para>Exim can't lookup addresses if there are no vmail users present </para><itemizedlist><listitem><para>This makes <code>mailNodes_admin</code> not work. </para></listitem></itemizedlist></listitem><listitem><para>spamassassin addrs are only updated when someone toggle their status with <code>setsa</code>, this needs to also happen during a <code>domtool-admin regen</code> </para></listitem></itemizedlist></section><section><title>Courier</title><itemizedlist><listitem><para>/etc/pam.d/imap from <ulink url="https://wiki.hcoop.net/ServerMinsky/ServerMcCarthy#">ServerMcCarthy</ulink> was not included, works for normal accounts so far </para><itemizedlist><listitem><para>need to test vmail accounts, IIRC that is why we had to disable pags for courier </para></listitem></itemizedlist></listitem><listitem><para>IMAP THREAD/SORT are disabled -- should we enable them? </para><itemizedlist><listitem><para>Likewise for a few other settings we intentionally disable (e.g. keywords), review if any can be / are worth enabling while server is in testing phase </para></listitem></itemizedlist></listitem></itemizedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="https://wiki.hcoop.net/ServerMinsky/CategorySystemAdministration#">CategorySystemAdministration</ulink> </para></section></article>